Hello,

I have a problem with dbmail on Freebsd. The situation is that dbmail 
fills all the /tmp space (seems to not releasing used space/opened file) 
and when it's full the imap daemon starts acting strange, postfix cant 
flush new mails ... (pop daemon still works).
We have 2 installations with identical symptoms.

1. Our setup
FreeBSD 7.0-RELEASE-p7
dbmail 2.2.11
Mysql 5.0 hosted on dedicated server

The problem happen rarely (once in a few month) could be because the low 
traffic volume.

#du -h /tmp
shows 88K used

#df -h /tmp
shows 89M used

# lsof | grep /tmp | grep dbmail
shows lots of open files ..

.....
dbmail-im 97091  nobody   18u    VREG       0,92      82761     269 /tmp 
(/dev/da0s1e)
dbmail-im 97091  nobody   19u    VREG       0,92      82761     274 /tmp 
(/dev/da0s1e)
dbmail-im 97091  nobody   20u    VREG       0,92    1176746     275 /tmp 
(/dev/da0s1e)
dbmail-im 97091  nobody   21u    VREG       0,92      57917     279 /tmp 
(/dev/da0s1e)
.....

summing the sizes seems to cerate these 89M


case Nr 2 is an installation for our client
FreeBSD 6.2-RELEASE-p11
dbmail 2.2.11
Mysql also hosted on other server

It takes ~ 1 week to fill the /tmp

#du -h /tmp shows 734K
# df -h /tmp shows 278M
#lsof | grep /tmp | grep dbmail
shows lots of open files
.....
dbmail-im 97519  nobody   17u    VREG       0,89   12840447      69 /tmp 
(/dev/ad0s1e)
dbmail-im 97519  nobody   18u    VREG       0,89    9689295      72 /tmp 
(/dev/ad0s1e)
dbmail-im 97519  nobody   19u    VREG       0,89     327779      78 /tmp 
(/dev/ad0s1e)
dbmail-im 97519  nobody   20u    VREG       0,89     447281      81 /tmp 
(/dev/ad0s1e)
....

The probleam was also for dbmail 2.2.10 and some earlier versions
For now we have to periodically restart dbmail-imap daemon to release 
/tmp. Also i have noticed that if i restart mysql (witch is on different 
server)
 /tmp is also freed.

How can i be useful to help solve this problem?

 
Best Regards,
Guntis

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to