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
 
Search this Thread
Old 06-10-2003, 05:49 PM   #1
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
strange TOP PRI value


My top reports weird priority values for some of the processes:

Code:
 14:55:36  up 8 min,  2 users,  load average: 2.89, 1.37, 0.54
40 processes: 39 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:   2.1% user  35.8% system   0.0% nice   0.0% iowait  62.0% idle
Mem:  1033552k av,  589756k used,  443796k free,       0k shrd,   31244k buff
        42224k active,             497728k inactive
Swap: 1048816k av,       0k used, 1048816k free                  500624k cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
  869 root      17   0  1040 1040   872 R    10.6  0.1   0:00   0 top
  818 root      12   0   632  632   428 D     7.1  0.0   0:28   0 cp
  814 root     18446744073709551615 -20     0    0     0 DW<   0.8  0.0   0:02 
    1 root       9   0   508  508   456 S     0.0  0.0   0:02   0 init
    2 root       9   0     0    0     0 SW    0.0  0.0   0:00   0 keventd
    3 root      19  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd_CPU
    4 root       9   0     0    0     0 SW    0.0  0.0   0:00   0 kswapd
    5 root       9   0     0    0     0 SW    0.0  0.0   0:00   0 bdflush
    6 root       9   0     0    0     0 DW    0.0  0.0   0:01   0 kupdated
    7 root       9   0     0    0     0 SW    0.0  0.0   0:00   0 i2oevtd
    8 root     18446744073709551615 -20     0    0     0 SW<   0.0  0.0   0:00 
    9 root       9   0     0    0     0 SW    0.0  0.0   0:00   0 kjournald

#ps -ax
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:02 init [3]         
    2 ?        SW     0:00 [keventd]
    3 ?        SWN    0:00 [ksoftirqd_CPU0]
    4 ?        SW     0:00 [kswapd]
    5 ?        SW     0:00 [bdflush]
    6 ?        DW     0:01 [kupdated]
    7 ?        SW     0:00 [i2oevtd]
    8 ?        SW<    0:00 [mdrecoveryd]
    9 ?        SW     0:00 [kjournald]
  112 ?        SW     0:22 [kjournald]
-- SNIP --
  727 tty6     S      0:00 /sbin/mingetty tty6
  728 tty1     S      0:00 -bash
  783 ?        S      0:00 afpd -c 50 -n grail -f /etc/atalk/AppleVolumes.defaul
  785 ?        SW     0:00 [kjournald]
  814 ?        DW<    0:02 [loop0]
  818 tty1     D      0:31 cp -i -a linux-2.4.20 /mnt/cdrom/home/
  819 tty2     S      0:03 -bash
  867 ?        S      0:01 afpd -c 50 -n grail -f /etc/atalk/AppleVolumes.defaul
  872 tty2     R      0:00 ps -ax
So the loop and mdrecoveryd are being reported with a high PRI by top. I have unmounted the image file that was mounted through the loop, so I can't check that, but cat /proc/8/stat reports pri -1 for mdrecoveryd. Looks like top incorrectly interprets a negative number. Any idea why?

Hardware:
Tyan S2466 motherboard
Two AMD MP 2000+ processors running at 1666MHz
ATI XPert 2000 Pro 32MB AGP video card
On-board 3Com 3c905C-TX ethernet controller

running Red Hat 9.0 with kernel 2.4.20 in both non-SMP and SMP that I compiled from a freshly downloaded source. Both SMP and non-SMP enabled kernels exhibit the same problem.

Last edited by artur; 06-10-2003 at 07:16 PM.
 
Old 06-10-2003, 09:39 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
do your kernel and your symbol table (System.map) versions match ?
 
Old 06-11-2003, 11:28 AM   #3
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Original Poster
Rep: Reputation: 15
System.map correct

/boot/System.map is linked to System.map-2.4.20-SMP-0601a
uname -a returns 2.4.20-SMP-0601a

I'd say yes, they do match.
 
Old 06-11-2003, 12:49 PM   #4
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Original Poster
Rep: Reputation: 15
System.map correct

/boot/System.map is linked to System.map-2.4.20-SMP-0601a
uname -a returns 2.4.20-SMP-0601a

I'd say yes, they do match.
 
Old 08-28-2003, 03:45 AM   #5
sbaguz
LQ Newbie
 
Registered: Jul 2003
Location: Italy
Distribution: SuSE 10.1; Puppy Linux; Slax; Red Hat 9
Posts: 19

Rep: Reputation: 0
Question mdrecoveryd

I've the same strange mdrecoveryd line when asking for TOP command. And when i'm shutting down I read a message about the system killing it (because "mdrecoveryd woke up..." and something of this kind). Can someone explain me what's this and if it's all normal?

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
How do I open ports on my generic conexant PRI PAE CE84 router scarymary Linux - Newbie 1 04-29-2005 01:14 PM
Pri and Secondary DNS on One box matt_hannay Linux - Networking 3 03-03-2005 04:55 AM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 06:16 PM
Booting concept -- from Win32, pri/log partitions michapma Linux - General 0 09-23-2004 06:04 AM
Sound Issues with XMMS/ mpg123 strange (strange noises) thegreatbob Linux - Software 0 06-25-2004 04:18 PM


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