LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-15-2011, 06:42 PM   #1
farooklk
LQ Newbie
 
Registered: Aug 2011
Posts: 11
Blog Entries: 1

Rep: Reputation: Disabled
/var/lib/amavis dir becoming big


if anybody can help me?
what are these dir created on amavis? and how can i clean this?

far@mail:/var/lib/amavis$ sudo du -sh * 1.2M amavis-20101007T103638-22344
296K amavis-20101007T135324-19317
44K amavis-20101007T135906-19994
4.8M amavis-20110106T181631-06258
4.8M amavis-20110106T181639-06350
12K amavis-20110109T073502-26787
36K amavis-20110109T073554-26997
8.0K amavis-20110109T085526-04126
24K amavis-20110111T100032-04019
64K amavis-20110307T123440-07664
16K amavis-20110307T123511-07688
104K amavis-20110513T084756-27086
104K amavis-20110513T090136-28201
80K amavis-20110513T165525-17773
92K amavis-20110513T165612-17807
12K amavis-20110525T161706-13232
200K amavis-20110525T162516-14053
24K amavis-20110528T110555-05955
36K amavis-20110528T114756-09736
1.3M amavis-20110602T201849-04735
992K amavis-20110621T092818-23309
256K amavis-20110621T093036-23659
164K amavis-20110621T110231-04752
12K amavis-20110624T042312-28948
44K amavis-20110624T043717-29536
20K amavis-20110624T095732-16493
476K amavis-20110624T100031-16869
48K amavis-20110625T125438-08407
240K amavis-20110625T134302-11522
12K amavis-20110625T134815-04700
8.0K amavis-20110625T135559-04701
28K amavis-20110730T145734-07235
16K amavis-20110730T154732-10829
20K amavis-20110806T074320-31086
12K amavis-20110806T101313-10357
12K amavis-20110808T073503-22854
32K amavis-20110808T074209-04715
1.2M amavis-20110808T165649-22864
236K amavis-20110808T170330-23360
356M amavis-20110810T133733-27401
232M amavis-20110810T135523-29172
12K amavis-20110810T140217-29728
256K amavis-20110810T151815-04868
3.3M amavis-20110810T153217-07267
232M amavis-20110810T162441-13148
232M amavis-20110810T170013-16963
44K amavis-20110810T191644-29025
12K amavis-20110811T010038-32045
304K amavis-20110811T045230-26613
12K amavis-20110811T080851-18923
80K amavis-20110811T092156-00748
232M amavis-20110811T103826-13833
232M amavis-20110811T114125-28683
6.5M amavis-20110811T120244-31265
6.5M amavis-20110811T120510-31265
232M amavis-20110811T125712-04218
232M amavis-20110811T141012-09299
264M amavis-20110811T231622-02787
232M amavis-20110812T154558-12073
16M amavis-20110812T160112-12990
12K amavis-20110812T165723-15720
13M amavis-20110813T034958-07264
12K amavis-20110813T051249-10291
12K amavis-20110813T054934-11434
2.1M amavis-20110813T093208-26674
196K amavis-20110813T103651-31592
228K amavis-20110815T131727-16326
176M amavis-20110815T170523-28296
164K amavis-20110815T172415-30565
12K amavis-20110815T172450-30565
12K amavis-20110815T173215-30565
27M amavis-20110815T173352-31521
27M amavis-20110815T173954-32153
32K amavis-20110815T180350-00852
27M amavis-20110815T181825-01729
340K amavis-20110815T191116-03615
3.6M amavis-20110815T221733-31846
3.8M amavis-20110815T223257-00841
340K amavis-20110815T225414-03540
3.3M amavis-20110816T044916-31538
108K amavis-20110816T045012-31540
4.0K db
4.0K tmp
4.0K virusmails
 
Old 08-16-2011, 12:48 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Take a look here. Just change the path to /var/lib/amavis

Regards

Last edited by bathory; 08-16-2011 at 12:56 AM.
 
1 members found this post helpful.
Old 08-16-2011, 01:32 AM   #3
farooklk
LQ Newbie
 
Registered: Aug 2011
Posts: 11

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Thumbs up

Hi buddy,
thanks for you information, i have free some space using bellow command. once again thank u very much
find /var/amavis -type d -name 'amavis-20??????T*' \ -prune -mtime +1 -exec rm -rf {} \;
Quote:
Originally Posted by bathory View Post
Hi,

Take a look here. Just change the path to /var/lib/amavis

Regards

Last edited by farooklk; 08-16-2011 at 09:00 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
owner of dir /var/spool/amavis is changed saavik Linux - Server 4 10-02-2007 07:27 AM
can't install ia32-lib (dir full) rbees Debian 3 08-09-2007 09:10 PM
Moving /var/adm and /var/lib - why does it hurt? J_Szucs Linux - General 1 09-15-2004 06:46 PM
corrupt /var/lib/available/ lopette Linux - Software 1 09-08-2004 01:05 AM
MYSQL on Slackware9.0 ./mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13) Litn Linux - Software 2 09-02-2003 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration