error 503 index prestashop

#1
Hi,
on the hosting of a client, it appears the 503 error when we open the index. The CMS is prestashop.
we found this in the log:

2011-06-17 15:42:52.311 [INFO] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] connection to [/tmp/lshttpd/APVH_xxxxxx.it_Suphp.sock.507] on request #0, confirmed, 1, associated process: 512514, running: 1, error: Connection reset by peer!
2011-06-17 15:42:52.311 [NOTICE] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] Max retries has been reached, 503!
2011-06-17 15:42:52.311 [NOTICE] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] oops! 503 Service Unavailable
2011-06-17 15:42:52.311 [NOTICE] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] Content len: 0, Request line: 'GET / HTTP/1.1'
2011-06-17 15:42:52.311 [INFO] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] Cookie len: 296, 6c06f4e20e08f9986ba345023373a02f=0oFtNw3ytbopBmAvki1ulMx9h%2FRldApjwS3mxCcsALPOAk0e7K6nYEpNwjiDcDsi9DtU8fW7Ft1X2gGkVZskfjPVSxNnsFrgmokWUx0ZMUw%3D; cdde0d5115d05413b23c32e664a8629d=0oFtNw3ytbopBmAvki1ulGAf6n6%2FSvAkTOu5wIO3vmPOAk0e7K6nYEpNwjiDcDsi9DtU8fW7Ft1X2gGkVZs
kfteHgW%2F%2F09xR64Ae9WQuDFM%3D


How can we solve the problem?

Waiting for your reply
Best Regards
 

webizen

Well-Known Member
#4
The error below (from your error log) indicates php crashed. lsapi tried to recover connection and failed (Max retries has been reached) to connect PHP which is crashed. Usually, should let PHP dump core file and find out what the root cause is.

if 503 error is due to consistent PHP crash, you can add environment variable

LSAPI_ALLOW_CORE_DUMP

to lsphp5 external app configuration to let PHP dump a core file.
(http://www.litespeedtech.com/php-litespeed-sapi.html)

then check the core file with
gdb /usr/local/lsws/fcgi-bin/lsphp5 core_file_name
bt

It lists the stack call backs when PHP crashes, you can get some clue from it or send to us.

...

2011-06-17 15:42:52.311 [INFO] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] connection to [/tmp/lshttpd/APVH_xxxxxx.it_Suphp.sock.507] on request #0, confirmed, 1, associated process: 512514, running: 1, error: Connection reset by peer!
2011-06-17 15:42:52.311 [NOTICE] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] Max retries has been reached, 503!
2011-06-17 15:42:52.311 [NOTICE] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] oops! 503 Service Unavailable
2011-06-17 15:42:52.311 [NOTICE] [xxx.xxx.xx.xx:50096-0#APVH_xxxxxx.it] Content len: 0, Request line: 'GET / HTTP/1.1'
...
 
#5
hi,
I paste the result of a debug:

GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/lsws/fcgi-bin/lsphp5...done.
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /opt/xslt/lib/libexslt.so.0...done.
Loaded symbols for /opt/xslt/lib/libexslt.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libexpat.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libexpat.so.0
Reading symbols from /opt/tidy/lib/libtidy-0.99.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/tidy/lib/libtidy-0.99.so.0
Reading symbols from /usr/lib64/libaspell.so.15...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libaspell.so.15
Reading symbols from /usr/lib64/libpspell.so.15...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpspell.so.15
Reading symbols from /opt/mhash/lib/libmhash.so.2...done.
Loaded symbols for /opt/mhash/lib/libmhash.so.2
Reading symbols from /opt/libmcrypt/lib/libmcrypt.so.4...done.
Loaded symbols for /opt/libmcrypt/lib/libmcrypt.so.4
Reading symbols from /usr/lib64/libltdl.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libltdl.so.3
Reading symbols from /lib64/libssl.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpam.so.0
Reading symbols from /usr/lib64/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfreetype.so.6
Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /usr/lib64/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXpm.so.4
Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libjpeg.so.62
Reading symbols from /usr/lib64/libbz2.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libbz2.so.1
Reading symbols from /opt/pcre/lib/libpcre.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/pcre/lib/libpcre.so.0
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /usr/lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /opt/curlssl/lib/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /opt/curlssl/lib/libcurl.so.4
Reading symbols from /usr/lib64/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libidn.so.11
Reading symbols from /usr/lib64/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libmysqlclient.so.16
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libnetsnmp.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnetsnmp.so.10
Reading symbols from /lib64/libwrap.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libwrap.so.0
Reading symbols from /opt/xslt/lib/libxslt.so.1...done.
Loaded symbols for /opt/xslt/lib/libxslt.so.1
Reading symbols from /opt/xml2/lib/libxml2.so.2...done.
Loaded symbols for /opt/xml2/lib/libxml2.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libaudit.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libaudit.so.0
Reading symbols from /usr/lib64/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /usr/lib64/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXdmcp.so.6
Reading symbols from /usr/lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /usr/local/IonCube/ioncube_loader_lin_5.2.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/IonCube/ioncube_loader_lin_5.2.so
Reading symbols from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so
Reading symbols from /usr/lib64/libMagickWand.so.1...done.
Loaded symbols for /usr/lib64/libMagickWand.so.1
Reading symbols from /usr/lib64/libMagickCore.so.1...done.
Loaded symbols for /usr/lib64/libMagickCore.so.1
Reading symbols from /usr/lib64/libtiff.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libtiff.so.3
Reading symbols from /usr/lib64/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXext.so.6
Reading symbols from /usr/lib64/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libSM.so.6
Reading symbols from /usr/lib64/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libICE.so.6
Reading symbols from /usr/lib64/libgomp.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libgomp.so.1
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so
Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so...done.
Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff771d9000
Core was generated by `lsphp5:'.
Program terminated with signal 11, Segmentation fault.
#0 execute (op_array=0x9763c78) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:53
53 memset(EX(CVs), 0, sizeof(zval**) * op_array->last_var);

How can we solve the problem?

Waiting for your reply
Best Regards
 
#7
it's full of this output:
(gdb) bt
#0 execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:53
#1 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#2 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b0290) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#3 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#4 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#5 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b04b0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#6 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#7 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#8 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b06d0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#9 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#10 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#11 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b08f0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#12 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#13 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#14 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b0b10) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#15 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#16 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#17 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b0d30) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#18 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#19 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#20 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b0f50) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#21 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#22 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#23 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b1170) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#24 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#25 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#26 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b1390) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#27 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#28 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#29 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b15b0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#30 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#31 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#32 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b17d0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#33 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#34 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#35 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b19f0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#36 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#37 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#38 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b1c10) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#39 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#40 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#41 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b1e30) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#42 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#43 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#44 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b2050) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#45 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#46 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#47 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b2270) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#48 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#49 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#50 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b2490) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#51 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#52 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#53 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b26b0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#54 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#55 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#56 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b28d0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#57 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#58 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#59 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b2af0) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#60 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#61 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#62 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b2d10) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#63 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#64 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#65 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b2f30) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#66 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#67 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#68 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b3150) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#69 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#70 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#71 0x00000000006e6901 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffbc6b3370) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:234
#72 0x00000000006e600c in execute (op_array=0x827d2a8) at /home/cpeasyapache/ls.src/php-5.2.17/Zend/zend_vm_execute.h:92
#73 0x00002b76f939390f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so

Waiting for your reply
Best Regards
 

mistwang

LiteSpeed Staff
#8
It could be bad PHP code causing infinity recursive function calls, one function call itself, which causes stack overflow.
You have to review the PHP script.
 
#9
How can we check error if we can not see any error neither in error_log or from gdb ? This is a simple prestashop code.

Waiting for your reply
Best Regards
 

cmanns

Well-Known Member
#11
if "bt" produce hundreds or thousands of entries like you posted, the php code causes stack over flow.

you can see an example at
http://ilia.ws/archives/5_Top_10_ways_to_crash_PHP.html

you need review PHP code or ask help from the people who wrote those PHP code.
by chance it could be Zend Optimizer? I've never had it play nice with my php installs, so I never installed it again :D

If you don't need Zend, disable it :)

Also maybe try stracing the php process.
 
Top