systeminit / si

The System Initiative software
https://systeminit.com
Apache License 2.0
955 stars 67 forks source link

feat: poolnoodle clean exponential backoff #4592

Closed sprutton1 closed 6 days ago

sprutton1 commented 6 days ago

Adds a simple exponential backoff retry to cleans which will eventually give up and abandon the instance. This should cover us for when jails fail to clean up in and timely fashion and can be safely retried and for broader error cases where we cannot clean the jail at all and would thrash forever otherwise.

This means that the pool size will slowly drain over time if instances become problematic, so we will want to think about how to detect and manage this.