Need your help: Bad file descriptor and too many files open
Axel.Gruner at suedfactoring.de
Axel.Gruner at suedfactoring.de
Thu Oct 20 03:35:40 PDT 2005
Hi,
I get the following messages sometimes if i try to restart sshd:
#etc/rc.d/sshd restart
eval: Pipe call failed: Bad file descriptor
eval: Pipe call failed: Bad file descriptor
[...]
#/etc/rc.d/sshd restart
/etc/rc.subr: Pipe call failed: Too many open files in system
I am running 5.4-RELEASE-p6. Dual XEON 3.06GHz with 2 GB of RAM.
sysctl:
#sysctl -a kern.openfiles
kern.openfiles: 9607
#sysctl -a kern.maxfiles
kern.maxfiles: 65536
/etc/sysctl.conf:
kern.maxfiles="65536"
kern.ipc.nmbclusters=64000
kern.ipc.nmbufs=256000
kern.maxproc=8192
kern.ipc.somaxconn=4096
#vmstat -i
interrupt total rate
irq24: xl0 46574469 169
[...]
irq29: em0 1 0
irq30: em1 1 0
Device Polling is active.
load averages: 1.00, 1.08, 1.09
647 processes: 1 running, 644 sleeping, 2 zombie
A lot of users connects via ssh (x-forward). Also sometimes they can not
connect because of "too many open files".
So what could be the problem? Any hints?
Thanks in advance.
asg
########################################################################
# DISCLAIMER #
# #
# Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der #
# angegebene Empfaenger sind oder falls diese Email irrtuemlich an Sie #
# addressiert wurde, verstaendigen Sie bitte den Absender sofort und #
# loeschen Sie die Email umgehend. Das unerlaubte Kopieren sowie die #
# unbefugte Uebermittlung sind nicht gestattet. #
# Die Sicherheit von Uebermittlungen per Email kann nicht garantiert #
# werden. Falls Sie eine Bestaetigung wuenschen, fordern Sie bitte den #
# Inhalt der Email als Hardcopy an. #
# #
# #
# The contents of this e-mail are confidential. #
# If you are not the named addressee you should not disseminate, #
# distribute or copy this e-mail. Please notify the sender immediately #
# if you have received this e-mail by mistake and delete this e-mail #
# from your system. Finally, the recipient should check this email and #
# any attachments for the presence of viruses. The company accepts no #
# liability for any damage caused by any virus transmitted by this #
# email. #
# #
# SuedFactoring GmbH, Heilbronner Strasse 86, 70191 Stuttgart #
########################################################################
More information about the freebsd-questions
mailing list