 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
FlyboyData
Joined: 30 Apr 2008 Posts: 3 Location: Portland, OR, USA
|
Posted: Wed Apr 30, 2008 4:50 am Post subject: Extremely slow PEAR performance |
|
|
Hello,
My company has a web app which uses PEAR and the DB library running in the SAMP environment (Solaris 10, Apache2, MySQL5, PHP 5). I was asked to create a mirrored server for the application, however it seems to be running rather slowly (~15 seconds) any time the server requests a php page which requires DB.php. The server is lightning fast when it returns a straight .html page or a php page that doesn't use DB.php (and yes, I know DB.php has been deprecated, however I didn't develop the app, and I don't intend to redevelop it either ).
The MySQL 5 performance is acceptable as well, and the system is running MySQL5 locally.
I have set the Apache2 log level to DEBUG, and I am getting no useful messages in error_log as to what the problem might be.
HELP! Anyone know how I can debug this problem? The server is almost identical to the original server which runs things quite quickly (instantaneous response to the same pages that take forever on the new server...). I installed the entire server (and the original one that we copied) using the instructions from the BigAdmin article here:
http://www.sun.com/bigadmin/features/articles/samp_setup.jsp
Although I did also add a --with-pear=/usr/local to the configure when I compiled php, and I set include_path to ".:/usr/local" in the php.ini.
the DB library was installed with:
% pear install DB
Is there any way to preload the pear library in php.ini to see if that would speed things up? I'm about to yank my hair out here... _________________ Intentionally Left Blank |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|