Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 1997 16:48:42 -0400
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Nevin <nevin@deepwell.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Limits on apache 
Message-ID:  <15626.869690922@orion.webspan.net>
In-Reply-To: Your message of "Wed, 23 Jul 1997 13:05:13 PDT." <3.0.3.32.19970723130513.031f0ac8@deepwell.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Nevin wrote in message ID
<3.0.3.32.19970723130513.031f0ac8@deepwell.com>:

> I have receintly ran into a problem with our webserver and I was
> wondering if anyone out there might be able to explain to me
> whats going on.

> I am running a web server using apache 1.2 and stronghold 3.0 both
> on freebsd 2.2.2.

> It seems the the server wants to go boom if I try to bind more than
> 150 ip addresses to the network interface with ifconfig.

> Has anyone else had this problem or might know if there is a limit
> to the number of ip addesses that can be used?

No, the limit is on the number of file descriptors you can have open
from one process. I bet once you add up the number of file descriptors
(i.e. 1 per IP address, one per log file you have defined in apache)
that you will run into the per-process limit that is defined on your
machine. Try using the apache 1.2 commands (sorry, I don't have the
docs avail right now) to increase the resource limits, specifically
the number of file descriptors, and see if that helps.

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15626.869690922>