LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-08-2007, 06:16 PM   #1
praveenyadav
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Which site is increasing cpu load


We are running apache. Some sites causes high cpu load.
How can I trace which site is causing this.
 
Old 09-09-2007, 04:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
If it really is Apache and not something else you could run Dstat or Atsar to record times or periods of increased CPU usage, extract the time CPU starts increasing and duration from that log and then extract the same by time from your Apache logs. If that's not it then maybe there is another subsystem or daemon eating CPU and I would look first at what Apache actually serves and what it depends on to serve that (especially obsolete PHP-based stuff).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My server's site won't load on Vista-IE7 marales314 Linux - Server 2 09-04-2007 05:12 PM
Can't load apache site from Firefox. Ukeer Linux - Software 0 07-10-2006 06:23 PM
Load balancing for a web site czamora Linux - Software 2 06-12-2006 04:29 PM
Limit CPU by user, site or process apc1 Linux - General 0 01-22-2005 06:01 PM
This site won't load in linux Edward78 Linux - General 7 08-18-2002 02:25 PM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration