I'm still running v7.3, which will hopefully not be for long though.

But today my forum started acting up. At first it started timeing out on request intermittently, then it started working again for a while. Not for long though, because then it went down hard.

I've spent the entire evening debugging, which wasn't easy because of other unrelated computer problems. In the end I found the problem to be two functions calls that just made the system freeze up. The script didn't stop running with an error, it just never seemed to respond really.

First:
session_save_path() call in ubbthreads.inc.php

So I removed that and set it in a php_flag setting in the .htaccess file.

Second:
flock() in the lock_and_write() function in ubbthreads.inc.php

Same thing, so I removed the calls to it for now. Seems to be just for cache files, but still doesn't feel like a good solution.

I don't know why it should just stop working without warning, and why it behaved the way it did. Can't find anything strange in the php.ini file either, like disabling those functions.

My hosting provider is doing server upgrades, which might be the reason. But it doesn't really look like they're doing it right now. Have to wait until the morning until I can get an answer from them.

Any thoughts, anyone?


aka Olle Johansson