httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [users@httpd] apache start segmentation fault: EMLINK (Too many links)
Date Thu, 14 Dec 2006 13:25:07 GMT
On Thu, Dec 14, 2006 at 11:36:35AM +0100, alex handle wrote:
> Hi!
> 
> Yesterday i migrated an old webserver (Apache 1.3.34, FreeBSD 5.2.1) to
> Apache 2.2.3 and FreeBSD 6.1.
> 
> The configuration consists of 776 vhost.
> After importing the vhosts.conf file i did a "apachectl configtest" and it
> showed no errors.
> But with "apachectl start" i get an segmentation fault.

> open("/dev/random", O_RDONLY|O_NONBLOCK|O_NOCTTY|O_NOFOLLOW) = 1495
> select(1496, [0 3 4 6 8 9 10 11 13 14 16 18 20 21 22 29 33 34 35 37 38 40 42

Did you have mod_ssl loaded in the previous configuration? 

Versions of OpenSSL older than 0.9.8c can crash when reading from the 
random device on some platforms when the fd number returned by open has 
been pushed above the FD_SETSIZE setting.  If that's really the cause 
then there are a number of possible choices:

1) disable mod_ssl
2) recompile OpenSSL with -DFD_SETSIZE=4096 if the platform allows this
3) upgrade to a newer OpenSSL

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message