apc - Nginx PHP5-FPM Bad Gateway 502 -


i implemented new php class concats pdf documents 1 file. @ dev local server, works fine. after pushing production server, i'm running "bad gateway" error.

/var/log/php5-fpm.log:  4-mär-2014 11:20:54] warning: [pool www] child 17386 exited on signal 11 (sigsegv - core dumped) after 10.380074 seconds start  /var/log/nginx/example.com.error.log:  2014/03/24 11:58:25 [debug] 18761#0: *613 recv: fd:7 -1 of 4096 2014/03/24 11:58:25 [error] 18761#0: *613 recv() failed (104: connection reset peer) while reading response header upstream, client: 79.200.179.25, server: example.com,  request: "get /documents/pdf_generator/140183/en http/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "example.com", referrer: "http://booker.visioncode.de/documents/overview" 2014/03/24 11:58:25 [debug] 18761#0: *613 http next upstream, 2 2014/03/24 11:58:25 [debug] 18761#0: *613 free rr peer 1 4 2014/03/24 11:58:25 [debug] 18761#0: *613 finalize http upstream request: 502 2014/03/24 11:58:25 [debug] 18761#0: *613 finalize http fastcgi request 2014/03/24 11:58:25 [debug] 18761#0: *613 close http upstream connection: 7 2014/03/24 11:58:25 [debug] 18761#0: *613 free: 00000000017204e0, unused: 48 2014/03/24 11:58:25 [debug] 18761#0: *613 event timer del: 7: 1395659005493 2014/03/24 11:58:25 [debug] 18761#0: *613 reusable connection: 0 2014/03/24 11:58:25 [debug] 18761#0: *613 http finalize request: 502, "/index.php?/documents/pdf_generator/140183/en" a:1, c:1 2014/03/24 11:58:25 [debug] 18761#0: *613 http special response: 502, "/index.php?/documents/pdf_generator/140183/en" 2014/03/24 11:58:25 [debug] 18761#0: *613 http/1.1 502 bad gateway 

i'm google 3 hours , modify lot of memory , timeout settings, still same error. updated versions ones running on dev local machine - no changes.

but when "/etc/init.d/php5-fpm reload", can access script 1 time after doing (pdf generated , no error output). if try call pdf generator again, returns "bad gateway".

what wrong???


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -