Il giorno 01/set/2010, alle ore 09.03, Roberto De Ioris ha scritto:
>
>>>
>>>
>> 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.
>
>
> Very good report, thanks a lot.
>
> I will work on this ASAP
>
>
I respawn this thread as i have fixed another issue in the apache module.
You can get the updated version here:
http://projects.unbit.it/uwsgi/browser/apache2/mod_uwsgi.c
--
Roberto De Ioris
http://unbit.it
JID: [email protected]
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi