Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 12:39:18 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jeff Gray <jwg2@cm-24-142-61-17.cableco-op.ispchannel.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: file table full   - consequences and do I have to reboot?
Message-ID:  <20000225123918.G21720@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.10.10002251157590.67410-100000@cm-24-142-61-17.cableco-op.ispchannel.com>; from jwg2@cm-24-142-61-17.cableco-op.ispchannel.com on Fri, Feb 25, 2000 at 12:02:35PM -0800
References:  <20000225121547.F21720@fw.wintelcom.net> <Pine.BSF.4.10.10002251157590.67410-100000@cm-24-142-61-17.cableco-op.ispchannel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jeff Gray <jwg2@cm-24-142-61-17.cableco-op.ispchannel.com> [000225 12:33] wrote:
> Thanks, but..
> 
> $ ulimit -a
> cpu time               (seconds, -t)  unlimited
> file size           (512-blocks, -f)  unlimited
> data seg size           (kbytes, -d)  524288
> stack size              (kbytes, -s)  65536
> core file size      (512-blocks, -c)  unlimited
> max memory size         (kbytes, -m)  unlimited
> locked memory           (kbytes, -l)  unlimited
> max user processes              (-u)  531
> open files                      (-n)  1064      
> 
> This confuses me as I ran, earlier
>   # sysctl -w kern.maxfiles=10000
>   kern.maxfiles: 1064 -> 10000     
> 
> and if I use my standard csh
> > sysctl -A |grep files
> kern.maxfiles: 10000      
> 
> How do I use this information to solve this without rebooting?
> 
> appreciate the education.

As i said earlier, please see the login.conf manpage, don't forget
to rebuild your login database:

cap_mkdb /etc/login.conf

you'll need to login and log back out again, but not reboot.

as a side note any mailer that exceeds 1064 open files has issues.

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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