Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26032 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70114 invoked by uid 1010); 12 Oct 2006 03:24:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70099 invoked from network); 12 Oct 2006 03:24:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2006 03:24:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=listschris@leftbrained.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=listschris@leftbrained.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain leftbrained.org from 64.165.117.58 cause and error) X-PHP-List-Original-Sender: listschris@leftbrained.org X-Host-Fingerprint: 64.165.117.58 adsl-64-165-117-58.dsl.snfc21.pacbell.net Linux 2.4/2.6 Received: from [64.165.117.58] ([64.165.117.58:55631] helo=aludra.leftbrained.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/78-06623-665BD254 for ; Wed, 11 Oct 2006 23:24:23 -0400 Received: from [64.165.117.60] (mirzam.leftbrained.org [64.165.117.60]) by aludra.leftbrained.org (8.12.8/8.12.8) with ESMTP id k9C40RWi021517 for ; Wed, 11 Oct 2006 21:00:27 -0700 Message-ID: <452DB566.4030704@leftbrained.org> Date: Wed, 11 Oct 2006 20:24:22 -0700 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: PHP - DEV Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: A little debugging help needed From: listschris@leftbrained.org (Chris) Hi, I have a problem that could be a bug, or maybe not. I was hoping to get a little feedback on ways I might go about figuring what my problem is. I've already posted this to PHP-General ( http://marc.theaimsgroup.com/?l=php-general&m=115859850619474 ), with not a lot of luck. some details are re-iterated here. I have a site that reads an xml feed from an external website, parses it, and displays the result. It seems to work well, if a little unoptimally, but occasionally the script just seems to pause. Using microtime() at various points in the page I've found that it just seems to wait (as if it were waiting for a lock or something). This seems to occur multiple times at multiple points in the script, adding up to a very slow script execution overall. It seems to average about 45-60 seconds, as opposed to the 0.5 - 1.5 it normally runs in. I've tried using APD, but it just told me what I already knew, at random points in the script it's just taking a long time. I think the next step is probably the PHP-Internal debugger, but I have no clue how to use it, is there a resource available that might help me? Thanks, I apologize in advance if anyone thinks this doesn't belong in the Internals list. Chris