I can't figure out exactly what leads to it, but sometimes it takes a few weeks and sometimes it takes a few hours to get one of these error messages:

Database error in vBulletin 5.2.2:...