LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-19-2006, 12:34 PM   #1
jerlinuxdude
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Unhappy how to clear out /var/spool/clientmqueue


I recently ran out of disk space on my FC4 system. When I invesitgated this, I found that /var/spool/clientmqueue was occupying 14GB of disk space (as revealed by issuing "du -h" in /var/spool).

When I try to us ls on the directory, the system just hangs there. When I try to "rm -f /var/spool/clientmqueue/*" after a few seconds my terminal screen closes on me.

So far, nothing I tried has helped me to clean out that clientmqueue directory. Any suggestions? Please!!

Thanks.
 
Old 09-20-2006, 05:03 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Try using mailq to see if there is any queued mail messages on the system. Is this system setup as an actual mail server?
 
Old 09-21-2006, 09:37 AM   #3
jerlinuxdude
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trickykid
Try using mailq to see if there is any queued mail messages on the system. Is this system setup as an actual mail server?
I tried using the "mailq -Ac" command, but it seems to hang... takes forever to display any results. In fact, I am typing this while waiting for the results.

This server is not a mail server at all. It's primary role is to run MRTG for monitoring bandwidth in all segments of our network.

Thanks.
 
Old 09-23-2011, 08:53 AM   #4
venikathir
LQ Newbie
 
Registered: Apr 2011
Location: Bangalroe-India
Distribution: Redhat EL5
Posts: 24

Rep: Reputation: 1

please check the /etc/sysmail/sendmail DAEMON=yes ?
else make it yes and restart ur sendmail then see every thing will flush

check before ur sendmail config

mta and msp are ok

 
Old 03-29-2012, 02:02 AM   #5
dmarco
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Just delete the files there.

cd /var/spool/clientmqueue; find . -type f | xargs rm -rf

and add an entry to the crontab.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/var/spool/clientmqueue filling up, but never emptying peckert Linux - Software 1 06-01-2006 06:50 AM
/usr/spool and /var/spool davidsrsb Slackware 1 04-06-2006 05:57 AM
error: sm-client: can not chdir(/var/spool/clientmqueue/): No such file or directory asif2k Linux - Software 1 03-14-2006 05:06 PM
sendmail filling /var/spool/clientmqueue/ on FC4 alesz Linux - Networking 0 10-06-2005 02:50 PM
/var/spool/clientmqueue chintanDesai Linux - Software 0 03-22-2004 03:07 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration