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

Re: PB lockd avec NFS



 
> Alors pourquoi lockd n'apparait pas dans la liste des process du
> serveur ?

Je viens de regarder sur une machine chez moi qui a un noyau 2.4.19 et est
surtout sous Woody, 
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.7  1304  456 ?        S    Oct18   0:04 init
...
daemon      87  0.0  0.6  1416  388 ?        S    Oct18   0:00
/sbin/portmap
root       142  0.0  0.9  1400  612 ?        S    Oct18   0:06
/sbin/syslogd
root       144  0.0  0.7  2040  480 ?        S    Oct18   0:01 /sbin/klogd
..
root       181  0.0  0.7  1332  460 ?        S    Oct18   0:02
/usr/sbin/inetd
root       211  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       212  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       213  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       214  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       216  0.0  0.0     0    0 ?        SW   Oct18   0:00 [lockd]
root       217  0.0  0.0     0    0 ?        SW   Oct18   0:00 [rpciod]
root       225  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       226  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       251  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       252  0.0  0.0     0    0 ?        SW   Oct18   0:00 [nfsd]
root       258  0.0  0.5  1464  364 ?        S    Oct18   0:00
/usr/sbin/rpc.mou

Par ailleurs, pstree semble dire que lockd est lancé directement par init.
J'ai regardé /etc/init.d/nfs-common, il y a les lignes
...
NEED_LOCKD=yes
if test -f /proc/ksyms
then
    # We need to be conservative and run lockd,
    # unless we can prove that it isn't required.
    grep -q lockdctl /proc/ksyms || NEED_LOCKD=no
fi

Cherche par là peut être.

FB



Reply to: