RE: limit descriptors

2006-12-27 Thread dima
On Wed, 27 Dec 2006, Marwan Sultan wrote:

> Why do you need to change it?
> is it for IRCD server ? If yes..then you have to change many things, 
> not only the output of ulimit -a,

ports/security/tor require 1000 descriptors.

> vi /etc/sysctl.conf
> kern.maxfiles=16384
> kern.maxfilesperproc=8192

> these changes will change the output you are asking for..
> If it does, then please let me know about it,
> as last time i have done these changes was in FreeBSD 4.8R

Thank you for advices.

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: limit descriptors

2006-12-27 Thread Marwan Sultan

Hello Dima,

Why do you need to change it?
is it for IRCD server ?
If yes..then you have to change many things, not only the output of ulimit 
-a,


However,
vi /etc/sysctl.conf
kern.maxfiles=16384
kern.maxfilesperproc=8192

which will set:
Number of max filedescriptors for the kernel
and
max number of filedescriptors per process respectively.

these changes will change the output you are asking for..
If it does, then please let me know about it,
as last time i have done these changes was in FreeBSD 4.8R


Best Luck.

- Marwan Sultan.


Hello.

How to change permanently a value of "ulimit -n" (limit descriptors)?

--
dima <7509107*mail,ru> <2:550/112>


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"