![]() |
safe_mode = off / Anyy possibility to pause script?
My server has "safe_mode=off" an I got an error message that the procedure takes too long - longer than 30 sec.
My question is, if it is possible that the script is pausing, when indexing a site, so that I don't get the error message and that the server don't abort indexing? So that the timeout is resetted and then the script can go on. I don't know if it is much work, but if it isn't hard, could someone say me how to change the script? Thank you very much! |
Hi. Are you using IIS? If so, this page might help.
|
Hello,
I'm using a Linux server with Apache httpd 1.3.27 and PHP version 4.3.0 without root access - so I'm not able to edit the php.ini file. And everything has to do with safe mode is in this configuration : ( first value is local and second is master ) safe_mode "Off" "Off" safe_mode_exec_dir "/usr/phpbin/" " /usr/phpbin/" safe_mode_gid "Off" "Off" safe_mode_include_dir "no value" "no value" When the sipder is working too long, then I get : Fatal error: Maximum execution time of 30 seconds exceeded in /xxx/xxx/xxx/admin/robot_functions.php on line 988 But I don't understand when php starts to count the timeout, because this are the last URLs that are spidered before timeout : 124:http://www.jdshfjsdhfljsdhflsdlf.cc/something.htm (Zeit : 00:01:51) 125:http://www.jdshfjsdhfljsdhflsdlf.cc/something2.htm (Zeit : 00:01:52) 126:http://www.jdshfjsdhfljsdhflsdlf.cc/something3.htm (Zeit : 00:01:52) So ... there are 1:52 mins !! not 30 sec. Is there any way, I read it here (bit with no answer), that the spider is spidering - pausing - and the continues with spidering so that it doesn't get the timeout? Thanx |
Quote:
Quote:
Hi. Is safe mode on or off? It seemed it was off, but now it seems it is on. If on, set_time_limit has no effect. Perhaps this thread will help. |
All times are GMT -8. The time now is 07:54 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.