January 12, 2010 01:50PM
Probably you need to examine PHP logs (or even spawn-fcgi logs/output
to stderr) - problem should be clearly visible there. There are really
lots of reason for PHP to die :)

On Tue, Jan 12, 2010 at 11:36 PM, djeyewater <nginx-forum@nginx.us> wrote:
> This isn't really an Nginx problem, but hopefully someone can help me. I'm running PHP as fcgi using spawn-fcgi.
>
> I have a PHP script that resizes an image, but when I try to access this page, it seems to get partway through processing the page, then the PHP process handling the request dies. I receive in the browser the output of the script as far as it got, and in the error log I get:
>
> 2010/01/12 15:29:33  7654#0: *15 readv() failed (104: Connection reset by peer) while reading upstream, client: 127.0.0.1, server: www.photosite.com, request: "POST /admin/upload.xhtml HTTP/1.0", upstream: "fastcgi://unix:/home/djeyewater/webapps/spawn-fcgi/php-fastcgi.sock:", host: "www.photosite.com", referrer: "http://www.photosite.com/admin/upload.xhtml"
>
>
> Other php pages work okay.
>
> I'm guessing I need to change a timeout or max size setting somewhere?
>
> Thanks
>
> Dave


--
Aleksej Besciokov
EMail/JID: proforg@maloletka.ru
phone: +7 495 7853149

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

PHP dying

djeyewater January 12, 2010 11:36AM

Re: PHP dying

proforg January 12, 2010 01:50PM

Re: PHP dying

djeyewater January 12, 2010 05:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 222
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready