Unix Technical Forum

Too many open files in system, /bsd: file: table is full

This is a discussion on Too many open files in system, /bsd: file: table is full within the lucky.openbsd.misc forums, part of the OpenBSD category; --> Hi! I got a few "Postmaster notify" from Sendmail, telling me there was "mail.local: /var/mail/many: Too many open files ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 06:26 AM
Mackan
 
Posts: n/a
Default Too many open files in system, /bsd: file: table is full

Hi!

I got a few "Postmaster notify" from Sendmail, telling me there was
"mail.local: /var/mail/many: Too many open files in system" and also
a few with "mail: can't load library 'libc.so.39.0'".

/var/log/messages told me:
Aug 27 16:00:01 blowfish /bsd: file: table is full
Aug 27 16:00:01 blowfish last message repeated 19 times
Aug 27 16:02:11 blowfish last message repeated 4 times
Aug 27 16:07:14 blowfish last message repeated 128 times

So, I made some googling, and found a few similar cases, and someone
suggested
changing the kern.maxfiles. I did "sysctl -w kern.maxfiles=10000" to
increase
the value from 1772 to 10000, and put the same value in /etc/sysctl.conf

This is a GENERIC 3.9 install, on an i386 P4 1GB ram machine, running
Sendmail,
Apache, MySQL, Samba. I have a few scripts in crontab collecting
SNMP data
from my router to MRTG, besides that this is a low traffic server,
with few users
and a few websites.

I think 1772 files seems to be too low as default. Is it?
And is 10000 a too high value?


Mackan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com