Антон Нехороших wrote:
Hi dbmail-dev,
I think what needed run db_connect before creating children and
replace fork function to pthread_*
function.
What think?
Simply in ORACLE there is no support persistent connection and on
this there is a huge quantity of connection to base,
consumption of memory and etc...
It's not veful to go to a thread-based model. This will give way too
many problems, and does not give any advantage IMHO.
To reduce the number of database connections, we will merge Paul J
Steven's preforking patch into DBMail 2.1 (the developement version).
This will make sure there aren't too many unused connections sitting
around doing nothing.
Come to think of it, now might be a good time to add this patch to HEAD.
Ilja
--
Ilja Booij
IC&S B.V.
Stadhouderslaan 57
3583 JD Utrecht
www.ic-s.nl
T algemeen: 030 6355730
T direct: 030 6355739
F: 030 6355731
E: [EMAIL PROTECTED]