random_monkey Posted December 5, 2006 Share Posted December 5, 2006 HowdyI've wrote an email script that emails in a loop to a whole group of people (Without sockets).Originally it ran straight in the browser, but stopped at around 15/20 people, so I changed the output to text files and setup a cron job to do it all (Assuming it was the webserver that was timing out).Anyway, it wasn't, so I ran some more tests and found it to be consistently stopping at 25. I couldn't find any "timeout" information anywhere though, so did a quick "sleep(10)" at person 20 in the script.I was expecting it to 'clog up' at 45 this time, only it went straight through the whole list fine and sent a full 214. (Only pausing at person 20).Any ideas what's going on?cheers--rm Quote Link to comment Share on other sites More sharing options...
Darkness Soul Posted December 5, 2006 Share Posted December 5, 2006 maybe its is really the webserver.. someones have locks like that. I have one where the lock don't allow me to send >200 per day.. :( that is really sad..with the sleep, the timeout will show easyer (i think), so, if it works that way, your process is broking.. do you test the same script at another webserver? try it, without the sleep..D.Soul Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.