Help to debug silent crash of strapi

System Information
  • Strapi Version: 4.10.1
  • Operating System: Linux
  • Database: Postgres
  • Node Version: 18

Hello everybody!
I’ve a problem with my self-hosted instance of Strapi (railwayapp.com)
I’m using STRAPI VERSION v4.10.1 on a railwayapp cloud server.
Suddenly from yesterday morning the server sometime crash, and It goes in a idle state. I don’t know how to explain, but the server is not reachable and from the log I see only the last api calls:

GET /api/destinations?filters[name][$containsi]=&filters[experiences][id][$eq]=5&fields[0]=id&fields[1]=name&pagination[page]=1&pagination[pageSize]=4 (31 ms) 200
[2023-05-28 12:03:06.751] http: GET /api/destinations?filters[name][$containsi]=l&filters[experiences][id][$eq]=5&fields[0]=id&fields[1]=name&pagination
[page]=1&pagination[pageSize]=4 (32 ms) 200
[2023-05-28 12:03:06.913] http: GET /api/destinations?filters[name][$containsi]=la&filters[experiences][id][$eq]=5&fields[0]=id&fields[1]=name&pagination[page]=1&pagination[pageSize]=4 (30 ms) 200
[2023-05-28 12:03:07.088] http: GET /api/destinations?filters[name][$containsi]=la%20&filters[experiences][id][$eq]=5&fields[0]=id&fields[1]=name&pagination[page]=1&pagination[pageSize]=4 (28 ms) 200
[2023-05-28 12:03:07.266] http: GET /api/destinations?filters[name][$containsi]=la%20m&filters[experiences][id][$eq]=5&fields[0]=id&fields[1]=name&pagination[page]=1&pagination[pageSize]=4 (28 ms) 200
[2023-05-28 12:03:07.478] http: GET /api/destinations?filters[name][$containsi]=la%20ma&filters[experiences][id][$eq]=5&fields[0]=id&fields[1]=name&pagination[page]=1&pagination[pageSize]=4 (29 ms) 200

Postgresql logs:

2023-05-28 14:16:06.225 UTC [4634] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [4635] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [4633] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [4638] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [4637] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [4636] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [4639] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [2924] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.225 UTC [2925] LOG:  could not receive data from client: Operation timed out
2023-05-28 14:16:06.229 UTC [4640] LOG:  could not receive data from client: Operation timed out

How can I debug?
When I redeployed the strapi It works but randomly after some hours It crash again. How can I handle this situation?

Any help? I don’t know how to approach to this problem :frowning: