You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Find why memory use increases until the service stops responding #144
Memory use of the backend increases over time. After a few weeks the service stops responding and needs a restart.
To do:
Record memory use over time (RSS, and the jemalloc or glibc stats if available) to find the rate of growth.
Check the embedded SurrealDB first: its cache and the RocksDB/SurrealKV memory settings, and live queries or transactions that do not close.
Check the actors for unbounded state or mailboxes, for example the ML queue and the Steam update actors.
Check if the hang is caused by memory pressure or by a separate problem, such as a deadlock or a full connection pool. Get a stack dump from a hung process if possible.
Add a health endpoint that a supervisor can use to restart the service, as a short-term fix.
Activity