Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2011 13:38:56 +0400
From:      Subbsd <subbsd@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   watchdog timeout for pwait/rc.shutdown
Message-ID:  <CAFt_eMrs-uR5wLtSHews9FYxBZmvW2i02fiZ0ff947NLWjM4Pg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

Hi

Tell me please, is it possible to change the behavior of shutdown
sequence to avoid work of kill process (or increase timeout).

ôot always process can not react to signals and stop - for example,
heavy MySQL server databases or databases/redis - can not keep up with
30 seconds to correct shutdown.
In my example noSQL product - redis holds a 10 GB RAM memory and when
stop it just did not have time to reset the state to disk when i stop
process or jail with redis.
As result ive have in /var/db/redis "dump.tmp.XX" - broken DB about ~3
Gb instead of 10 GB.


Waiting for PIDS: 47924
30 second watchdog timeout expired. Shutdown terminated.
Thu Jul 14 16:24:30 MSD 2011
Killed

PS: I may be mistaken but I think this problem did not exist before
PS2: i have RELENG_8 and HEAD version of FreeBSD
PS3: Thanks in advance



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFt_eMrs-uR5wLtSHews9FYxBZmvW2i02fiZ0ff947NLWjM4Pg>