Hi
I am getting following error in nginx+PHP FastCGI. I searched this error
on google but not getting any useful link.
Please guide what could be the cause of this error.
2009/09/29 10:01:34 2156#0: *120 recv() failed (104: Connection reset
by peer) while reading response header from upstream, client:
10.0.1.101, server: localhost, request: “GET /helloworld.php HTTP/1.1”,
upstream: “fastcgi://127.0.0.1:9000”, host: “10.0.1.71”
Thanks a lot !
Posted at Nginx Forum:
Hello!
On Tue, Sep 29, 2009 at 10:21:57AM -0400, chaitanya wrote:
Hi
I am getting following error in nginx+PHP FastCGI. I searched this error on google but not getting any useful link.
Please guide what could be the cause of this error.
2009/09/29 10:01:34 2156#0: *120 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.0.1.101, server: localhost, request: “GET /helloworld.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “10.0.1.71”
Most likely your fastcgi application (php) has been died.
Maxim D.
i have to call one php page at rate of around 500-1000 Request per
second & that is from single IP. But i am getting strange output My page
works well 5 times, then it gives error for next 5 requests & this
trend continues.
I am not getting what could be the cause of this strange error?
Posted at Nginx Forum:
Hello!
On Tue, Sep 29, 2009 at 10:59:23AM -0400, chaitanya wrote:
i have to call one php page at rate of around 500-1000 Request per second & that is from single IP. But i am getting strange output My page works well 5 times, then it gives error for next 5 requests & this trend continues.
I am not getting what could be the cause of this strange error?
Looks like you have 5 php workers, and each of them is able to
process one request, but dies on the second. Probably some
php accelerator related issue.
Maxim D.
Thanks a lot for your reply !
But even when i increase worker process to 15, then too i am getting
same trend.
And i am not using any php acclerator for this.
Posted at Nginx Forum: