From owner-freebsd-questions@FreeBSD.ORG Wed Sep 20 18:14:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C80A16A412 for ; Wed, 20 Sep 2006 18:14:40 +0000 (UTC) (envelope-from Alex.Franks@SoleTechnology.com) Received: from core.soletechnology.com (mail.soletechnology.com [216.103.149.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B4943D4C for ; Wed, 20 Sep 2006 18:14:39 +0000 (GMT) (envelope-from Alex.Franks@SoleTechnology.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Wed, 20 Sep 2006 11:14:38 -0700 Message-ID: <40BF70F735DE5643AF18FA29A17C253C07E627FE@core.soletechnology.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD 5.4 no inodes left Thread-Index: AcbcxTdrvp4aF8aEQu+KR52/hvsC2AAGymOA From: "Alex Franks" To: "Philip Radford" , Cc: Subject: RE: FreeBSD 5.4 no inodes left X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 18:14:40 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Philip Radford Sent: Wednesday, September 20, 2006 7:55 AM To: freebsd-questions@freebsd.org Subject: FreeBSD 5.4 no inodes left Hi All, I am running FreeBSD 5.4 and have recently received the following message on our box for the /var partiton. No inodes left. I have checked the statistics and there was an apache httpd log which was maxing out the usable space. I have since removed this file and the available space has dropped to over 50%. However I still get the 'no inodes left' message even though I have freed the space. Does anyone know how I can get the inodes to be freed up on the /var partition. Thanks in advance. Regards Phil. Hey all, I recently had the *exact* same problem on a 4.11-STABLE box. Plenty of disc space on /var but out of inodes. Also, the system was incredibly sluggish despite showing loads of 0.00 across the board in uptime and top. This problem coincided with a LOT of sleeping and zombie processes. I had a cron job running every 5 minutes and couldn't even edit the crontab because of the lack of inodes. I ended up just wiping out all the directories under /var/db/pkg (since these can easily be downloaded again) and shut off the cron jobs that were spawning new procs. Turns out (part of?) the problem was qmail had a very large amount of messages in its queue. Once I flushed qmail's queue and the messages were sent out, the system returned to normal. Hope this helps you or someone else.