Jerry mentioned somewhere that he had to apply a temporary fix to only display 200 threads.
Jerry is providing updates in post one of Current Status of SDMB Upgrade
I don’t see anything there directly tied to this issue, but I believe it ties into where he mentioned he tried to restore code and it still caused problems.
Found it!
I had to hack the forum display code so it didn’t bog itself down trying to determine how many threads match your chosen display option range (1 days, 2 days, etc.). So yes, I have it limited to 200 threads. 200 is an arbitrary number I just picked, it could be higher. Yesterday I tried a number of ways to optimize the hack to return some of the functionality you’ve noted is missing but even the optimized code brought the server to a standstill eventually. It’s going to require more work than just the simple things I was doing to get that piece of code performing adequately so unfortunately a long term fix is deferred until I can get the bulk of the other issues addressed.
jdavis:
I had to hack the forum display function last night in order that we don’t have these continual periods of being available and then available. The code I hacked decides how many threads to retrieve in the time period you’ve specified (now it always defaults to a maximum of 200 posts and no more) AND it determines how many of those threads should be marked as new since your last read. The reason the threads are acting weird is because of this.
I made a decision that we would sacrifice some board functionality in order to achieve board stability. This is a temporary hack and will be removed when I can get a more permanent fix in place but that will be a while. I know this is screwing people up by giving back false information (whether or not the thread is new from your last visit) but better that then the message board being unavailable 15 times a day.
I may be able to put a more elegant hack in place which returns some of the functionality we’re now bypassing. Right now though I’m going to leave what we have in place as we move into the busy part of the posting day.
Jerry