OK, that took care of it, thanks ;-)
My mistake-- I didn't realize how many default children were starting
up. Running fine now, so I will start testing it out.
Once I get this all figured out, I would be interested in doing an
article on dbmail+PostgreSQL for PHP developers. There are a lot of PHP
developers who would _love_ to be able to get better mail interaction
than is possible with existing systems, and it looks like DBmail is a
perfect fit. Much easier than the typical Courier/IMAP/PostgreSQL
install, not to mention more useful. (I have written a couple
PHP/PostgreSQL articles already, for PHP|Architect magazine)
As a note, it would be a nice thing if it did gracefully exit from a
situation like mine, as Paul Stevens mentioned.
Best Regards,
Rick Morris
Matthew T. O'Connor wrote:
Rick Morris wrote:
Hi Paul,
Thanks for responding. Unfortunately, I don't think the database
connection is the problem. The system has no trouble connecting to
PostgreSQL to add users. The message you are seeing mentions that
dbmail "could not connect to database", but that is because of the
other repeated log message "dbconnect(): PQconnectdb failed: FATAL:
sorry, too many clients already". Of course, if we have runaway
process spawning, PostgreSQL will stop allowing connections after
just a few seconds. In fact, since this is an underpowered test
machine, My max-connections is set at only 40.
I will be glad to try any other tests you suggest (gdb backtrace?). I
am very interested in the possibility of using dbmail on my
production servers.
but what is the posgresql max connections set as? I think the default
in 7.4 is fairly high, but in 7.3 it might be less than 40.
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail