Re: Watchdog timer and slow shutdown

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 06:01 +0800, Ed Greshko wrote: > On 01/30/18 04:17, Patrick O'Callaghan wrote: > > I don't think that's it. If they're being killed after a watchdog > > timout then they are responding to a signal. > > > But, maybe they are not being gracefully killed off after the timeout?

Re: Watchdog timer and slow shutdown

2018-01-29 Thread Ed Greshko
On 01/30/18 04:17, Patrick O'Callaghan wrote: > I don't think that's it. If they're being killed after a watchdog > timout then they are responding to a signal. But, maybe they are not being gracefully killed off after the timeout?   Maybe the timeout is "Oh, screw it. Let's reboot/power-off any

Re: Watchdog timer and slow shutdown

2018-01-29 Thread Stephen Morris
On 30/1/18 7:17 am, Patrick O'Callaghan wrote: On Mon, 2018-01-29 at 09:46 -0800, Rick Stevens wrote: I get the same issue on my system but for me it is completely random as to when it happens and when it doesn't. The last time it happened , it paused for a minute or so after the normal watchdog

Re: Watchdog timer and slow shutdown

2018-01-29 Thread Patrick O'Callaghan
On Mon, 2018-01-29 at 14:53 -0500, Tom Horsley wrote: > I've been using the technique described in here for a while > to get my system to reboot in a reasonable amount of time: > > http://tomhorsley.com/game/punch.html > > The main thing is does is kill off all the systemd "user" > daemons, which

Re: Watchdog timer and slow shutdown

2018-01-29 Thread Patrick O'Callaghan
On Mon, 2018-01-29 at 09:46 -0800, Rick Stevens wrote: > > I get the same issue on my system but for me it is completely random as > > to when it happens and when it doesn't. The last time it happened , it > > paused for a minute or so after the normal watchdog not stopping > > message, and just be

Re: Watchdog timer and slow shutdown

2018-01-29 Thread Tom Horsley
I've been using the technique described in here for a while to get my system to reboot in a reasonable amount of time: http://tomhorsley.com/game/punch.html The main thing is does is kill off all the systemd "user" daemons, which get started when anything logs in, but don't ever get stopped. Som

Re: Watchdog timer and slow shutdown

2018-01-29 Thread Rick Stevens
On 01/26/2018 04:29 PM, Stephen Morris wrote: > On 25/1/18 9:26 am, Patrick O'Callaghan wrote: >> On Wed, 2018-01-24 at 14:01 -0700, stan wrote: >>> On Wed, 24 Jan 2018 12:03:54 + >>> Patrick O'Callaghan wrote: >>> On rebooting today my system took an age to shutdown, for no apparent

Re: Watchdog timer and slow shutdown

2018-01-26 Thread Stephen Morris
On 25/1/18 9:26 am, Patrick O'Callaghan wrote: On Wed, 2018-01-24 at 14:01 -0700, stan wrote: On Wed, 24 Jan 2018 12:03:54 + Patrick O'Callaghan wrote: On rebooting today my system took an age to shutdown, for no apparent reason but possibly related to NFS mounts. I run a daemon to feed

Re: Watchdog timer and slow shutdown

2018-01-24 Thread Patrick O'Callaghan
On Wed, 2018-01-24 at 14:01 -0700, stan wrote: > On Wed, 24 Jan 2018 12:03:54 + > Patrick O'Callaghan wrote: > > > On rebooting today my system took an age to shutdown, for no apparent > > reason but possibly related to NFS mounts. > > I run a daemon to feed entropy into the kernel pool. It

Re: Watchdog timer and slow shutdown

2018-01-24 Thread stan
On Wed, 24 Jan 2018 12:03:54 + Patrick O'Callaghan wrote: > On rebooting today my system took an age to shutdown, for no apparent > reason but possibly related to NFS mounts. I run a daemon to feed entropy into the kernel pool. It sleeps most of the time, waking up only when the pool drops

Re: Watchdog timer and slow shutdown

2018-01-24 Thread Ed Greshko
On 01/25/18 00:20, Patrick O'Callaghan wrote: > I'm not familiar with the acronym, but what did you find out in your > checking? (He said lazily ...) Only the purpose of the watchdog, not a way to change the timing. Going to do a bit more checking when the sun comes up.  But being 03:30, I

Re: Watchdog timer and slow shutdown

2018-01-24 Thread Patrick O'Callaghan
On Wed, 2018-01-24 at 22:34 +0800, Ed Greshko wrote: > On 01/24/18 20:29, Ed Greshko wrote: > > On 01/24/18 20:03, Patrick O'Callaghan wrote: > > > On rebooting today my system took an age to shutdown, for no apparent > > > reason but possibly related to NFS mounts. Anyway, I looked at the > > > jo

Re: Watchdog timer and slow shutdown

2018-01-24 Thread Ed Greshko
On 01/24/18 20:29, Ed Greshko wrote: > On 01/24/18 20:03, Patrick O'Callaghan wrote: >> On rebooting today my system took an age to shutdown, for no apparent >> reason but possibly related to NFS mounts. Anyway, I looked at the >> journal and spotted this snippet: >> >> Jan 24 11:47:59 bree systemd

Re: Watchdog timer and slow shutdown

2018-01-24 Thread Ed Greshko
On 01/24/18 20:29, Ed Greshko wrote: > On 01/24/18 20:03, Patrick O'Callaghan wrote: >> On rebooting today my system took an age to shutdown, for no apparent >> reason but possibly related to NFS mounts. Anyway, I looked at the >> journal and spotted this snippet: >> >> Jan 24 11:47:59 bree systemd

Re: Watchdog timer and slow shutdown

2018-01-24 Thread Ed Greshko
On 01/24/18 20:03, Patrick O'Callaghan wrote: > On rebooting today my system took an age to shutdown, for no apparent > reason but possibly related to NFS mounts. Anyway, I looked at the > journal and spotted this snippet: > > Jan 24 11:47:59 bree systemd[1]: Shutting down. > Jan 24 11:47:59 bree s

Watchdog timer and slow shutdown

2018-01-24 Thread Patrick O'Callaghan
On rebooting today my system took an age to shutdown, for no apparent reason but possibly related to NFS mounts. Anyway, I looked at the journal and spotted this snippet: Jan 24 11:47:59 bree systemd[1]: Shutting down. Jan 24 11:47:59 bree systemd[1]: Hardware watchdog 'iTCO_wdt', version 0 Jan 24