[crac] RFR: Add Checkpoint timeout
Radim Vansa
rvansa at openjdk.org
Fri Dec 15 09:16:07 UTC 2023
On Fri, 8 Dec 2023 09:14:19 GMT, KIRIYAMA Takuya <duke at openjdk.org> wrote:
> Java process sometimes hangs when checkpoint for some reasons.
> For example, this problems occurs if you specify certain options for CRAC_CRIU_OPTS.
>
>
> # export CRAC_CRIU_OPTS=-V
> # java -XX:CRaCCheckpointTo=/work/cp CRACTest
> CR: Checkpoint ...
>
> CRACTest process is not killed and is waiting for checkpoint.
>
>
> # ls /work/cp
> cppath perfdata
>
>
> To avoid this problem, I want to add the checkpoint timeout.
> Can I submit a pull request to this repository? I would like you to review this change.
OK, I am still not convinced it's too useful in practice, but the risk associated with the change is low, so I'll accept it. However, please set the default timeout to infinite rather than 10 minutes to not cause regression dumping big process onto slow storage.
-------------
PR Comment: https://git.openjdk.org/crac/pull/147#issuecomment-1857535459
More information about the crac-dev
mailing list