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

Rebuild position and post counters times out


Active member
Rebuild Thread Information plus Rebuild position and post counters.
I'm wondering what settings I need to increase on my dedicated server so this doesn't time out?

I've been discovering my server needed increases in the PHP.ini, and a few other area's that have substantially increased the performance after I upped the values.
This especially! http://serverfault.com/questions/355934/500-errors-when-switching-to-fcgi-in-cpanel-whm

What or where do I need to adjust this so it doesn't time out?

Last edited:


Well-known member
You can modify some of php's values directly in xenforo's library/config.php

ini_set('display_errors', true);
ini_set('display_startup_errors', true);
ini_set('max_execution_time', 10000);
If you rebuild your content in acp>tools>rebuild then you can simply try to set a lower amount of data to be rebuild at each time.


XenForo moderator
Staff member
Attached is a CLI rebuild for threads (Note it isn't particularly faster, however it allows you to dump it into a screen and carry on working on other parts of the board as it doesn't used the deferred system)

Upload to your XenForo root directory, edit 'positionRebuild' => false to 'positionRebuild' => true

Then run from CLI.