On Tue, Dec 4, 2012 at 3:38 PM, Gunnlaugur Þór Briem
<[email protected]> wrote:

[...]

> If the pipe were working correctly, we ought to see 24 messages, with all
> byte counts 1030 up to 1041 and then 1041 back down to 1030. Most of them
> seem to get snatched by the evil pipe dragons.

... i meant to ask for your ulimit values as well, but i see now that
you've already provided them :)

512 seems pretty small to me; it should be noted that the default pipe
buffer on Linux is 8x larger.

alas, it seems the stdout pipe buffer is filling faster than uWSGI is
emptying it for whatever reason... uWSGI calls `setlinebuf(stdout)` at
core/uwsgi.c:1736, *unconditionally* setting stdout to line buffered
-- maybe try removing this line, or setting to
unbuffered/fully-buffered -- as python apparantly attempts a
non-blocking write, full-buffered via libc (vs. kernel/native) might
be necessary.

^^^^^ hopefully this is somewhat accurate, i'm somewhat new to lower-level devel

-- 

C Anthony
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to