# A little debugging help needed

- Thread: https://externals.io/message/26032
- Original archive: https://news-web.php.net/php.internals/26032
- Started by Chris on 2006-10-12T03:24:22+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #26032 — Chris — 2006-10-12T03:24:22+00:00

URL: https://externals.io/message/26032#26032

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
