Server Fault is a question and answer site for system and network administrators. 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

please advice how to stop the file creation under the directory -


the reason for that because the clientmqeueue folder have huge capacity and files created every day

I verify the folder capacity by du -sh , and folder nearly to 500M

please advice for all possibilities

share|improve this question
up vote 3 down vote accepted

You can fix this by fixing/removing/killing the application that writes to it. Workarounds like removing the directory or changing its mode just address the symptom, not the root cause.

share|improve this answer
please advice if I stop the service sendmail it will also to stop create files in this folder ? – Eytan Dec 26 '13 at 21:25

You can change directory permissions by command

chattr +i /var/spool/clientmqeueue

By this , no files can be created in this dicretory. if you want to remove protection, just run

chattr -i /var/spool/clientmqeueue

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.