Hi guys

I was setting up qmail and I encountered a very strange problem.
Everything is setup properly, I can do virtual domains, blah blah.
In short. it works.

The thing is: whenever i start qmail, my /usr which qmail is occuping
keeps on growing. And when I stop qmail, it halts. It grows up to
the point it says no space left where in fact it has 2.2gb space. Next,
i did a du -s /usr and the space is not the same as reported df. It's
big difference. one is 500mb and the other is 4.5gb?

Now, has anyone here encountered this problem? If so, how did
you rectify this?

In case you are going to ask these questions, here are my answers:

1) qmail is working. It is running perfectly ok. I can create virtual
domains,
pop3 emails, send emails via smtp server, etc.

2) I am using ucspi-tcp and daemontools from djb as well as qmail.

3) qmail is running under /service.

4) logs are at /var/logs/qmail. it has nothing to do with /usr and it has
distinct
partitions.

5) I am using multilog.

qmaill   15407  0.0  0.0  1240  392 ?        S    00:22   0:00
/usr/local/bin/multilog t /var/log/qmail
qmaill   21727  0.0  0.0  1240  392 ?        S    00:22   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill   10392  0.0  0.0  1240  392 ?        S    00:22   0:00
/usr/local/bin/multilog t /var/log/qmail/pop3d

7) /var/qmail is a symlink for /usr/local/qmail. /usr itself is a ext2
partition of 6gb. I
am using Debian (Sid).

/dev/sda3             5.7G  1.3G  4.1G  23% /usr

pancreas:/usr/local/qmail# du -sh /usr/
591M    /usr

8) My guess is also log file as well BUT there is no log for these. And log
files are
found in /var.

>My guess is that your /var/qmail may be increasing coz of the log file,
>not the queue.  But if the queue is the problem, then try a du on the
>/var/qmail/queue directory to check if that is the one with the problem.

pancreas:/usr/local/qmail# du -sh /var/qmail/queue/
412k    /var/qmail/queue

>splogger and multilog work really fine for me, but if I'm like running
>it in supervise without testing it first, the logs tend to get really
>large if the qmail service is unable to bind to the correct port.  Just
>run the commands inside the script that you are using to run qmail.

root     14656  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise
qmail-send
root     26223  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise log
root      3662  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise
qmail-smtpd
root      1636  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise log
root     28124  0.2  0.0  1224  340 ?        S    00:22   0:08 supervise
qmail-pop3d
root     10997  0.0  0.0  1224  340 ?        S    00:22   0:00 supervise log

9) I am using a DIY Dual P-3 800 with 1GB ECC SDRAM Ram,
2 SCSI Seagate Cheetahs, running Debian (Sid).

Thank you.

Eugene
--
eMail: [EMAIL PROTECTED]
www: http://www.eugeneteo.net/

Reply via email to