We are having a weird problem and we are stumped.

We have a php script that is executed by cron. It uses PEAR's mail stuff to send out email messages. (This is not spam.) When we execute the script PHP hangs with this:

sigsuspend(0xFFBEA8C0)          (sleeping...)
signotifywait()                 (sleeping...)
lwp_cond_wait(0xFEEF5550, 0xFEEF5560, 0xFEEEEDB8) (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)


...forever. Even if we comment out the lines that actually send the mail, this happens, so it is not related to sending mail. It stops at different places within the script. Every once in a while, it doesn't hang at all and runs normally. Most times, though, it stops after sending anywhere between 10 and 1500 emails (or pretending to).


We are not doing any threading or forking ourselves, but it seems that PHP is threading like crazy. The behavior doesn't change whether you execute it by hand or have cron do it. We have tried a lot of things that I won't enumerate here but as far as we can tell we are not doing anything unusual with the PHP. We've made sure that it is not a max time execution thing -- sometimes it hangs after only a few seconds.

Does anyone have any idea what could be causing this?

Thanks!
Michael

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to