>
>
> By "occasionally" you mean that you cannot reproduce the error
> programmatically ?
>

> If it so you should post to the list the uWSGI server loglines. Can you try
> the alternative
> mod_Ruwsgi in the mercurial repository ?
>
> --
> Roberto De Ioris
> http://unbit.it
> JID: [email protected]
>
>
>
Actually I just use the app that simply returns json string {"foo": "bar"}
for testing as what I did at the beginning. I wrote the following shell
script for this testing.

i=1
while [ "$i" -le 50 ]
do
    wget -qO- --post-data='foo=bar' 'http://myhost.mydomain:18899/script'
    echo ""
    i=$((i + 1))
done

As you see the data posted to the app are "foo=bar". The testing result
shows that at least one 500 is returned on every 10 requests. "uwsgi: recv()
Connection reset by peer" will appear in error_log while 500 is returned.

And I've tried the mod_Ruwsgi in 0.9.6 release package. Apache is configured
like

uWSGImount /script 127.0.0.1:7799

I still use the same method for testing. The result is, {"foo": "bar"}
string is successfully returned for every request, but "uwsgi: recv()
Connection reset by peer" appears in error_log for every request, and
"SIGPIPE: writing to a closed pipe/socket/fd !!! write(): Broken pipe
[pyutils.c line 76]" sometimes appears in uWSGI server logs.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to