Date: Tue, 23 Mar 1999 14:40:01 +0000 From: Mark Ovens <marko@uk.radan.com> To: Kevin Weiss/AUS/Lotus <Kevin_Weiss/AUS/Lotus@lotus.com> Cc: freebsd-questions@freebsd.org Subject: Re: full /var system? Message-ID: <36F7A7C1.7EAB70DE@uk.radan.com> References: <OF434B0709.E4BAE750-ON8625673D.0048EEAA@lotus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F7A7C1.7EAB70DE>