[Bug 419191] [NEW] Mailing from php5 module fails when number of Apache VirtualHosts is above +/-1500

Hark ubuntu at komkommerkom.com
Wed Aug 26 13:42:04 BST 2009


Public bug reported:

Binary package hint: libapache2-mod-php5

My shared webserver suddenly stopped mailing yesterday. Both the PHP
mail() function or calling /usr/sbin/sendmail directly from exec() or
something similar gives this error in /var/log/exim4/mainlog (of course
/usr/sbin/sendmail is just a symlink to exim4):

2009-08-26 13:35:51 1MgGn9-0002rA-Tm == hark at example.com R=smarthost
T=remote_smtp_smarthost defer (-1): smtp transport process returned non-
zero status 0x000b: terminated by signal 11

After a long search I finally found that mailing starts working again when I delete a few random Apache VirtualHosts. I can really not explain why this happens, but I can reproduce this behaviour every time. The VirtualHosts configuration is certainly correct, and Apache nor PHP gives any error message. The mail is added to the exim4 queue correctly as far as I know, but it is not sent and frozen immediately. With exim -M message_id on the command line I am able to send each message afterwards without a problem. I tried different exim4 configurations (without smarthost for example), but that doesn't give any change.
On another server I use suPHP (CGI), with exactly the same versions of Apache and Exim4, there this problem does not exist. Also on the server where I have this problem a Perl CGI script that calls /usr/sbin/sendmail runs just fine, and sends the mail. So I think it must be some bug in libapache2-mod-php.

Description:	Ubuntu 8.04.3 LTS
Release:	8.04

libapache2-mod-php5:
  Installed: 5.2.4-2ubuntu5.7
  Candidate: 5.2.4-2ubuntu5.7
  Version table:
 *** 5.2.4-2ubuntu5.7 0
        500 http://nl.archive.ubuntu.com hardy-updates/main Packages
        500 http://security.ubuntu.com hardy-security/main Packages
        100 /var/lib/dpkg/status
     5.2.4-2ubuntu5 0
        500 http://nl.archive.ubuntu.com hardy/main Packages

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Mailing from php5 module fails when number of Apache VirtualHosts is above +/-1500
https://bugs.launchpad.net/bugs/419191
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list