9 months ago
9:M 15 Jul 2024 20:06:57.945 * RDB memory usage when created 29326.64 Mb
9:M 15 Jul 2024 20:13:07.426 * Done loading RDB, keys loaded: 2652534, keys expired: 437348.
9:M 15 Jul 2024 20:13:07.426 # Skip background reindex scan, redis version contains loaded event.
9:M 15 Jul 2024 20:13:07.426 * Loading event ends
9:M 15 Jul 2024 20:13:07.426 * Loading finished, re-enable key space notificaitons.
9:M 15 Jul 2024 20:13:07.426 * DB loaded from disk: 369.518 seconds
9:M 15 Jul 2024 20:13:07.426 * Ready to accept connections tcp
9:M 15 Jul 2024 20:13:07.645 * 100 changes in 300 seconds. Saving…
9:M 15 Jul 2024 20:13:08.162 * Background saving started by pid 18
9:M 15 Jul 2024 20:13:51.447 # Can't fork for module: File exists
9:M 15 Jul 2024 20:13:51.447 # fork failed - got errno 17, aborting fork GC
9:M 15 Jul 2024 20:13:54.446 # Can't fork for module: File exists
> ⓘ Deployment information is only viewable by project members and Railway employees.
4 Replies
9 months ago
Hi there,
Your Redis database hit the service limit of 32 GB, which seems to have caused it to OOM and crash. 32 GB memory is the default service limit on the Pro plan.
See the service metrics dashboard for more detail.
Let us know if you'd like to increase the memory limit of if you'll look at optimizing memory usage for your database.
Regards,
Christian
Status changed to Awaiting User Response railway[bot] • 9 months ago
9 months ago
So I set the max memory to 30 gb and it restarted fine but now all the storage data seems deleted
Status changed to Awaiting Railway Response railway[bot] • 9 months ago
9 months ago
Could you elaborate on what you mean by storage data seems deleted? Your persistent volume named redis data
is still there, and the disk usage remains unchanged per the metrics view for the volume.
Status changed to Awaiting User Response railway[bot] • 9 months ago
9 months ago
Following up here, we've increased the limit of the service to 64 GB to prevent disruption in the future.
FYI, it looks like the database is not serving traffic at this time, in case you want to take another look after your restart.