From:             skunk at ipfrom dot com
Operating system: gentoo linux
PHP version:      5.3.19
Package:          Mail related
Bug Type:         Bug
Bug description:mail function becomes slow until apache restart

Description:
------------
i'm seeing this on more than one production servers:
after some days of uptime the mail() function starts to take about a minute
to 
execute and only a restart of apache (prefork) makes it fast again.
one of the web servers is running roundcube which has the possibility to
either 
use the mail() function or to connect directly to a smtp server, with the
former 
after few days sending a mail becomes very slow while with the latest it's
always 
fast,
on a side note, when the slowness starts happening apache takes a long time
to 
kill all processes on restart.
thank you.

Test script:
---------------
sorry, i'm unable to replicate this issue because it happens on production
servers with real traffic.

Expected result:
----------------
mail() function should exec fast

Actual result:
--------------
when mail() slows down a restart of apache is required

-- 
Edit bug report at https://bugs.php.net/bug.php?id=63719&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63719&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63719&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63719&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63719&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63719&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63719&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63719&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63719&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63719&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63719&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63719&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63719&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63719&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63719&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63719&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63719&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63719&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63719&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63719&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63719&r=mysqlcfg

Reply via email to