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

3 Answers 3


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.

  • please advice if I stop the service sendmail it will also to stop create files in this folder ?
    – Eytan
    Dec 26, 2013 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


I faced the same problem yesterday,It consumed 40GB of my disk space, I changed the directory permission of the clientmqueue. That's it

Not the answer you're looking for? Browse other questions tagged .