LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > PHP crashing, How can we send you PHP Core dumps ?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2013, 12:00 PM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 95
Default PHP crashing, How can we send you PHP Core dumps ?

Hello,

I activated PHP core dumping to try and work out why I get so many crashes and I've now god a large number of core dumps…

I've seen on previous posts that you requested that the user send them to you. How can I send you some of these core dumps ?

The compressed file from one account is 164MB.

Also what can be done about your forum only saving the first lines of each entry I post ?

Thanks
Reply With Quote
  #2  
Old 01-21-2013, 05:22 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
for big core dump, send us a download link.
Reply With Quote
  #3  
Old 01-21-2013, 11:12 PM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 95
Should I send them by e-mail ?

To what address ?

If not how shoud I send to the link ?
Reply With Quote
  #4  
Old 01-21-2013, 11:15 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
hi, please send to bug@...
Reply With Quote
  #5  
Old 01-21-2013, 11:27 PM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 95
Hello,

I've just checked and I was mistaken, the coredumps are a few days old so they to not apply to my current setup. I haven't had any since but I've still got error 503's.

I will continue in the other ticket I have already opened
Reply With Quote
  #6  
Old 01-21-2013, 11:48 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
for 503 error, it usually means php crash.
please check lsphp5 setting in
Server->External App->lsphp5->
Memory Soft Limit (bytes)
Memory Hard Limit (bytes)

since 1G xcache will be calculated as part of lsphp5 process, so this soft/hard limit should > 1G. if memory assigned to lsphp5 exceed these limit(especially hard limit?), lsphp5 process may be killed by OS(or litespeed process?), so 503 error.
Reply With Quote
  #7  
Old 01-22-2013, 12:04 AM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 95
I don't think it's a memory issue, I've got 10GB as soft limit and 12GB as hard limit.

I've just increased the limit to 30GB soft limit and 32GB hard limit to be sure to never go near these limits (server has got 256GB).
Reply With Quote
  #8  
Old 01-22-2013, 12:07 AM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 95
I'm watching the logs to try and determine when it happens and if anything happens just before it happens.

When I run /scripts/restartsrv_httpd it seems to run a full restart for LSPHP and litespeed is unable to access PHP during this time thus causing 503 error messages.

I think cPanel runs this script for each account when it rotates the logs once a day unless piped logging is activated. I haven't looked into how litespeed does it's logging and if I can activate piped logging in order to not restart Litespeed multiple times a day.
Reply With Quote
  #9  
Old 01-22-2013, 12:12 AM
Monarobase Monarobase is offline
Senior Member
 
Join Date: Jan 2013
Posts: 95
I've just found out that a gracefull restart from litespeed webadmin causes 503 errors…

I see litespeed runnning a gracefull restart then I see scripts trying to access PHP and it failing to respond multiple times.

Is this normal ? how can I prevent getting these errors ?

Last edited by Monarobase; 01-22-2013 at 12:23 AM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:59 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.