Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[purger] Ensure docker restart timeout is large enough #199

Open
konradkonrad opened this issue Oct 29, 2020 · 0 comments
Open

[purger] Ensure docker restart timeout is large enough #199

konradkonrad opened this issue Oct 29, 2020 · 0 comments

Comments

@konradkonrad
Copy link
Contributor

Problem Description

  • docker stop / restart has a default timeout of 10s before it issues a kill -9 to the process
  • purger.py currently uses a timeout of 30s
  • state_groups_state size explosion seems related to orphaned state groups
  • cleanup tools i.e. https://github.com/erikjohnston/synapse-find-unreferenced-state-groups urge you to "properly shutdown" synapse to avoid problems around "unsealed" state groups
  • manual docker stop -t 120 <synapse_container> did sometimes not terminate without the kill -9 for me
  • so there is the possibility that container restarts add to the state explosion problem (even though it is only done on whitelist changes).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant