Aha, thanks!  :)  Is it worth putting this somewhere in the documentation?

Cheers,

John


On Fri, Nov 1, 2013 at 1:37 AM, Roberto De Ioris <[email protected]> wrote:

>
> > I'm running the following snippet of code:
> >
> > @uwsgidecorators.mulefunc(1)
> > def foo():
> >   ...
> >
> > When I invoke foo() at a sufficiently high rate, I get the following
> > error:
> >
> > *** MULE MSG QUEUE IS FULL: buffer size 124928 bytes (you can tune it
> with
> > --signal-bufsize) ***
> >
> > However, passing a larger buffer size via the --signal-bufsize option has
> > no effect;  I still get identical errors (including the "buffer size
> > 124928
> > bytes").
> >
> > From a quick look at the uwsgi source code, it looks like
> --signal-bufsize
> > is doing the right thing.  Could you advise on any other approaches?
> >
> > Kind regards,
> >
> > John
> > _______________________________________________
> > uWSGI mailing list
> > [email protected]
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >
>
> You need kernel tuning too to increase socket bufsize:
>
> /proc/sys/net/core/wmem_max
> /proc/sys/net/core/rmem_max
>
> http://man7.org/linux/man-pages/man7/socket.7.html
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to