Commit 20ffa22
authored
ci: improve handle-exit.sh timeout behavior (#1207)
For large validator folders, handle-exit.sh takes over 90 seconds to
archive it, and systemd kills it. This causes the disk space to fill up
because handle-exit.sh is unable to clean up resources.
To improve the situation, I've increased the time limit to 30 minutes.
I also clear out the validator folder when sig starts because sig is
unable to resume from old state. This was resulting in repeated crashing
and attempting to archive the huge validator folder and failing,
creating partial tarballs over and over that filled up the disk.
Instead now the service just tries to archive it to S3 once, and if that
fails, set aside the folder and restart.1 parent 5c26bc1 commit 20ffa22
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
17 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
0 commit comments