Hi; I'm running qmail on freebsd on a HP Vectra with 64megs of RAM
and running into what I'm sure is a stupid and avoidable problem.
I was sending out about 100,000 messages through the box. It churned through
about 50,000, but with the queue at around 35,000, it started choking and
stopped accepting new
messages:
May 9 09:55:36 free /kernel: pid 191 (qmail-send), uid 87 on /var: out of
inodes
May 9 09:55:36 free qmail: 957866136.697686 alert: unable to append to
bounce message; HELP! sleeping...
May 9 09:55:46 free /kernel: pid 191 (qmail-send), uid 87 on /var: out of
inodes
May 9 09:55:46 free qmail: 957866146.705195 alert: unable to append to
bounce message; HELP! sleeping...
May 9 09:55:56 free /kernel: pid 191 (qmail-send), uid 87 on /var: out of
inodes
May 9 09:55:56 free qmail: 957866156.715425 alert: unable to append to
bounce message; HELP! sleeping...
May 9 09:56:06 free /kernel: pid 191 (qmail-send), uid 87 on /var: out of
inodes
May 9 09:56:06 free qmail: 957866166.728117 alert: unable to append to
bounce message; HELP! sleeping...
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused
Mounted on
/dev/wd0s1a 297663 80875 192975 30% 1043 73835 1% /
/dev/wd0s1f 1599187 404570 1066683 27% 65823 335647 16% /usr
/dev/wd0s1e 396895 121201 243943 33% 99832 6 100% /var
procfs 4 4 0 100% 28 504 5%
/proc
This is what I suspect I need to do.
1) Add more memory to the box.
I know how to do this.
2) Get qmail working concurrently.
I know how to do this: qmail FAQ 8.1
3) Set an inode limit on qmailq (??)
I don't know if I should do this and I don't know how to do this.
4) Fix the filesystem somehow.
Something like increasing the # of available inodes, partitioning?
I don't know how to do this. I know this is semi-off-topic.
5) do the the "Patches for high-volume servers"
http://qmail.org/top.html#large
I'm not sure if this would be necessary. Maybe 1-4 (or something else?)
would be sufficient.