Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am facing an issue with Ubuntu server.I am running php script using cron job which executes after every 5 minutes which is basically updating mysql table. This folder spool/mqueue is showing 112GB space. How can we reduce the space & what might be the reason of this change?

share|improve this question
@BlackHatShadow: This question is perfectly on topic here. – Dennis Jan 25 '13 at 11:58

The mqueue folder is where emails are stored. cron jobs will send an email to the user running the cron job with any output from the job.

If you do not need this, then you can tell cron not to send email:

crontab -e

Then insert before the php job:

share|improve this answer

That folder is for mail queue. Run command 'mailq' to see what is in queue. If it's full of spam, you can do some cleanup. If those mails should be sent, you have to find out why your sendmail (or whatever is in use) is not working properly.

mailq might need sudo rights to run.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.