XF 1.3 Deferred.php Running Ever Second

Snog

Well-known member
OK, this is one I just can't seem to figure out.

Deferred.php is running once a second for every user on the site.

Any guesses about what might be causing it out there?
 
Temporarily rename deferred.php or remove the "RunDeferred" bit from PAGE_CONTAINER. What's in the xf_deferred table?

If there are tasks that are pending, then deferred.php will be called until they're resolved.
 
Thanks Mike!

I think you hit the nail on the head there.

There's an add-on that constantly has 3 tasks in the deferred table and that seems to be causing the system to run amok.
 
After disabling the add-on's cron task and clearing the deferred table of it's tasks, the server has gone from a load of high 2.x's and low 3.x's to this...

load2.webp

Which is where it should be.

Thanks again Mike! :D
 
Since the add-on was mentioned, I think it's only fair to say the author has corrected this in the next release of the add-on.

It's been tested on the site that had the problem and all is fine now.
 
Back
Top Bottom