Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2000 18:04:05 -0400
From:      "Otter" <otterr@telocity.com>
To:        "Arcady Genkin" <antipode@thpoon.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Too many open files in system
Message-ID:  <HLEDJBJKDDPDJBMGCLPPCEGDCGAA.otterr@telocity.com>
In-Reply-To: <87wvf1c2jl.fsf@tea.thpoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Arcady,
Looking at the sysctl man page, you'll find plenty of options to
tweak. I see a kern.maxfiles option, though I'm not exactly sure what
it does. Sounds like it may be worth looking into.
-Otter


}-----Original Message-----
}From: owner-freebsd-questions@FreeBSD.ORG
}[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
}Arcady Genkin
}Sent: Saturday, October 21, 2000 5:23 PM
}To: freebsd-questions@FreeBSD.ORG
}Subject: Too many open files in system
}
}
}Today I got quite a scare.  At 16:50 I couldn't do almost anything,
}getting an error message about too many open files in system.  At
}about 17:00 all came back to normal.  I did `lsof' then, and it
}reported 913 open files, about a third of them belonging to
}apache/postgresql.  After restart of apache, the number went down to
}730.
}
}The system log contains:
}
},----
}| Oct 21 16:50:26 soup syslogd: /dev/console: Too many open
}files in \
}|                                      system: Too many open
}files in system
}| Oct 21 16:50:26 soup syslogd: /var/run/utmp: Too many open
}files in system
}| Oct 21 16:50:26 soup syslogd: /var/run/utmp: Too many open
}files in system
}| Oct 21 16:50:26 soup /kernel: file: table is full
}`----
}
}What could have caused this?  The box runs 4.1-S, and the main
}services are apache/mod_php4, postgresql, and a UW IMAP server
}(private: not a busy one).  No X.
}
}Could this have been an external attack?
}
}If there is a limit on the number of open files somewhere in the
}kernel, is it raisable?
}
}Many thanks,
}--
}Arcady Genkin
}Don't read everything you believe.
}
}
}To Unsubscribe: send mail to majordomo@FreeBSD.org
}with "unsubscribe freebsd-questions" in the body of the message



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




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