LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-02-2006, 03:01 AM   #1
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Rep: Reputation: 0
Debian Server Load


Hi!

I have a debian server.
The CPU is absolutly idle and there is nothing on the server.

The load rise every 10 hours periodic.

I stoped all daemon -> nothing change
There is no new process!
There is permanent 2-3k eth0 input. Is this normal?

What is the problem!

Please help!!!
 
Old 06-02-2006, 03:01 AM   #2
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
I have some pictures too!
 
Old 06-02-2006, 03:02 AM   #3
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Please help me!
 
Old 06-02-2006, 03:02 AM   #4
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Here are some pictures:
http://www.sokristaly.hu/load/load-1.gif
http://www.sokristaly.hu/load/load-2.gif
http://www.sokristaly.hu/load/load-3.gif
 
Old 06-02-2006, 07:32 AM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
If you're lucky, it's the kernel doing it's housekeeping. But when it's not the kernel, you might have issues! Your server might be compromised and taken over by malware. Check if your server is chrooted with a specialist tool, I know it exists but lost it's name
 
Old 06-03-2006, 01:03 AM   #6
imemyself
Member
 
Registered: Feb 2004
Location: Wichita, KS
Distribution: CentOS 4, SuSE 10, Tiger
Posts: 110

Rep: Reputation: 15
A few things you might want to check to determine what is causing this. First, look in crontab to see what if anything is scheduled. Like Dutch Master said, it might just be regular housekeeping stuff. Also, try running Ethereal or tcpdump either on that host, or if possible, between that host and the Internet. If your server is rooted, it might look perfectly normal if you are running Ethereal/tcpdump on the server. Look and see what is going on network wise, and check who your server is connecting to.

Last edited by imemyself; 06-03-2006 at 01:04 AM.
 
Old 06-03-2006, 03:23 PM   #7
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
galor:

If you did the checks proposed by Dutch Master and imemyself, you might want to try some additional things:
  • You could install and use chkrootkit (there's a deb for that, so you can apt-get it) and rkhunter (rootkit hunter - http://www.rootkit.nl <- the name's misleading, it sounds threatening, I agree, but it's a helpful peace of software!). Of course, this only helps if you're a) rooted and b) a rootkit has been used to achieve this. But it may also help you get an idea of what's really going on (it needn't be malware... /etc/crontab's a good place to start, as Dutch Master has already stated).
  • How about shutting don sshd for a moment - or prevent root access via SSH (of course, you can only do that if you've got console access and/or another account you can use - but this may be compromised, too)? Did you use and check the output of top (or even better, htop if it's installed), ps, who and last to look for anything unusual?
  • If you've set up SSH access, check /etc/sudoers for anything that looks unusual - and do that thorougly; if you're using a modified default sudoers file, there might be a lot of junk in there (it's meant to be something like a tutorial, but it's rather easy to hide things between that lot of lines - not very well, though, but it looks confusing enough as it is).

Last edited by MoonMind; 06-03-2006 at 03:25 PM.
 
Old 06-06-2006, 05:01 AM   #8
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
chkrootkit -> nothing!

crontab -> nothing!
I have stopped cron daemon but nothing change!

sudoers -> nothing!
top, ps, who, last -> nothing!

I have no console access to the server only ssh!


tcpdump show lot of packages but kernel drops 99percent.
I don't see anything unusual.
 
Old 06-06-2006, 05:13 AM   #9
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
rkhunter -> nothing!
 
Old 06-06-2006, 05:14 AM   #10
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
Do you have root access (sorry to ask again, but ps and top won't help much if you aren't root)? If yes, do at a time when load is highest:
Code:
# [OR $ sudo] ps axu > psdump
then browse the column "%CPU" for a process that's very active (or unusually so):
Code:
# [OR $] less psdump
What does
Code:
$ uptime > uptimedump; less uptimedump
say under such circumstances?

Anything strange in one of those files (*dump)?
 
Old 06-06-2006, 05:16 AM   #11
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
Quote:
Originally Posted by galor
rkhunter -> nothing!
Doesn't look too bad, then, does it? Situation still unchanged?

Another hunch I got right now: Is that a shared server or entirely yours?
 
Old 06-06-2006, 05:23 AM   #12
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
I have root access! Only with ssh! I have no console access!
I cant see anything else in this files.
I have watched the TOP output for hours but nothing!

Thank you for the help!!!
 
Old 06-06-2006, 05:27 AM   #13
galor
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
This is a new server! Entirely mine!

I have other servers with 2.4.27 kernel and with the same packages and
there is no load.

There is 2.6.15 kernel on this server. This server is in another server room!
These are the only things are diferent.
 
Old 06-07-2006, 01:19 AM   #14
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
Okay, I think the problem is more a nasty nuisance than something serious - but I can't be sure, of course.

My own (old) Debian server accesses its disc every few seconds - and I can't seem to do much about it, to be frank. But the CPU load is low, at that (I'm running folding@home as a background process, so basically, the "load"'s always 100%, but I see how much the core system is using).

What baffles me is that your server pushes up network activity without any reason - but there don't seem to be any processes that cause it - which can't be... Could you paste a (short(!), but typical) excerpt of /var/log/syslog that shows what's happening? And: No results from ps axu in the "%CPU" column that show anything? To paste things here, you can use the files you generated with ">" (compare the cli example above); pull them off the server over to the machine you use ssh from in order to copy/paste/edit/cut...

This brings me to another idea: Is there a backup script running on the server - unintentionally, maybe? And if yes, which one? This would cause the server to look for its backup device "elsewhere", maybe for a networked backup server that, of course, isn't there. That'd explain the packet drops you mentionned earlier... But I'm wading the bog here, it's all guesswork...

And last, but not least: What hardware are you using - low RAM, maybe? Low resources in general?
 
Old 06-07-2006, 05:31 AM   #15
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by galor
tcpdump show lot of packages but kernel drops 99percent.
I don't see anything unusual.

Ermmm the kernel (or tcpdump) drops 99%, not so usual to me!!
Try to redirect the output to a file.

This is the easiest thing to look at, a traffic analyzer.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPW2200 in Debian doesnt even load Fice Linux - Networking 2 06-09-2006 12:20 AM
Debian Live cannot load kernel AtinLango Debian 2 02-16-2006 09:10 PM
How to load Debian Rick Harvey Linux - Newbie 7 10-14-2005 12:08 PM
Debian (woody) won't load up X server - it's impotent! mymojo Linux - Newbie 10 11-02-2003 10:57 AM
Debian burned CD will not load... TMKienzel Linux - Newbie 3 09-01-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:44 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