php execution slow, esp when POSTing
I'm trying to help out a friend of mine with some problems he's having on his first cpanel machine.FreeBSD 5.4, Apache 1.3.34, php 5.05, only about a dozen accounts on there, load always < 1, latest stable cpanel, php-as-a-cgi .
So, this site has a shopping cart where you buy rims/wheels for automobiles. As you surf, everything has decent speeds. however, when you select an item and press 'Add to Cart', it hangs for a LONG time.
A truss of the process gave me nothing - just a blank screen for about a minute, then suddenly all the processing started, and finished immediately. I've tried my damndest to trace the process from the very beginning, but it's friggin difficult when its called by apache directly.
This is my first time using php 5.x . Where should I look?
All the symptoms seem to indicate some sort of blocking in place - like it's waiting for some network connection or something, but I don't see any indication in the truss output.
Any ideas?