Re: Fork and zombies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Apologies for topposting, I'm on my blackberry). Hm, so you think
exiting from the child thread causes the db resource to get reclaimed?

On 3/17/09, Per Jessen <per@xxxxxxxxxxxx> wrote:
> Waynn Lue wrote:
>
>> Ah, I was changing it to waiting for each child to finish in order to
>> see if I could narrow down my db problem, because I figure this should
>> be more or
>> less equivalent to running it synchronously.  Even like this, though,
>> it still causes the db problem.
>
> I think the database problem is caused by your child inheriting the
> connection, and then closing it - whilst the parent is still using it.
> Your parent needs to open a new connection.
>
>
> /Per
>
> --
> Per Jessen, Zürich (8.8°C)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux