the first time i run cron.php today :
error :Fatal error: Maximum execution time of 240 seconds exceeded in C:\root\feed\modules\update\update.fetch.inc on line 185
so , i run again the crom.php
but more error showup:
Fatal error: Maximum execution time of 240 seconds exceeded in C:\root\feed\includes\common.inc on line 501
Fatal error: Maximum execution time of 240 seconds exceeded in C:\root\feed\includes\session.inc on line 56
Fatal error: Maximum execution time of 240 seconds exceeded in C:\root\feed\sites\all\modules\memcache\memcache_admin\memcache_admin.module on line 224
Fatal error: Maximum execution time of 240 seconds exceeded in C:\root\feed\includes\session.inc on line 14
the third time i run cron "failed"
.
.
.
failed and failed again and again
i think cron.php is a week point of my site , so , asked for your help
Comments
Comment #1
cesar.brod@gmail.com commentedI just noticed my cron didn't run drupal's cron for the last five days for the same reason. Tweaking php.ini max_execution_time didn't help at all. Drupal always reported the 240 seconds. Tried to low to 50 the number of indexed itens in: admin/settings/search. Also lowered to 10. Still not working. Anyone? Any hint?
Thanks!
Comment #2
haojiang commentedi delete all of my feed , then the cron.php goes all right , but the point is that ::::: i have to delete all!
do you use the module "feedapi" too?
Comment #3
haojiang commentedComment #4
cesar.brod@gmail.com commentedNopes, I don't use the feedapi and it seems my problem is only with the search.module. I still haven't figured out how to solve this.
Thanks!
Comment #5
cesar.brod@gmail.com commentedWell, I just tried to run it again and it seems this problem is not actually tied to a specific module:
Fatal error: Maximum execution time of 240 seconds exceeded in /var/casacinepoa/includes/unicode.inc(345) : regexp code on line 1
Question is: how to make this Maximum execution time bigger, so at least we can debug this a little further?
Comment #6
mikeryanThe cron limitation of 240 seconds is a long-standing problem, this is the currently active issue for that: #375578: Cron: guarantee each cron implementation the same share of execution time.
In terms of figuring out what module is taking so much cron time, one thing to do is to instrument module_invoke_all() - something like
Comment #7
finaukaufusiHi guys,
Look inside: includes/common.inc
Line: 2716
Change the set_time_limit to a higher number such as 400.
Hope it will help someone.
Finau
www.businessme.co.nz
Comment #8
Chimos commentedThis worked, thanks!