I have a PHP script that queries a MySQL table and exports to .csv. Pretty basic stuff. About 1000 row table.
The problem I'm having is that sometimes it will work instantly (download the .csv), and sometimes it just times out and I get the "connection to server was reset."
Any ideas why sometimes it will work multiple times in a row then in a different session just timeout?