I'm having a weird problem and I think it may have to do with our Litespeed settings. We have a custom php script that submits an online mass email to all of our users into our mysql database. It used to work just fine without any problems and recently, we started messing around with our litespeed settings to make things faster and more efficient. Since making a few changes, this script now inserts 10 copies of the same email to each user as if it were in a loop. My initial thought is that the script times out so litespeed sees this and retries submitting the script again which causes it to insert the sql statements again from the beginning. This ends up in an infinite loop and the only way to stop it is to wait a while or restart mysql. What settings do I need to change within the web server to prevent this from happening?