Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 17:17:52 +0100
From:      Brad Knowles <blk@skynet.be>
To:        Tom <tom@uniserve.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Error: "Maximum file descriptors exceeded"...
Message-ID:  <v0422080bb4e1a1775a15@[195.238.1.121]>
In-Reply-To: <Pine.BSF.4.05.10002290808390.20291-100000@shell.uniserve.ca>
References:  <Pine.BSF.4.05.10002290808390.20291-100000@shell.uniserve.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:12 AM -0800 2000/2/29, Tom wrote:

>  Beware of per-user limits.  You don't mention what user you ran "limit"
>  as, or what user the news server process runs as.  Each could have very
>  different limits.  See /etc/login.conf.  It might even depend on how the
>  server server process is started.  Processes started at boot run under the
>  "daemon" class, for instance.

	In theory, this is true.  However, my /etc/login.conf does not 
appear to be configured this way:

$ grep -v '^#' /etc/login.conf



default:\
         :copyright=/etc/COPYRIGHT:\
         :welcome=/etc/motd:\
         :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
         :path=~/bin /bin /usr/bin /usr/local/bin /usr/X11R6/bin:\
         :nologin=/var/run/nologin:\
         :cputime=unlimited:\
         :datasize=unlimited:\
         :stacksize=unlimited:\
         :memorylocked=unlimited:\
         :memoryuse=unlimited:\
         :filesize=unlimited:\
         :coredumpsize=unlimited:\
         :openfiles=unlimited:\
         :maxproc=unlimited:\
         :priority=0:\
         :ignoretime@:\
         :umask=022:


standard:\
         :tc=default:
xuser:\
         :tc=default:
staff:\
         :tc=default:
daemon:\
         :tc=default:
news:\
         :tc=default:
dialer:\
         :tc=default:

root:\
         :ignorenologin:\
         :tc=default:

russian:Russian Users Accounts:\
         :charset=KOI8-R:\
         :lang=ru_RU.KOI8-R:\
         :tc=default:

>  BTW, the system wide file limit is not static.  You don't need to
>  re-compile to change it, or even reboot.  Just use sysctl.

	I guess I'm going to have to read up on that....


	Thanks!

-- 
  These are my opinions and should not be taken as official Skynet policy
=========================================================================
Brad Knowles, <blk@skynet.be>       Sys. Arch., Mail/News/FTP/Proxy Admin

Note: No Microsoft programs were used in the creation or distribution of
this message. If you are using a Microsoft program to view this message,
be forewarned that I am not responsible for any harm you may encounter as
a result.

See <http://i-want-a-website.com/about-microsoft/twelve-step.html>; for
details.


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




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