View Single Post
Old 04-18-2025, 01:47 PM   #2
2SS Capt
2020 Shadow Gray 2SS
 
2SS Capt's Avatar
 
Drives: 2020 2SS - A10, NPP, MRC, CAI
Join Date: Dec 2019
Location: SoCal
Posts: 3,642
This board is overrun with BOTS, the "Session" table is full continuously not allowing any new sessions (if you have a cookie for the site you can still get on)...

I run a vBulletin forum and ran into the same problem last month, I increased my max table size from 16M to 64M but I also added the following code to my hourly and half hourly cleanup files to delete "guest" sessions (i.e. the BOT sessions), haven't had a problem since...

Code:
$vbulletin->db->query_write("
	DELETE FROM " . TABLE_PREFIX . "session
	WHERE lastactivity < " . intval(TIMENOW - 600) . " AND userid = 0
");
HINT to the site moderators... You are getting a bunch of vBulletin Database Errors because your session table is full, adding the above code to your "includes/cron/cleanup.php" and "includes/cron/cleanup2.php" will solve your problem...
__________________
2020 SGM 2SS - A10, NPP, MRC, Red Calipers, Black Fender Badge, Footwell Lighting
After delivery: - GMP CAI, GMP Black Strut Tower Brace, MRR017 1LE Wheels, SS Armrest, Black Fuel Door, Stainless Pedals, SS Wheel Caps, GM Splash Guards, DD Smoked LED Markers, Smoked Rear Reflectors, Mishimoto Catch Can, Xpel PPF-Full Front & Rockers, 35% Tint, CeramicPro coated, RST Stainless Brake Lines, Castrol SRF, MSD Plug Wires, Mamo V3 Ported TB

Left: My "fun" ride (455 HP). Right: My "work" ride (52,000 HP): a Gulfstream G600. One's top speed is 180 Mph, the other, 620 Mph. BOTH AWESOME to operate...
2SS Capt is offline   Reply With Quote