LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2004, 12:50 AM   #1
Striker9999
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
Craziest Problem I ever seen!


Hello, I just got a new dedicated, AMD 2800 with 1 gig ram, 120 gig HD. Now I installed a few rpms, like php-mysql and a bunch of others, manually installed some PLesk 7 files and it went good. But now when I check the processes with the "top" command I see this:

PU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.0% 0.0% 33.3% 32.9% 33.7% 0.0%
Mem: 968560k av, 85664k used, 882896k free, 0k shrd, 7128k buff
26352k active, 45260k inactive
Swap: 2104504k av, 0k used, 2104504k free 49820k cached

Whats up with the irq/softirq/iowait each at 33% ?? Before I touched it the load was idle at 99.9% now its idle 0%

Anyone have an idea how to fix it ? I rebooted 3 times and still get this...
 
Old 07-28-2004, 01:22 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Welcome to LQ!

That's an interesting question. What kernel version are you running (show us the results of uname -r, if you could) and is it one you custom compiled? Can you also try running "vmstat 1 15" and seeing what the results look like, in particular the number of interrupts handled.

I skim over the Linux kernel mailing list and I think I recall someone reporting something like this, but it was with a 2.6 SMP kernel IIRC. I'm not sure if your situation is even exactly the same, so a few more details would be helpful.
 
Old 07-28-2004, 10:01 AM   #3
Striker9999
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hi, thanks for taking the time to help My system is running Fedora core 1 and I didnt copmiled anything, I just installed rpms basically. I tried the uname -r command, got this: 2.4.25

I also tried the vmstat, here is the result:

[root@host root]# vmstat 1 15
procs memory swap io system cpu
r b swpd free buff cache si so bi bo in cs us sy wa id
1 0 0 884736 6328 48960 0 0 79 16 111 30 0 1 0 98
0 0 0 884728 6328 48960 0 0 0 0 107 9 0 0 0 100
0 0 0 884728 6328 48960 0 0 0 0 103 12 0 0 0 100
0 0 0 884728 6328 48960 0 0 0 0 104 11 0 0 0 100
0 0 0 884728 6328 48960 0 0 0 0 106 12 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 12 109 16 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 106 12 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 105 10 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 104 14 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 107 9 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 106 14 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 104 9 0 0 0 100
0 0 0 884720 6336 48960 0 0 0 0 104 12 0 0 0 100
0 0 0 884640 6344 48960 0 0 0 20 113 26 0 0 0 100
0 0 0 884712 6344 48960 0 0 0 0 112 17 0 0 0 100

This is a remote system, thats why I have much difficulty fixing it, I would like to deinstall a shitload of stuff to see if it makes any difference, ddunno how

Also when checking the "top" I see that the buffer size is increasing all the time in 4k incrementation,and never go down always up.. I worry it may crash the system if I let it run for long.. Here is the top again I let it run a bit, you see the huge buffer number at the right of screen

61 processes: 60 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.0% 0.0% 33.3% 32.9% 33.7% 0.0%
Mem: 968560k av, 84120k used, 884440k free, 0k shrd, 6488k buff <-------- Getting bigger!
26308k active, 43800k inactive
Swap: 2104504k av, 0k used, 2104504k free 48960k cached

Thanks again for your help
 
Old 07-28-2004, 01:14 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It's normal for the Linux kernel to allocate as much memory as possible for buffers. After all, if the memory isn't being used for something, it's just going to waste. The kernel will give that memory back to the application if it needs to. Looking at your vmstat it seems that most of the CPU time is devoted to the idle loop, which is what you'd expect. Can you look at the processes listed in top and see if ksoftirqd (or any other "k" process) are taking inordinate amounts of CPU time. Otherwise, I'm not sure if there's anything really to be concerned about here.

BTW -- I've never seen a top with that exact header you've listed. Unfortunately, I don't have a FC1 system to look at this more closely with. Have you applied all the errata to your FC1 install?
 
Old 07-28-2004, 10:17 PM   #5
Striker9999
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hello my friend, I havent installed myself FC1, it was installed from the company I got the box. I got a clean box and the system was idle at 99.9% when I got it and did a top command. Now its at 0% Idle thats what blows Theres no processes that takes more than 0.2% CPU, just in the header the damn irq/softirq/iowait that goes 33% each for 2-3 secs, then it goes back to 0% for 2-3 secs and so on.. I cant find anyone that had that problem
 
Old 07-28-2004, 11:18 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
If you look at the last column of your vmstat output (the one under the 'id' heading) that's the percent of time spent idle in the last report period. In your case it's 99 or 100. What's strange is that the output of top that you showed us does not agree with this vmstat output. In any case, I figured it out -- it's a bug in Fedora's top, see http://bugzilla.redhat.com/bugzilla/...buglist=111216 for more details.
 
Old 07-28-2004, 11:19 PM   #7
Striker9999
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
YOUHOOO !!! Fix the damn box guys !! It was a rpm of Plesk fucking with the IO, I uninstalled it and then it stopped the imap pop3 and then idle is back at 100% finally, no more spikes of iowait/irq/irqsoft

Thanks for trying to help
 
Old 07-28-2004, 11:24 PM   #8
Striker9999
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Lol thats wicked, I shutdown -r my system and then some processes that was supposedly deleted came back.. and now the error is back in top wtf, this is wicked.. Is there any file that is like the config.sys or autoexec.bat like in windows where it says which program to start on startup ?

Thanks
 
Old 07-28-2004, 11:30 PM   #9
Striker9999
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Another update, I manually stopped the imap server and the load idle is back to 100% Seems the IMAP fucks the top or something or is misconfigured and looking for something, how can I conffigure my IMAP ?

Thanks !
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM


All times are GMT -5. The time now is 07:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration