it happens that when sendmail or hmailer loops 2 times to send a form-mail
(e.g. if the smtpd is busy or for other reasons)
apache do not answer anymore to any other http request
it seems like "frozen"
after hmailer or sendmail have finished the loop apache start again to
answer correctly http requests
any idea how to avoid this problem?
why apache stop answering if a child get in loop for any reason?
thanks
bye
massimo s.
Is there anything in the log from when this happens? I wonder how
apache2/apr spawn a child process..
Cheers,
Paul
the php.ini call a rexx that parse the data from php and launch hmailer (or sendmail)
if hmailer isn't able to contact the smtpD waite 1 minute to retry to send the email
in this minute apache stop answering to any http request
after the mail is sent, it start answering again
massimo
Il 20/01/2012 23.09, Paul Smedley ha scritto:
> ahh ok, so it's PHP not apache2 - will have a look at the source - there are various ways to
> spawn a process - some allow program execution to continue, others wait for the process to
> complete before continuing...
thanks a lot
since it's not just an httpd child that stop answering to one http request
but apache stop to answer to all requests since the email is sent out
that's a real big problem
massimo