This looks like code straight from Subscribe Me! Lite, I may be wrong though. The amount of processes isn't an issue, since its being forked once, and then mail is being sent with the foreach loop. I wonder if Sendmail is complaining that its getting way too many emails being sent at once and the whole thing is dying. Check the error logs.
Sendmail isn't keen on sending mass emails, you may want to check out the Mail::Bulkmail package, or add some kind of batching function, where a small amount of email messages are sent in chunks. I feel stupid to suggest something I've made, but Mojo Mail has both the batching capability and the Mail::Bulkmail module already in there, so you can send mail using the sendmail program or a straight SMTP connection. Its also strickly for non-spammers, I use it to announce art projects of mine :)
-justin simoni
!skazat!
In reply to Re: Forking not completing
by skazat
in thread Forking not completing
by fightliteracy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |