httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alex handle" <alex.han...@gmail.com>
Subject Re: [users@httpd] apache start segmentation fault: EMLINK (Too many links)
Date Thu, 14 Dec 2006 16:40:06 GMT
On 12/14/06, Joe Orton <jorton@redhat.com> wrote:
>
> 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
>

you made my day!
I disabled mod_ssl and apache starts without a segfault.

Thx!

Alex

Mime
View raw message