This was happening to me as well and I think that its happening because my host deletes the session files for fast-cgi out of /tmp, or because of process management that kills processes after a certain time, or restrictions placed on how many processes your script can run until it gets denied and you see 500 errors.