If you are using linux the system wide amount of open files is specified 
at run level in the file

/proc/sys/fs/file-max

just change the number to any number higher than what is allready 
specified and is a power of 2.

ex:

echo 16386 > /proc/sys/fs/file-max


On the other hand it is rarely needed to change this file-max amount 
unless the server is having quite many jobs. So dont just up the ante find 
out what processes/connections etc ties up the filehandles.

Greetings
Mikkel Fischer


On Wed, 11 Dec 2002, Burath, Philipp wrote:

> Hi,
> 
> I had this problem at one stage when using bash. It had to do with the
> maximum number of file descriptors open at one time..."ulimit" wasn't set
> high enough. A setting of 1024 fixed the problem.
> 
> ie...
> 
> root@test]# ulimit -n 1024
> 
> Hope this helps...
> 
> Regards
> ============================================
> Philipp Burath
> IT Network Support Consultant
> Western Diagnostic Pathology
> 74 Mc Coy Street Myaree WA 6154
> Perth, Australia
> Ph - +61 8 9317 0719
> [EMAIL PROTECTED]
> ============================================ 
> 
> -----Original Message-----
> From: Scott Schorling [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, 11 December 2002 4:47 AM
> To: [EMAIL PROTECTED]
> Subject: LPRng: Problem with checkpc
> 
> 
> Any idea why I get the following errors when running checkpc?
> 
> 
> Warning -   Printer_DYN 'bb-b3183bd' spool dir
> '/var/spool/lpd/bb-b3183bd' cannot be scanned 'Too many open files'
> Warning -   Printer_DYN 'ljbb3032' spool dir '/var/spool/lpd/ljbb3032'
> cannot be scanned 'Too many open files'
> Warning -   Printer_DYN 'ljbb3032d' spool dir '/var/spool/lpd/ljbb3032d'
> cannot be scanned 'Too many open files'
> Warning -   Printer_DYN 'bbmfgp1' spool dir '/var/spool/lpd/bbmfgp1'
> cannot be scanned 'Too many open files'
> Warning -   Printer_DYN 'bbmfgp1d' spool dir '/var/spool/lpd/bbmfgp1d'
> cannot be scanned 'Too many open files'
> bbmfgp1d: Initialize: cannot open '/dev/null' - Too many open files
>  
> ----------------------------------------------------------------------------
> -
> Scott Schorling                               [EMAIL PROTECTED]
> Data Center Services                  (630)798-7362
> Tellabs Operations Inc.
> 
> ============================================================
> The information contained in this message may be privileged 
> and confidential and protected from disclosure.  If the 
> reader of this message is not the intended recipient, or an 
> employee or agent responsible for delivering this message to 
> the intended recipient, you are hereby notified that any 
> reproduction, dissemination or distribution of this 
> communication is strictly prohibited. If you have received 
> this communication in error, please notify us immediately by 
> replying to the message and deleting it from your computer.
> 
> Thank you.
> Tellabs ============================================================
> 
> ----------------------------------------------------------------------------
> -
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The
> address you post from MUST be your subscription address
> 
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or
> lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
> 
> If you have major problems,  send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> ----------------------------------------------------------------------------
> -
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************
> 
> 
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
> 
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
> 
> If you have major problems,  send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
> 
> 


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to