From owner-freebsd-questions Tue Mar 23 6:42: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 565F414DF0 for ; Tue, 23 Mar 1999 06:41:55 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1) id 10PSN0-0001sP-0A; Tue, 23 Mar 1999 14:41:33 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from support-3.uk.radan.com (support-3 [193.114.228.220]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id OAA01687; Tue, 23 Mar 1999 14:40:33 GMT Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id OAA22352; Tue, 23 Mar 1999 14:40:31 GMT Message-ID: <36F7A7C1.7EAB70DE@uk.radan.com> Date: Tue, 23 Mar 1999 14:40:01 +0000 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB MIME-Version: 1.0 To: Kevin Weiss/AUS/Lotus Cc: freebsd-questions@freebsd.org Subject: Re: full /var system? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kevin Weiss/AUS/Lotus wrote: > > I get a report of a full /var system upon reboot, but I sure as > heck don't understand why or how. > > Anyway...whenever I reboot, when the system prompts me to login, > I start to get the following message: > > Mar 22 17:54:35 freebsd sendmail [146]: NOQUEUE: low on space (have 0, > SMTP-DAEMON needs 101 in /var/spool/mqueue > > However, whenever I look in this directory...all I see are files like > qfSAA00191, qfSAA00192, etc. > These are queued mail messages waiting to be sent > Opening these files in VI just shows messages that root is sending to > the system, primarily something about vi.recovery or something like that. > Actually, the system is sending them to root. These occur because vi sessions are not ending gracefully (e.g rebooting without exiting vi). When you log in as root you should see "You have mail". Type ``mail'' and delete the messages. > I have to kill the process right after I log in, but do I have to this > everytime? And what about my var, what on earth is making it "full" and > "low on space"? > Possibly because, as well as the mail to root telling you about the saved vi sessions, the file(s) that were being edited are saved in saved in a directory called "vi.recover" somewhere in var (/var/preserve/vi.recover I think, I'm not at home so I can't check). Obviously if these are large files and/or there are a lot of them then the relatively small /var partition will fill up quickly. See ``man vi'' for details of how to recover these files, or just delete them. HTH > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message