On Thu, 25 Sep 2003 10:39 am, [EMAIL PROTECTED] wrote:
> Well - the problems are never-ending here ....
>
> Our waterexchange mail server is reporting that it is out of disk space.
>
> (Outlook message: )
> "The message could not be sent because it rejected you as the sender.
> Server Response: '452 4.4.5 Insufficient disk space; try again later'.
> (Account: 'mail.mactel.net.au', SMTP Server: 'waterexchange.com.au',
> Error Number: 0x800ccc78)."

*snipped*

> Any ideas?

Hopefully you have root on the box concerned - coz it looks like either your 
mail spool or mailq is maxing out one of your disks.

"df -h" will show you sussinctly how much space is being used where on a 
per-partition basis.  "du -s" is handy to show a summary (-s) of the 
current directory's disk usage (du).  Here's a quick-and-dirty hack to find 
the biggest disk hogs starting from the current directory:

find . -xtype d -maxdepth 1 -exec du -s {} \; | sort -rn | less

here's what you should see (add a pipe to "less" if you want one screen at a 
time):
james@<myhost> - ~
>find . -xtype d -maxdepth 1 -exec du -s {} \; | sort -rn
840800  .
181340  ./.thumbnails
142528  ./Documents
130136  ./Mail
114000  ./.kde
33372   ./.mozilla
30804   ./Desktop
22520   ./Utilities
12252   ./bin
.....
4       ./.gnome_private
4       ./.gnome2_private
4       ./.gconfd

james@<myhost> - ~
>

So the process is this:
1. Find the partition that's maxed out (probably /var)
2. cd /var (assuming /var is maxed out)
3. Run the "find . -xtype...." and have a look the first few dirs.  The 
biggest disk usage will be first.
4. dig around in the big dirs and keep going (using the "fins . -xtype..." 
etc) until you idetify the problem.

Here's my guesses:
1. The current crop of viruses are putting big demands on mail servers - 
check your mail queue.  There's probably a bunch of un-sendable crud that's 
choking up the queue.  "mailq" is your friend.
2. Your users are being hammered with new viruses that I mentioned in #1.  
Add some sort of filter to clean your incoming mail: procmail, 
spamassassin, amavis or a mixture of all three :)

What mail server software are you running?  Sendmai, Postfix, Qmail 
(*cough*, choke), Exim??  I could offer some more specific help if I knew 
:)

Good luck.

--James
__________________________________
A random quote of nothing:

Cache:
        A very expensive part of the memory system of a computer that no one
        is supposed to know is there.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to