It is the crontab that is generating the files in /var/spool/clientmqueue ?
by cesarsj from LinuxQuestions.org on (#547VF)
We received an alert on Zabbix that the number of free inodes in / is low. I went to see which directories have the most files, and I got the following result:
Code:find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn
228130 ./var
224389 ./usr
25756 ./proc
18553 ./sys
12178 ./root
4944 ./lib
1772 ./etc
674 ./boot
600 ./dev
423 ./run
283 ./sbin
270 ./tmp
206 ./bin
142 ./lib64
58 ./home
31 .
22 ./media
9 ./mnt
5 ./profiles
5 ./opt
2 ./srv
2 ./man
2 ./homenasQuote:
So I checked that the files in /var/spool/clientmqueue contain the output of some scripts in crontab.
If the owner of the files in that directory is smmsp from the smmsp group, but sendmail is not running (nor is it allowed to run for rc.senmail), how are these files being generated? And could I delete what was already generated without causing any problems, to release inodes?
PS: OS Slackware 14.1


Code:find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn
228130 ./var
224389 ./usr
25756 ./proc
18553 ./sys
12178 ./root
4944 ./lib
1772 ./etc
674 ./boot
600 ./dev
423 ./run
283 ./sbin
270 ./tmp
206 ./bin
142 ./lib64
58 ./home
31 .
22 ./media
9 ./mnt
5 ./profiles
5 ./opt
2 ./srv
2 ./man
2 ./homenasQuote:
/var/spool# find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn 222884 ./clientmqueue 14 . 12 ./mail 10 ./cron 5 ./slrnpull 1 ./uucp 1 ./cups 1 ./atjobs |
So I checked that the files in /var/spool/clientmqueue contain the output of some scripts in crontab.
If the owner of the files in that directory is smmsp from the smmsp group, but sendmail is not running (nor is it allowed to run for rc.senmail), how are these files being generated? And could I delete what was already generated without causing any problems, to release inodes?
PS: OS Slackware 14.1