I have my cron getting stuck on a single node. I start getting the errors saying that cron is already running. I clear out the cron_semaphore variable and the cache variable, and it starts running the cron again, but won't go past whatever node it is getting stuck on. every time I clear the search index and rebuild it, it gets stuck on the same node, and I'd like to see what node that is, and see if I can do something to make it index the rest of the site.
--
Brett Evanson
HYPERLINK "mailto:brettev@gmail.com"brettev@gmail.com
801-599-0584
gtalk: brettev
skype: brettev
yahoo: brettev
msn: brettev@gmail.com
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.9/1239 - Release Date: 1/23/2008 10:24 AM
Quoting Brett Evanson brettev@gmail.com:
I have my cron getting stuck on a single node. I start getting the errors saying that cron is already running. I clear out the cron_semaphore variable and the cache variable, and it starts running the cron again, but won't go past whatever node it is getting stuck on. every time I clear the search index and rebuild it, it gets stuck on the same node, and I'd like to see what node that is, and see if I can do something to make it index the rest of the site.
Does admin/logs/watchdog give a clue?
Look at your server log files for php errors such as memory exhausted. What is your php memory_limit set to? Try increasing it [1]. The more modules the more memory needed. The more php errors that occur the more memory is needed (at least that is what I'm discovering on a WAMP service).
[1] In .htaccess [2] add ``php_value memory_limit 64M''. Change 64M to 128M or 256M as needed. [2] You can also change the php.ini file if you desire.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
I have the memory at 64 MB and the execution time at 240. It times out way before 240 seconds, making me think it is getting stuck on something and kicking out early.
-- Brett Evanson brettev@gmail.com 801-599-0584
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Earnie Boyd Sent: Wednesday, January 23, 2008 2:48 PM To: support@drupal.org Subject: Re: [support] cron stuck on a node. how to find which one
Quoting Brett Evanson brettev@gmail.com:
I have my cron getting stuck on a single node. I start getting the errors saying that cron is already running. I clear out the cron_semaphore
variable
and the cache variable, and it starts running the cron again, but won't go past whatever node it is getting stuck on. every time I clear the search index and rebuild it, it gets stuck on the same node, and I'd like to see what node that is, and see if I can do something to make it index the rest of the site.
Does admin/logs/watchdog give a clue?
Look at your server log files for php errors such as memory exhausted. What is your php memory_limit set to? Try increasing it [1]. The more modules the more memory needed. The more php errors that occur the more memory is needed (at least that is what I'm discovering on a WAMP service).
[1] In .htaccess [2] add ``php_value memory_limit 64M''. Change 64M to 128M or 256M as needed. [2] You can also change the php.ini file if you desire.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
Quoting Brett Evanson brettev@gmail.com:
I have the memory at 64 MB and the execution time at 240. It times out way before 240 seconds, making me think it is getting stuck on something and kicking out early.
That's cool.
Does admin/logs/watchdog give a clue?
Look at your server log files for php errors such as memory exhausted. What is your php memory_limit set to? Try increasing it [1]. The more modules the more memory needed. The more php errors that occur the more memory is needed (at least that is what I'm discovering on a WAMP service).
[1] In .htaccess [2] add ``php_value memory_limit 64M''. Change 64M to 128M or 256M as needed. [2] You can also change the php.ini file if you desire.
You still need to check the log files. Try decreasing the time execution and increasing the number of times cron executes. The longer it runs the more memory it might use.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
There is nothing in the log files. It doesn't throw any errors. It just kicks out. Right now, I'm running cron manually through the web, and the crontab isn't even set. I get to the same node everytime, and it stops. I just need to know what node it is stopping on. Any idea of how to find what node that is?
-- Brett Evanson brettev@gmail.com
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Earnie Boyd Sent: Wednesday, January 23, 2008 4:06 PM To: support@drupal.org Subject: Re: [support] cron stuck on a node. how to find which one
Quoting Brett Evanson brettev@gmail.com:
I have the memory at 64 MB and the execution time at 240. It times out way before 240 seconds, making me think it is getting stuck on something and kicking out early.
That's cool.
Does admin/logs/watchdog give a clue?
Look at your server log files for php errors such as memory exhausted. What is your php memory_limit set to? Try increasing it [1]. The more modules the more memory needed. The more php errors that occur the more memory is needed (at least that is what I'm discovering on a WAMP service).
[1] In .htaccess [2] add ``php_value memory_limit 64M''. Change 64M to 128M or 256M as needed. [2] You can also change the php.ini file if you desire.
You still need to check the log files. Try decreasing the time execution and increasing the number of times cron executes. The longer it runs the more memory it might use.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
Quoting Brett Evanson brettev@gmail.com:
There is nothing in the log files. It doesn't throw any errors. It just kicks out. Right now, I'm running cron manually through the web, and the crontab isn't even set. I get to the same node everytime, and it stops. I just need to know what node it is stopping on. Any idea of how to find what node that is?
When running interactively you can modify the cron.php to add an ini_set to set display_errors to true; that might help. I haven't studied how the sid from the search tables relates back to the nid in the node tables. However, you might take a look at the {search_dataset} and see if there is a clue as to how far it made it through the nodes.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/