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

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP DNS getmxrr() with lsws 3.3.11

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2008, 03:23 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 59
Default PHP DNS getmxrr() with lsws 3.3.11

Hi,

I have recently upgraded one of our lsws installations from 3.2.4 to 3.3.11. Since then we have a problem with getmxrr(), which is used in a newsletter function of the CMS we use. Apparently sometimes getmxrr() does not give back an answer, possibly due to a timeout.
At the time of the upgrade of lsws I have also upgraded PHP from 5.2.2 to 5.2.5 and LSAPI from 4.0 to 4.7, but I have also tried lsws 3.3.11 with the old PHP/LSAPI, with the same result. So it must have something to do with lsws. Is there any change in lsws between 3.2.4 and 3.3.11 which could affect this? Any configuration setting which needs to be adjusted? Any other hints?

Thanks!
Daniel
Reply With Quote
  #2  
Old 05-12-2008, 09:33 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
It is a PHP problem, if getmxrr() timeout and PHP blocked at that function, it may cause trouble for next request assigned to it. There is not much we can do about.
Either allocate enough spear PHP processes by setting "PHP_LSAPI_CHILDREN" larger than "Max connections". Or, let LSWS to kill malfunctioning PHP process quickly by "instances" matching "Max connections" and remove "PHP_LSAPI_CHILDREN" env.
Reply With Quote
  #3  
Old 05-13-2008, 06:38 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 59
Thank you, I will try that.
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 11:35 AM.



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