Afficher un message
Vieux 22/06/2006, 21h15   #5
allab@sympatico.ca
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Solaris 9 / Apache 1.3.36 / Too Many Open Files

Hello,

It looks like we hit the same file descriptor ptoblem.I tried to
increase the number of allowed open fd though ulimit, but I got the
following error message:
"ksh: ulimit: exceeds allowable limit"

I checked /etc/system file and did not find
rlim_fd_max
rlim_fd_cur

Please advise on how I can increase # of allowed open file descriptors.

Is there a limit of number of threads (LWP) per process?


Thanks,
Alona

Phil Cordier wrote:
> Looks like you've raised the file descriptor soft limit, but not the
> hard limit - try setting:
>
> rlim_fd_max = 8192
> rlim_fd_cur = 1024
>
> in /etc/system.
>
>
> Charles Plater wrote:
> > We have a webserver running Apache 1.3.36 on Solaris 9. If I try to add
> > more than 81 VHOSTS all of the vhosts start throwing errors:
> >
> > [Wed Jun 21 12:29:31 2006] [crit] [client <REMOVED>] (24)Too many open
> > files: /path/to/www/content/.htaccess pcfg_openfile: unable to check
> > htaccess file, ensure it is readable
> >
> > I've set rlim_rd_cur to 8192 in /etc/system (and rebooted), and
> > re-compiled apache with EXTRA_CFLAGS=-DHIGH_SLACK_LINE=256 all to no
> > avail. The data directories, configuration files, and log files are all
> > stored on an NFS filesystem (although, I'm pretty sure NFS isn't the
> > culprit here.)
> >
> > Any our suggestions would be greatly appreciated.


  Réponse avec citation
 
Page generated in 0,05012 seconds with 9 queries