Hi,
I installed DBmail 1.2.9 with PostgreSQL support from the FreeBSD ports,
created the appropriate PostgreSQL database, created a user, created the
'dbmail' user, etc... and edited /usr/local/etc/dbmail.conf
appropriately (AFAIK).
I also installed Postfix as the MTA, and it is running fine.
But when I try to run dbmail-imapd, within seconds it spawns so many
processes that the console starts showing the message "dbmail-imapd in
malloc(): warning: recursive call" repeatedly. The same thing happens
when I try dbmail-pop3d. The log fills up with messages like:
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child
[45392] has exited
Aug 3 01:30:53 bluebox dbmail/imap4d[45408]: PerformChildTask(): could
not connect to database
Aug 3 01:30:53 bluebox dbmail/imap4d[45410]: CreateChild(): signal
handler placed, going to perform task now
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating
new child
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: ParentSigHandler(): got
signal [20]
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: ParentSigHandler(): got
signal [20]
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child
[45394] has exited
Aug 3 01:30:53 bluebox dbmail/imap4d[45412]: CreateChild(): signal
handler placed, going to perform task now
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating
new child
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child
[45396] has exited
Aug 3 01:30:53 bluebox dbmail/imap4d[45414]: CreateChild(): signal
handler placed, going to perform task now
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating
new child
Aug 3 01:30:53 bluebox dbmail/imap4d[45410]: dbconnect(): PQconnectdb
failed: FATAL: sorry, too many clients already
Aug 3 01:30:53 bluebox dbmail/imap4d[45410]: PerformChildTask(): could
not connect to database
Aug 3 01:30:53 bluebox dbmail/imap4d[45412]: dbconnect(): PQconnectdb
failed: FATAL: sorry, too many clients already
Aug 3 01:30:53 bluebox dbmail/imap4d[45416]: CreateChild(): signal
handler placed, going to perform task now
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child
[45398] has exited
Aug 3 01:30:53 bluebox dbmail/imap4d[45412]: PerformChildTask(): could
not connect to database
Aug 3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating
new child
I am running FreeBSD 4.10. I searched the mailling list for similar
problems and only found one mention of this, in May 2004, with no
resolution. Any ideas what I can look for?
Regards,
Rick Morris