On Thu, Jan 21, 1999 at 02:25:16PM -0500, Jozef Gniadek wrote:
> Hi folks
> Maybe this is out of topic. On sun with solaris 2.5.1 are running mail
> server and web server, I got error msg, something like ' out of file descriptors,
> too many open files'......
> What I should do?, how I may to increase file descriptors?, if this is posible...
First, try starting qmail with the max # of file descriptors increased
from the default maximum of 64 that solaris sets. You can do this
with the ulimit builtin in most ksh-style shells, or with the limit
command in csh-like shells.
If that's not enough, find out what resources are available in the
/etc/system file under 2.5.1. In 2.6, to up the # of descriptors can
be upped by adding the following to /etc/system:
set rlim_fd_max=1024
set rlim_fd_cur=128
After you restart your system and tell it to relink your kernel, you
will have 1024 FD's available, and 128 per process. You can increase
this with ulimit afterwards.
-Peter