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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Request Timeout after 15 secs.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2007, 07:09 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Request Timeout after 15 secs.

Hello,
at one account I have installed Account Lab Plus. I have error like this below, when I create accounts in WHM by ACL:

Code:
Request Timeout

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.
Previously (before change from Apache to LSWS) it was ok. The error always appear after 15 seconds. I tried to set connection timeout to 120 seconds. I tried to change max_execution_time in PHP, but that also didn't help. When I created an empty PHP script with function sleep(60);, then it was ok. Do you have any idea, why this problem occur?
Reply With Quote
  #2  
Old 03-05-2007, 07:36 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Does the script takes long time to finish? It may not be a problem of timeout setting, maybe a missing PHP module or something.

I think you need to turn on debug logging, and maybe strace the PHP process to find out what is the problem.

Last edited by mistwang; 03-05-2007 at 02:50 PM..
Reply With Quote
  #3  
Old 03-30-2007, 09:54 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

It takes about 10-20 seconds to finish.
I enabled debug logging, but there isn't anything interesting.
I see that the whole lsws is restarting, when I try to execute that script.
I did a strace: http://host8.xon.pl/strace
Maybe the problem is in line:
shmctl(1343619094, IPC_RMID, 0xbfffddb0) = -1 EINVAL (Invalid argument)
Reply With Quote
  #4  
Old 03-30-2007, 11:09 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I think it is a PHP problem, maybe some required PHP extension has not be inclded in lsphp binary, maybe you should check the configruation options in phpinfo() with Apache, then build your own lsphp binary with similar configuration options.

For more information regarding building lsphp, please check out our wiki.
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 08:48 PM.



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