From 132c5a8937b0c711769ce97085dbb57d73b75ff6 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Fri, 13 Apr 2001 03:30:09 +0000 Subject: [PATCH] Add a section about "file table is full" errors. Submitted by: Chern Lee --- en_US.ISO8859-1/books/faq/book.sgml | 40 +++++++++++++++++++++++++++- en_US.ISO_8859-1/books/faq/book.sgml | 40 +++++++++++++++++++++++++++- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/faq/book.sgml b/en_US.ISO8859-1/books/faq/book.sgml index 06484818ef..519699d765 100644 --- a/en_US.ISO8859-1/books/faq/book.sgml +++ b/en_US.ISO8859-1/books/faq/book.sgml @@ -14,7 +14,7 @@ The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.171 2001/04/12 23:13:47 murray Exp $ + $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.172 2001/04/13 02:28:23 dd Exp $ 1995 @@ -4439,6 +4439,44 @@ IO range check 0x00 activate 0x01 your problem. + + + file: table is full shows up + repeatedly in dmesg. + + + + + This error is caused when you have exhausted the number of + available file descriptors on your system. The file table in + memory is full. + + The solution: + + Manually adjust the kern.maxfiles kernel limit + setting. + + &prompt.root; sysctl -w kern.maxfiles=n + Adjust n according to your system needs. + Each open file, socket, or fifo uses one file descriptor. + A large-scale server may easily require tens of thousands of + file descriptors (10,000+), depending on the kind and number + of services running concurrently. + The number of default file descriptors set in the kernel is + dictated by the + maxusers 32 + maxusers line in your kernel + config file. Increasing this will proportionally increase + kern.maxfiles. + + You can see what kern.maxfiles is + currently set to by: + + &prompt.root; sysctl kern.maxfiles +kern.maxfiles: 1064 + + + diff --git a/en_US.ISO_8859-1/books/faq/book.sgml b/en_US.ISO_8859-1/books/faq/book.sgml index 06484818ef..519699d765 100644 --- a/en_US.ISO_8859-1/books/faq/book.sgml +++ b/en_US.ISO_8859-1/books/faq/book.sgml @@ -14,7 +14,7 @@ The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.171 2001/04/12 23:13:47 murray Exp $ + $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.172 2001/04/13 02:28:23 dd Exp $ 1995 @@ -4439,6 +4439,44 @@ IO range check 0x00 activate 0x01 your problem. + + + file: table is full shows up + repeatedly in dmesg. + + + + + This error is caused when you have exhausted the number of + available file descriptors on your system. The file table in + memory is full. + + The solution: + + Manually adjust the kern.maxfiles kernel limit + setting. + + &prompt.root; sysctl -w kern.maxfiles=n + Adjust n according to your system needs. + Each open file, socket, or fifo uses one file descriptor. + A large-scale server may easily require tens of thousands of + file descriptors (10,000+), depending on the kind and number + of services running concurrently. + The number of default file descriptors set in the kernel is + dictated by the + maxusers 32 + maxusers line in your kernel + config file. Increasing this will proportionally increase + kern.maxfiles. + + You can see what kern.maxfiles is + currently set to by: + + &prompt.root; sysctl kern.maxfiles +kern.maxfiles: 1064 + + +