Date: Sat, 27 Jul 2013 10:17:48 +0200 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Artem Belevich <art@freebsd.org> Cc: Konstantin Belousov <kostikbel@gmail.com>, FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: stopping amd causes a freeze Message-ID: <51F3822C.3080905@bsdforen.de> In-Reply-To: <CAFqOu6jrifTS404h3T0qeWtv-4PR5O4a8dG7z6t3yXkN4_%2BwDA@mail.gmail.com> References: <51ED0060.2050502@bsdforen.de> <20130722100720.GI5991@kib.kiev.ua> <51F0DA4B.3000809@bsdforen.de> <20130725100037.GM5991@kib.kiev.ua> <51F2AD8C.1000003@bsdforen.de> <CAFqOu6jrifTS404h3T0qeWtv-4PR5O4a8dG7z6t3yXkN4_%2BwDA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26/07/2013 20:37, Artem Belevich wrote: > On Fri, Jul 26, 2013 at 10:10 AM, Dominic Fandrey <kamikaze@bsdforen.de>wrote: > >> Amd exhibits several very strange behaviours. >> >> a) >> During the first start it writes the wrong PID into the pidfile, >> it however still reacts to SIGTERM. >> >> b) >> After starting it again, it no longer reacts to SIGTERM. >> > > amd does block off signals in some of its sub-processes. For instance amd > process that works as NFS server and handles amd mount points does block > off INT/TERM/CHLD/HUP. See /usr/src/contrib/amd/amd/nfs_start.c Didn't know that. But so sending signals to the process in the pidfile, used to workâ˘. >> c) >> It appear to be no longer reacting to SIGHUP, which is required to >> tell it that the amd.map was updated. >> >> > Try using 'amq -f' which would ask amd to reload its maps via RPC and > should work regardless of whether you know the right PID. amq -m or amq -p just hang there and do nothing right now. As soon as amd is unbroken this is good to know, though. Sending a SIGINFO: load: 0.58 cmd: amq 6071 [kqread] 4.71r 0.00u 0.00s 0% 2132k -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51F3822C.3080905>