From: "Latrell" Subject: kill automount processes at the same time Date: Fri, 19 May 2006 13:55:18 +0800 Message-ID: <009d01c67b08$cfa06cf0$6cf1718c@administrator> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4798495022217182648==" Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: autofs@linux.kernel.org This is a multi-part message in MIME format. --===============4798495022217182648== Content-Type: multipart/alternative; boundary="----=_NextPart_000_009A_01C67B4B.DD04F0D0" This is a multi-part message in MIME format. ------=_NextPart_000_009A_01C67B4B.DD04F0D0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable 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=20 a while(ioctl(ap.ioctlfd,AUTOFS_IOC_EXPIRE_MULTI,&how)&&count--) of = automount.c and=20 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 ------=_NextPart_000_009A_01C67B4B.DD04F0D0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Hi = All:
 
I have a = problem with kill automount processes.=20 My secenario is as follows:
5 automount = processes running in my system. When=20 I want to umount and stop automount processes, I used kill pid1 pid2 = pid3 pid4=20 pid5. The result is more than 5 automount processes (8 in the case) in = my=20 system! Some automount processes were killed, some automount processes = fork=20 processes! Did I do something wrong?
 
I looked = into the source code, and find the=20 abnormal processes all blocked in
a=20 while(ioctl(ap.ioctlfd,AUTOFS_IOC_EXPIRE_MULTI,&how)&&count--= ) of=20 automount.c and
the count = didn't decrease.  I also noticed=20 that when I kill less than 3 automount processes at the same time, the = problem=20 didn't happen. It seems automount has problem
dealing with = too many kill at the same time.=20 Please give me some advice.
 
Thanks in = advance,
Latrell
 
------=_NextPart_000_009A_01C67B4B.DD04F0D0-- --===============4798495022217182648== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs --===============4798495022217182648==--