You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/10/18 15:44:03 UTC

DO NOT REPLY [Bug 40787] New: - excessive usage of file "/dev/random", error message "too many open files"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40787>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40787

           Summary: excessive usage of file "/dev/random", error message
                    "too many open files"
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tobias.barth@web-arts.de


I got the error "too many open files" and "too many open files in system" after 
some hours of load testing.

On SuSE 10.1 (PC Platform, 32Bit SMP), the most open file is "/dev/random", but 
in my SSL settings, I use the "builtin" random generator instead 
of "/dev/random".

currently, after 15 hours of stress tests (JMeter on 2 machines with 40 threads 
each), I got 91 httpd processes running, with 23040 open files in the whole 
system, and 21552 of them being "/dev/random" used by "httpd" (prefork)-process:

www:/proc/sys/fs # cat file-nr
23040   0       500000
www:/proc/sys/fs # ps ax|grep httpd|wc -l
91
www:/proc/sys/fs # lsof |grep random|grep httpd|wc -l
21552
www:/proc/sys/fs # rpm -q apache2
apache2-2.2.0-21.7
www:/proc/sys/fs #

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40787] - excessive usage of file "/dev/random", error message "too many open files"

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40787>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40787





------- Additional Comments From dg@artegic.de  2008-01-15 07:05 -------
Are you using PHP? There is an open error in the PHP bug database with some similarities in a Apache 2 
/ PHP 5 runtime environment...it is still unclear if the error is caused by PHP or by mod_ssl / Apache.

http://bugs.php.net/bug.php?id=43105


(In reply to comment #0)
> I got the error "too many open files" and "too many open files in system" after 
> some hours of load testing.
> 
> On SuSE 10.1 (PC Platform, 32Bit SMP), the most open file is "/dev/random", but 
> in my SSL settings, I use the "builtin" random generator instead 
> of "/dev/random".
> 
> currently, after 15 hours of stress tests (JMeter on 2 machines with 40 threads 
> each), I got 91 httpd processes running, with 23040 open files in the whole 
> system, and 21552 of them being "/dev/random" used by "httpd" (prefork)-process:
> 
> www:/proc/sys/fs # cat file-nr
> 23040   0       500000
> www:/proc/sys/fs # ps ax|grep httpd|wc -l
> 91
> www:/proc/sys/fs # lsof |grep random|grep httpd|wc -l
> 21552
> www:/proc/sys/fs # rpm -q apache2
> apache2-2.2.0-21.7
> www:/proc/sys/fs #

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40787] - excessive usage of file "/dev/random", error message "too many open files"

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40787>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40787


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jorton@redhat.com  2007-02-27 09:09 -------
What SSL configuration is being used?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org