• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Deferred.php Running Ever Second

Snog

Well-known member
#1
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?
 

Mike

XenForo developer
Staff member
#2
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.
 

Snog

Well-known member
#3
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.
 

Snog

Well-known member
#4
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.jpg

Which is where it should be.

Thanks again Mike! :D
 

Snog

Well-known member
#7
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.