1
tvepsorg
reduce cpu usage?
  • 2007/7/30 18:33

  • tvepsorg

  • Quite a regular

  • Posts: 276

  • Since: 2004/5/18


The server for my site has told me that certain files on my site are being used a bit too much and causing it to crash.

Quote:

Top Process %CPU 106 /usr/bin/php visit.php
Top Process %CPU 98.5 /usr/bin/php article.php
Top Process %CPU 97.0 /usr/bin/php viewcat.php


The above is what he sent me. Anyone know how I can reduce the CPU usage of these files?

2
brash
Re: reduce cpu usage?
  • 2007/7/30 19:10

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Have you read this article I wrote;

http://www.it-hq.org/modules/AMS/article.php?storyid=119

However, if you are using a shared hosting service (which it sounds like you are), then there is a not a great deal you can do apart from configuring you XOOPS caching options. They are well worth it though.
IT Headquarters
Innovative IT Solutions

3
chefry
Re: reduce cpu usage?
  • 2007/7/31 23:42

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Do you configure the cache as on or off?

Login

Username:
Password:

Lost Password? Register now!

Who's Online

70 user(s) are online (33 user(s) are browsing Support Forums)


Members: 0


Guests: 70


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits