For Programmers: Free Programming Magazines  


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









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
Alex

2005-06-09, 4:00 am

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 ?

thank you

> You start out by creating 298 sessions? j=1 less than 3,
>is two
> iterations, two times i=1 less than or equal to 150 is
>298? This happens
> before you even start the kernel...
>
> Why the double loop anyways?
>
> for my $i (0..195) {
> ...
> }
>
>
> [snip]
>
> http://danconia.org


---
Professional hosting for everyone - http://www.host.ru
Sponsored Links







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

Copyright 2008 codecomments.com