Spam filling up and killing /tmp?

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
geefin
Forum User
Forum User
Posts: 54
Joined: Fri Jan 12, 2007 6:43 am

Spam filling up and killing /tmp?

Unread post by geefin »

Hi,

Over the moon with the spam protection (as are my clients) but I've had quiet a few storage error 28 (lack of space in /tmp) recently. Keep clearing it down (now a daily chore) and on examination the majority of files are -

Code: Select all

-rw-r--r--   1 qmaild   nofiles  488826 Feb 20 21:58 greylist_dbg.txt
-rw-------   1 popuser  popuser   60005 Feb 15 08:49 .spamassassin120124oGg3Ktmp
-rw-------   1 popuser  popuser   45672 Feb 16 09:28 .spamassassin323822gmI2Ltmp
-rw-------   1 popuser  popuser   44494 Feb 20 08:51 .spamassassin13676J63Gfntmp
-rw-------   1 popuser  popuser   43304 Feb 13 12:39 .spamassassin14830n33DGNtmp
-rw-------   1 popuser  popuser   42644 Feb 15 13:59 .spamassassin4140ihPTPqtmp
-rw-r--r--   1 root     root      42012 Feb 20 16:22 autoinstaller3.log
-rw-------   1 popuser  popuser   39364 Feb 15 13:40 .spamassassin2859mMVbjYtmp
-rw-------   1 popuser  popuser   37862 Feb 10 20:27 .spamassassin9452MtkJNgtmp
-rw-------   1 popuser  popuser   36505 Feb 19 19:25 .spamassassin6449WVdl5ctmp
-rw-------   1 popuser  popuser   35772 Feb 15 13:21 .spamassassin1740d6Nw7Otmp
-rw-------   1 popuser  popuser   34353 Feb 19 23:23 .spamassassin11577JjI8w0tmp
-rw-------   1 popuser  popuser   33611 Feb 19 19:54 .spamassassin9843VqUvsJtmp
(sorted by size) Spam Assassin related. Later on there are lots of qscand files -

Code: Select all

-rw-------   1 qscand   qscand        0 Feb 18 17:46 ogpr1G
-rw-------   1 qscand   qscand        0 Feb 18 13:10 oo4CHC
-rw-------   1 qscand   qscand        0 Feb 18 19:26 -OocVL
-rw-------   1 popuser  popuser       0 Feb 18 18:49 OoJczF
-rw-------   1 qscand   qscand        0 Feb 18 13:22 oReaQb
-rw-------   1 popuser  popuser       0 Feb 18 14:29 OrxoU2
-rw-------   1 qscand   qscand        0 Feb 18 10:20 OzjXLC
-rw-------   1 qscand   qscand        0 Feb 18 06:13 P1825k
-rw-------   1 popuser  popuser       0 Feb 18 12:41 p49aRK
Although obviously the size of these is less critical. Should I be running a script to clean these up? It's getting a little annoying having to clear down things (I know I'm allowed to!) each day :cry:

Any advice or help would be most appreciated :)
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Its supposed to do that automatically, looks like something in your environment is breaking the cleanup routines.
geefin
Forum User
Forum User
Posts: 54
Joined: Fri Jan 12, 2007 6:43 am

Unread post by geefin »

Hmm, well looking at the dates, the qscand random number files (tiny) are all from the 18th Feb. However, the .spamassassin ones range from ~10 days ago to current.

Are the old ones of these okay to clean/remove? Or, could you point me to the cleanup script and I'll have a nose through to see what's borking it? :)

Cheers!
Graeme.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Do you have tmpwatch installed? I thought it's installed by default and it should clean out /tmp (among others) on a daily basis.
Lemonbit Internet Dedicated Server Management
geefin
Forum User
Forum User
Posts: 54
Joined: Fri Jan 12, 2007 6:43 am

Unread post by geefin »

I've got -

Code: Select all

/usr/sbin/tmpwatch
/etc/cron.daily/tmpwatch
tmpwatch 2.9.3 it seems.
Post Reply