Broken "ps" in Red Hat 8.0 w/ SMP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another problem I'm not quite sure how to answer.  Anyone have an idea
of how to help this guy?  (Copied below)


http://www.amdforums.com/showthread.php?s=&threadid=167447

I have an Asus A7M266D (MPX chipeset) that I loaded up with Red Hat 8.
Even though I am only running it with one CPU, I temporarily put in a
second CPU during install so that it would load the smp kernel modules,
in case I decided to add another CPU in the future. I just set the
non-smp kernel as default in GRUB.

I'm not sure if that's related to my problem or not...

It seems that sometimes, after a process is killed, its entry continues
to appear under /proc. For example, if I do a "ps -A |grep" to look for
nmbd (Samba NetBIOS name server) processes, I see nmbd with pids 8979
and 8982. "pidof" shows the same thing. Now I do "service smb restart",
and "ps" now shows nmdb running with pids 8979 and 9024. Note that 8979
should have been killed during the restart.

Now if I type "pidof nmbd" I get 9024, 9009, 8979... I don't know why
9009 isn't showing up under "ps"! Yet each of those entries are under
/proc still. "pstree -p 8979" returns "nmbd(8979)---nmbd(9009)". Now, if
I do "service smb restart" again, I get: kill: "(8979) - No such
process".

It's almost as if 9009 is masquerading as 8979. Since "service" uses
"pidof" to kill processes, it kills 9024, 9009, and then gets to 8979
and it's aready killed.

I know this is kinda complex.. if you've followed me this far, does
anyone know what could be causing this? I've noticed it with Samba
because I've been fooling w/ its configs and restarting it a lot, but it
seems like I've seen it with other processes too.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux