A php script that enters values into a mysql database was being accessed about a 100 times per second (used for a lap timing system with tracking multiple vehicles). After about 6 hours, the php script returned and error "too many connections to database" and wouldn't process any more requests...