Re: Too many connections with DBI

2001-01-12 Thread Scott Alexander
On 11 Jan 2001, at 8:28, Scott Alexander wrote: My original message was below. I always understood each Apache child runs for a set number of times then stops. But I checked my httpd.conf file and the MaxRequestsPerChild is set to 0 Why would it ever ask for a new connect? Or is there

Re: Too many connections with DBI

2001-01-11 Thread Edmund Mergl
Scott Alexander wrote: Hi, Why do I see this in the log 13402 Apache::DBI need ping: yes 13402 Apache::DBI new connect to 'my_dbmy_usermy_passwdAutoCommit=1PrintError=1' when I have in the startup.pl file Apache::DBI-connect_on_init

Too many connections with DBI

2001-01-10 Thread Scott Alexander
HI, I'm using a AuthAny handler to authenticate for every script. Today for the first time the production server was put thru it's paces. I had about 80 users at the same time. Checking the apache error log there were a lot of DBI-connect failed: Too many connections at /systems/humakpro

Re: Too many connections with DBI

2001-01-10 Thread Stas Bekman
failed: Too many connections at /systems/humakpro/lib/library.pm line 213 I have 10 different databases. Would I solve this problem if I started using persistent connections? I've installed ApacheDBI on a test server but I can't produce the same load or can I ? Looks like you are not closing

Re: Too many connections with DBI

2001-01-10 Thread Perrin Harkins
On Wed, 10 Jan 2001, Scott Alexander wrote: It really peaked at 14:38:41 and then in the error_log Ouch! malloc failed in malloc_block() DBI-connect failed: Too many connections at /systems/humakpro/lib/library.pm line 213 [Wed Jan 10 14:38:41 2001] [error] Can't call method "pr

Re: Too many connections with DBI

2001-01-10 Thread Scott Alexander
Hi, Why do I see this in the log 13402 Apache::DBI need ping: yes 13402 Apache::DBI new connect to 'my_dbmy_usermy_passwdAutoCommit=1PrintError=1' when I have in the startup.pl file Apache::DBI-connect_on_init ("DBI:mysql:my_db", "my_user",