View Full Version : Need help understanding cpu_exceeded_logs
ccollins
01-06-2008, 04:03 PM
I am trying to see what is causing my site issues. I looked at the cpu_exceeded_logs and see one these two over and over.
.com/forum/cron.php
.com : GET /forum/cron.php HTTP/1.1
Can someone help me understand what I need to do to correct the error?
ccollins
01-08-2008, 09:20 AM
I don't know if this will help all the people who are having issues but I was ready to move to another hosting service. I read my cpu_exceeded_logs and noticed a recurring file being reference. I went in to file manger and renamed it in case deleting it cased more issues and I have now been cpu_exceeded free for two days.
For the more experienced can someone tell me why killing this file fixed the issue?
Basil
01-08-2008, 09:55 AM
Cron.php, if it's what I'm thinking of, is a ghetto implementation of cron in PHP.
What it does is basically have some reference to the script in all the pages (like a small image), so when somebody accesses a page, the cron script is accessed as well. Every time it's accessed it checks to see if the current date/time is after one of the events stored in it's database. If it is, then it fires off whatever function was supposed to execute at that time.
It's completely unnecessary since you can set up cron jobs on the server, although presumably it was executing functions that it was programmed to.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.