LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2014, 08:11 AM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
Log files @ high load


Hi,

my VPS was overloaded and inaccessible for some time and i want to ask for help in which log files i need to look, or which tools to setup to monitor and find the cause of repeated hig load?

watched:
/var/log/messages
/var/log/secure
/var/log/httpd/access_log
/var/log/httpd/error_log
/var/log/mysqld.log
/var/log/lfd.log (config server firewall)
/var/log/fail2ban.log

but found no excessive entries, during overload, i cant access server so cant lookup the proceses i think
 
Old 04-01-2014, 02:36 PM   #2
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
If you install collectl from sourceforge and start it up, it will record lots of system stats including process details including how much I/O each is doing. It will often (though certainly not always) help find the culprit. Could be a process is eating up your CPU or perhaps someone is beating up on the disks or networks. You never know until you grabs all the data in one place and look at it together.
-mark
 
Old 04-02-2014, 01:43 AM   #3
nigelbarker
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 1
Sar can be a good tool too, though not always easy to set up.
In the past I've set the box to put a meaningful logfile into /var/www so I could look at it over a browser, this might help?

If you can't ssh to it, then something is really going wrong = can your hosting company give you any clues?
 
Old 04-02-2014, 06:47 AM   #4
JuddRogers
LQ Newbie
 
Registered: Nov 2004
Location: Austin, Texas
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Your hosting company has monitoring tools in place so they can bill you correctly. Those can at least tell you when the load was high. That might help figure out the problem.

Some offer collections of tools which you have to install to use but which can get you more data.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql server not responding with high cpu usage and high load avgs landysaccount Linux - Server 2 09-15-2013 03:46 AM
High load CPU while copy files on network (smb) StreamThreader Slackware 3 03-24-2013 06:30 AM
High load, high RAM usage and unresponsive VPS saeed22 Linux - Server 1 08-20-2009 11:58 AM
Load Avg High/Phys Mem High teamh Debian 2 12-26-2006 05:03 PM
sendmail -- cpu load high & log huge !! ranger_nemo Linux - Software 2 06-08-2004 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration