Discussion in 'General' started by MentaL, Aug 10, 2014.
/usr/local/lsws/fcgi-bin/lsphp-5.4.31 may have problem.
is phpinfo.php ok ?
see if you can disable the php extensions one by one, and this error is gone.
appears to be originating from xcache, hmm.
switched to APC as a trial and still get the same error, highly odd. I'll investigate further.
Making random progress?
Downgraded xcache and got the following as it stands
so lsphp-5.4.31 is ok, xcache or apc extension has the problem.
what's the xcache version, how did you build it, in WHM environment, the xcache configuration ?
built through litespeed.
I may have found the cause. I was using an OLD version of memcached built from an old RPM and never even knew! rebuilt the latest version manually, enabled xcache and thus far no errors.
Thanks for updating the forum on the solution.
Hopefully it helps resolves someones error, especially if their installing from the latest centos distro (which has the old RPMs of memcached).
I have the same segfault issue . Would like to investigate it but dunno which version of php crashed. We rum 3 of it via suEXE daemons. Any way to get a core dump to see which exactly php is affected?
from the first post of this thread:
you can know lsphp-5.4.31 is used.
Damn! Sorry, my bad, I forgot about details.
Actually, mine looks like
Sep 11 08:10:28 ws kernel: lsphp: segfault at 7fffe7c95fe8 ip 0000000000602f4a sp 00007fffe7c95fb0 error 6 in lsphp[400000+3e1000]
I see [400000+3e1000] is constant - do you know what does it means?
it's memory address, no much valuable info in it.
do you still have the problem ? A staff mentioned me your post not answered yet, so I came back to follow up.
we received a similar report recently, the info is insufficient so not sure how to reply but we recommended
and then the user found the root cause himself -- duplicated php extension loaded.
so if the problem still there, can you follow the above guide to make some changes, to see if solve the issue.
OK, do you know how to make php to do a core dump when segfault happens? I already rebuilt php, revised all and still getting crash.
Seems to be in pcre
Sep 18 14:10:18 wsxx kernel: lsphp53: segfault at 7fff9de68fd0 ip 000000000048d86a sp 00007fff9de68fc0 error 6 in lsphp53[400000+a17000]
addr2line -e /usr/local/lsws/lsphp53/bin/lsphp 000000000048d86a
and error 6 means
ENXIO (No such device or address)
and the code is
RMATCH(eptr, ecode, offset_top, md, eptrb, RM19);
and the conclusion is - I dunno...
Separate names with a comma.