PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 12-20-2003, 05:12 PM   #1
ultradna
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!
ultradna is offline   Reply With Quote
Old 12-20-2003, 06:23 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 12-21-2003, 01:50 AM   #3
ultradna
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
ultradna is offline   Reply With Quote
Old 12-21-2003, 12:01 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539

Quote:
Originally posted by ultradna
...
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
...
Quote:
Originally posted by ultradna
...
my provider said that they won't turn safe_mod off so installed phpdig on my computer with windows 2000, apache, php and sql.
...

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.
Charter is offline   Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT -8. The time now is 04:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.