Apache Slows

Support for webhosts that use CentOS
Post Reply
phpsmitty
Posts: 8
Joined: 2008/02/13 16:18:21

Apache Slows

Post by phpsmitty » 2008/03/11 17:02:19

I'm currently having trouble with apache slowing down. If I restart Apache, everything picks back up but it gradually gets slower. I primarly notice the problem when executing php scripts that are making database calls to a dedicated mysql server.

Any insight would be greatly helpful,

Bryan

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Apache Slows

Post by gerald_clark » 2008/03/11 17:28:34

Check your PHP code.
Are you closing your database connections?
Any slow queries?

phpsmitty
Posts: 8
Joined: 2008/02/13 16:18:21

Re: Apache Slows

Post by phpsmitty » 2008/03/11 17:47:14

I was using a pconnect and I have just changed it to a regular connect. I'm hoping this will fix the problem. I just migrated from W2k3/IIS to CentOs/Apache. I had no problems on IIS. I should know within a few hours if everything is ok or not.

Thanks

Post Reply

Return to “CentOS 5 - Webhosting Support”