Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gabriel Torres Posted February 11, 2014 Posted February 11, 2014 Using nginx. Cloudflare is disabled. Getting error 502 while trying to install IP.Nexus. All timeouts are already configured as 300 seconds: fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; fastcgi_read_timeout 300; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; proxy_read_timeout 300; Error happens immediately after hitting the "Install" button. Which leads me to believe it is not a timeout issue, as on timeout issues usually the browser keeps loading the page until the timeout happens. Zend Guard is installed as below. Notice the "no value" for the "License Path", as php.ini file has only: ;Zend Guard Loader zend_extension=/usr/local/php/lib/php/extensions/ZendGuardLoader.so ; Enables loading encoded scripts. The default value is On^M zend_loader.enable=1 IPB support said they can't help me as this is a server issue.
Gabriel Torres Posted February 11, 2014 Author Posted February 11, 2014 Access.log: [my ip] [11/Feb/2014:13:24:54 -0200] "GET /admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications§ion=setup&do=install&app_directory=nexus&app_location=ips HTTP/1.1" 502 568 "http://forum.clubedohardware.com.br/admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications§ion=applications&do=applications_overview" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36" Error.log: 2014/02/11 13:24:54 [error] 13059#0: *24620 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: [my ip], server: forum.clubedohardware.com.br, request: "GET /admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications§ion=setup&do=install&app_directory=nexus&app_location=ips HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "forum.clubedohardware.com.br", referrer: "http://forum.clubedohardware.com.br/admin/index.php?adsess=a602fab76046d10caae490a1d6b60a7c&app=core&module=applications§ion=applications&do=applications_overview"
Gabriel Torres Posted February 11, 2014 Author Posted February 11, 2014 Hum... Syslog shows that PHP is crashing because of Xcache: Feb 11 09:30:49 forum kernel: [29577146.341969] php-fpm[13022]: segfault at 7fffb4a63d60 ip 00007fdba4e0e55f sp 00007fff9eedc5e0 error 6 in xcache.so[7fdba4df2000+23000] Will disable Xcache to see if it solves.
Gabriel Torres Posted February 11, 2014 Author Posted February 11, 2014 Yep, disabling Xcache solved the issue. Now I have to investigate on why.
Aussie Cable Posted February 11, 2014 Posted February 11, 2014 Depending on php version, I believe it has something to do with bug #62205 I have had this issue previously, but it was a timeout issue, and I did have php 5.3.13, have since upgraded to 5.4.24
Gabriel Torres Posted February 11, 2014 Author Posted February 11, 2014 Hum... We are using 5.3.28, and this bug is reported as fixed. I should be upgrading to 5.4 or even 5.5 anyway...
Grumpy Posted February 12, 2014 Posted February 12, 2014 maybe your xcache ram usage limit was too low?
Gabriel Torres Posted February 12, 2014 Author Posted February 12, 2014 Nope. It was a segment fault. The issue was with Zend Guard. Installed IonCube instead and everything works fine now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.