kill automount processes at the same time
Hi All:
I have a problem with kill automount processes. My secenario is as follows:
5 automount processes running in my system. When I want to umount and stop automount processes, I used kill pid1 pid2 pid3 pid4 pid5. The result is more than 5 automount processes (8 in the case) in my system! Some automount processes were killed, some automount processes fork processes! Did I do something wrong?
I looked into the source code, and find the abnormal processes all blocked in
a while(ioctl(ap.ioctlfd,AUTOFS_IOC_EXPIRE_MULTI,&how)&&count--) of automount.c and
the count didn't decrease. I also noticed that when I kill less than 3 automount processes at the same time, the problem didn't happen. It seems automount has problem dealing with too many kill at the same time. Please give me some advice.
Thanks in advance,
Latrell
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Ian Kent
maintainerQuoted 9 lines · Latrell
Hi All:
I have a problem with kill automount processes. My secenario is as follows:
5 automount processes running in my system. When I want to umount and stop automount processes, I used kill pid1 pid2 pid3 pid4 pid5. The result is more than 5 automount processes (8 in the case) in my system! Some automount processes were killed, some automount processes fork processes! Did I do something wrong?I looked into the source code, and find the abnormal processes all blocked in
a while(ioctl(ap.ioctlfd,AUTOFS_IOC_EXPIRE_MULTI,&how)&&count--) ofautomount.cand
the count didn't decrease. I also noticed that when I kill less than 3 automount processes at the same time, the problem didn't happen. It seems automount has problem dealing with too many kill at the same time. Please give me some advice.
Use the init script to stop autofs.
Ian