locked nginx+vpp with epoll pattern failed #epoll #vpp #ngnix


fjcyue@...
 

We use vpp as tcp protocol stack to work with nginx in epoll pattern, but nginx cannot get epollout event.
When we use sendfile pattern, it can transfer file completely. However, if we use aio pattern, nginx cannot get epollout event, and the file cannot be transferred completely.
Meanwhile, the process hangs.

When we use nginx with kernel tcp protocol stack, it can work normally.
Now, we want to know if vpp can work with nginx.
 


Florin Coras
 

Hi,

It’s not clear from your email if you’re trying it out with ldp or directly with vcl.

If you’re trying a direct integration with vcl, note that vcl epoll is edge triggered, so you must read all data before waiting for another rx event.

Florin

On Jul 22, 2019, at 7:32 PM, fjcyue@... wrote:

We use vpp as tcp protocol stack to work with nginx in epoll pattern, but nginx cannot get epollout event.
When we use sendfile pattern, it can transfer file completely. However, if we use aio pattern, nginx cannot get epollout event, and the file cannot be transferred completely.
Meanwhile, the process hangs.

When we use nginx with kernel tcp protocol stack, it can work normally.
Now, we want to know if vpp can work with nginx.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13542): https://lists.fd.io/g/vpp-dev/message/13542
Mute This Topic: https://lists.fd.io/mt/32566351/675152
Mute #epoll: https://lists.fd.io/mk?hashtag=epoll&subid=1480544
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480544
Mute #ngnix: https://lists.fd.io/mk?hashtag=ngnix&subid=1480544
Group Owner: vpp-dev+owner@...
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.lists@...]
-=-=-=-=-=-=-=-=-=-=-=-