If you are using mysql v 4 then this problem will appear again.
Mysql 4 caches reads and writes and ubbt doesn't handle this very well.
Turn off persistent connections and in mysql.conf turn off caches.
If you have lines like this:
set_variable thread_cache_size=64
set_variable_table_cahe=1024
or something similiar comment them out.
This isn't an optimal fix and while it will correct the problem large boards will slowdown under heavy use. There are changes that need to be done to ubbt files also. I'll be submitting changes I made to Rick and hopefully it will be incorporated in future versions.