For Programmers: Free Programming Magazines  


Home > Archive > PERL POE > June 2005 > Re: LaDBI multiple connections problem Re: SimpleDBI - the same.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: LaDBI multiple connections problem Re: SimpleDBI - the same.
Matt S Trout

2005-06-09, 4:00 am

On Thu, May 05, 2005 at 06:39:23PM +0400, Alex wrote:
> yes,
> j - 2 iterations
> i - 150 iterations
> 150*2= 300 :)
>
> double loop is just for 'sleep 1'
>
> Maximum there must be not more than 197 connections, i
> don`t know why didn`t poe kill connection after DBI
> operation, after _stop function connection is still alive.
> Why? I don`t know :(
>
> I tried ladbi, simpledbi modules - the same errors :( Can
> anyone help me ?


Have you considered the possibility that you're only *asking* the connection
to shut down in your _stop and it hasn't actually finished shutting down by
the time you spawn another connection?

--
Matt S Trout Brag sheet: http://trout.me.uk/services.html
LAMP, Infrastructure Contact: services@trout.me.uk
and Automation
specialist Do it once. Do it right.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com