httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Falkenberg <harald.falkenb...@desy.de>
Subject RE: [users@httpd] Re: How to solve this descriptor problem on solaris 8 and apache 1.3.33
Date Wed, 24 Aug 2005 20:23:45 GMT
Hallo Matthew,

in the /etc/system I set:
set rlim_fd_max = 8192
* set soft limit on file descriptors
set rlim_fd_cur = 4096


ulimit -a as root shows:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 1024
memory(kbytes) unlimited

ulimit -a as web server process owner shows:
time(seconds) 600
file(blocks) unlimited
data(kbytes) 1000000
stack(kbytes) 8192
coredump(blocks) 0
nofiles(descriptors) 2268
memory(kbytes) 1000000
-
Any comments?

I beleave that the fd_setsize compiler parameter should solve the problem.

regards
	Harald

On Wed, 24 Aug 2005, Matthew McHugh wrote:

> Harald,
>
> Have you upped the FD limit via modifying /etc/system with the correct
> parameters?  What happens when you do a ulimit -a as root?  What's the
> output?
>
>
> Matt
>
> -----Original Message-----
> From: Harald Falkenberg [mailto:harald.falkenberg@desy.de]
> Sent: Sunday, August 21, 2005 4:38 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] Re: How to solve this descriptor problem on solaris 8
> and apache 1.3.33
>
> Hallo,
>
> is there nobody on the list who can point me to the necessary steps to solve
> the problem?
>
> bye
> 	Harald
>
> On Thu, 18 Aug 2005, Harald Falkenberg wrote:
>
> > Hallo,
> >
> > in the error log of the apache server (version 1.3.33) I noticed the
> > following lines:
> >
> > [Wed Aug 17 12:48:49 2005] [warn] send body: filedescriptor (1220)
> > larger than FD_SETSIZE (1024) found, you probably need to rebuild
> > Apache with a larger FD_SETSIZE
> >
> > The server is configured with 70 shared servers and ulimit is set to
> > 	ulimit -n 2048
> >
> > There seems to be a limit inside apache. How can I change it?
> >
> > Furthermore I would like to know why apache is requirering so many
> > descriptors. We use inside apache mods for php and perl. Does this affect?
> >
> > regards
> > 	Harald
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>
>


---------------------------------------------------------------------
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