![]() |
|
![]() |
#1 |
Green Mole
Join Date: Dec 2003
Posts: 6
|
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! |
![]() |
![]() |
![]() |
#2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Are you using IIS? If so, this page might help.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#3 |
Green Mole
Join Date: Dec 2003
Posts: 6
|
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 |
![]() |
![]() |
![]() |
#4 | ||
Head Mole
Join Date: May 2003
Posts: 2,539
|
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New To Script | glengall1 | Feedback & News | 1 | 09-08-2006 09:11 PM |
how to conf. the script? | se7en | How-to Forum | 0 | 03-16-2006 06:31 AM |
Safe_mode - set_time_limit() | cnit | Troubleshooting | 1 | 04-25-2005 04:08 PM |
New authentication script | manfred | Mod Submissions | 0 | 04-20-2004 09:36 AM |
Spiderign with safe_mode On | Sustia | Troubleshooting | 2 | 02-18-2004 02:53 AM |