1844028 Members
2318 Online
110226 Solutions
New Discussion

Re: smbnull uses 40% cpu

 
V. Nyga
Honored Contributor

smbnull uses 40% cpu

Hi,

a strange symptom for me:
at one client smbnull uses 35 - 45% cpu time for the process 'sh'. Running for 12 days now.
I think I can kill it ... right?
But how was it created? It's for samba, but why does it needs 40% cpu? Anything wrong?
How to disable samba (I only need it for NT clients, right?)

Volkmar
*** Say 'Thanks' with Kudos ***
4 REPLIES 4
Florian Heigl (new acc)
Honored Contributor

Re: smbnull uses 40% cpu

I can't state a reason - sorry.
usually You should be able to locate a file named log.smbnull somewhere

Stop it with:
/sbin/init.d/samba stop
Disable it with:
RUN_SAMBA=0 in /etc/rc.config.d/samba


rgds,
florian
yesterday I stood at the edge. Today I'm one step ahead.
V. Nyga
Honored Contributor

Re: smbnull uses 40% cpu

Florian, thanks!
(Pts. will follow)

stop command isn't working - maybe because RUN_SAMBA=0 is already set?

So I don't know where this process came from.
(I killed it now.)

Any guru?

V.
*** Say 'Thanks' with Kudos ***
Coolmar
Esteemed Contributor

Re: smbnull uses 40% cpu

lsof - you can download it here http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=lsof can usually tell you where a process came from.

Sally
V. Nyga
Honored Contributor

Re: smbnull uses 40% cpu

No more infos found - but maybe smbnull only took sh process of a NIS user, who was deleted later. Maybe also the reason for hanging - NIS user and local user with the same UID.

UID of smbnull is changed now.
*** Say 'Thanks' with Kudos ***