On Thu, Jul 28, 2011 at 9:46 AM, David Coppa <[email protected]> wrote:
> It doesn't want to die...

This is because mountd traps the SIGTERM signal and uses it to send a
broadcast RPCMNT_UMNTALL to the clients

> Do you see this problem or is it just mine?
> Any clue?
>
> # /etc/rc.d/mountd start
> mountd(ok)
> # ps akuwwx|grep -v grep|grep mountd
> root     15715  0.0  0.0   616   368 ??  Ss     9:39AM    0:00.00
/sbin/mountd
> # /etc/rc.d/nfsd start
> nfsd(ok)
> # ps akuwwx|grep -v grep|grep nfs
> root     11051  0.0  0.0   120   156 ??  S      9:39AM    0:00.00 nfsd:
server (nfsd)
> root      9270  0.0  0.0   120   156 ??  S      9:39AM    0:00.00 nfsd:
server (nfsd)
> root     10254  0.0  0.0   120   156 ??  S      9:39AM    0:00.00 nfsd:
server (nfsd)
> root     20969  0.0  0.0   156   228 ??  Ss     9:39AM    0:00.00 /sbin/nfsd
-tun 4
> root     17010  0.0  0.0   120   156 ??  S      9:39AM    0:00.00 nfsd:
server (nfsd)
> # /etc/rc.d/nfsd stop
> nfsd(ok)
> # ps akuwwx|grep -v grep|grep nfs
> # time /etc/rc.d/mountd stop
> mountd(failed)
>    0m30.32s real     0m0.00s user     0m0.01s system
> # ps akuwwx|grep -v grep|grep mountd
> root     15715  0.0  0.0   616   388 ??  Ss     9:39AM    0:00.00
/sbin/mountd
> # pkill -f /sbin/mountd
> # ps akuwwx|grep -v grep|grep mountd
> root     15715  0.0  0.0   616   388 ??  Ss     9:39AM    0:00.00
/sbin/mountd
> # pkill -9 -f /sbin/mountd
> # ps akuwwx|grep -v grep|grep mountd
> #

Reply via email to