RE: [users@httpd] Re: How to solve this descriptor problem on solaris 8 and apache 1.3.33

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx]
> Sent: Sunday, August 21, 2005 4:38 AM
> To: users@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
>


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux