Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4119 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35857 invoked from network); 21 Aug 2003 09:52:57 -0000 Received: from unknown (HELO TANTOR.lads.co.za) (196.34.4.2) by pb1.pair.com with SMTP; 21 Aug 2003 09:52:57 -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 11:55:10 +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 h7L9QRPi023002 for ; Thu, 21 Aug 2003 11:26:33 +0200 Message-ID: <3F449706.30801@reach.co.za> Date: Thu, 21 Aug 2003 11:55:18 +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 Content-Type: multipart/alternative; boundary="------------010000080604040703060106" Subject: Ifx - Help ! losing my mind, thread by thread From: cornec@reach.co.za ("Corne' cornelius") --------------010000080604040703060106 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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! --------------010000080604040703060106--