Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4120 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3948 invoked from network); 21 Aug 2003 13:45:47 -0000 Received: from unknown (HELO TANTOR.lads.co.za) (196.34.4.2) by pb1.pair.com with SMTP; 21 Aug 2003 13:45:47 -0000 Received: from mailman.reach.co.za (unverified) by TANTOR.lads.co.za (Content Technologies SMTPRS 4.3.6) with ESMTP id for ; Thu, 21 Aug 2003 15:48:05 +0200 Received: from reach.co.za (nobbie.reach.co.za [10.99.81.106]) by mailman.reach.co.za (8.12.8/8.8.7) with ESMTP id h7LDJRPi032048 for ; Thu, 21 Aug 2003 15:19:27 +0200 Message-ID: <3F44CDA3.9090706@reach.co.za> Date: Thu, 21 Aug 2003 15:48:19 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals References: <3F449706.30801@reach.co.za> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Ifx - Help ! losing my mind, thread by thread From: cornec@reach.co.za ("Corne' cornelius") no worries, i figured it out. sorry for flooding the list after horribly confuzing myself. Have a good one =) Corne' cornelius wrote: > Hi, > > Please help, after a 72 hour debugging session my mind feels dimished > past the size of a dustmite-parasite. > > Call me stupid if you want. > > Can you give me some extra tips on debugging PHP, threads, lists, > etc.. and how i can track the flow of the shutdown of a script > execution/timeout. > > The Ifx extension doesn't always close the connection to an Informix > database after ifx_close(), and what are the odds of being attached to > the specific sessions which this happens in when it's more random then > a bag of M&M's. > > Is it possible that: > > * the resource list gets dtor'd, while the ifx connection is quite > busy and can't disconnect right away, but the resource still gets > whacked from the list ? or will the dtor wait for the resource > destructor to finish ? > * another ZEND_FETCH_RESOURCE() is called during a destructor > function or do mutexes prevent this ? > > How is it possible that: > > * ifx_connect() can find a connection from another sessions > EG(regular_list) ? i thaught EG(regular_list) is private to each > session ? > > > Thanks, > Corne' > > !Exclude Disclaimer! > >