Closed
Description
I've recently deployed an application to DigitalOcean with Kamal. The server runs fine, but after a few weeks, something randomly happens. The application will throw a 500 error in the browser and the logs will have the following.
I can't figure out what is causing this error. The container is running. The only way to resolve is to manually stop and start and then things go back to working.
2025-05-09T19:19:27.637719348Z 2025-05-09 19:19:27 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:19:27.638452444Z {"time":"2025-05-09T19:19:27.638359666Z","level":"INFO","msg":"Request","path":"/naturepedic/email-marketing-manager/meta_image.png","status":500,"dur":4,"method":"GET","req_content_length":0,"req_content_type":"","resp_cont
ent_length":0,"resp_content_type":"text/plain; charset=utf-8","remote_addr":"18.222.188.103, 104.23.187.168","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","cache":"miss","query":""}
2025-05-09T19:19:31.912150788Z 2025-05-09 19:19:31 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:19:31.913279326Z {"time":"2025-05-09T19:19:31.91317624Z","level":"INFO","msg":"Request","path":"/","status":500,"dur":4,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":0,"resp_content_type":"text/plain; char
set=utf-8","remote_addr":"199.233.235.34, 104.23.209.135","user_agent":"NodePing","cache":"miss","query":""}
2025-05-09T19:19:42.752742201Z 2025-05-09 19:19:42 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:19:42.754379911Z {"time":"2025-05-09T19:19:42.754197401Z","level":"INFO","msg":"Request","path":"/locations/united-states/texas/bee-county","status":500,"dur":7,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length
":0,"resp_content_type":"text/plain; charset=utf-8","remote_addr":"52.167.144.202, 172.71.195.2","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36
","cache":"miss","query":""}
2025-05-09T19:20:31.967887803Z 2025-05-09 19:20:31 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:20:31.970599577Z {"time":"2025-05-09T19:20:31.970452336Z","level":"INFO","msg":"Request","path":"/","status":500,"dur":7,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":0,"resp_content_type":"text/plain; cha
rset=utf-8","remote_addr":"199.233.235.34, 172.70.174.53","user_agent":"NodePing","cache":"miss","query":""}
2025-05-09T19:20:37.931836907Z 2025-05-09 19:20:37 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:20:37.933670994Z {"time":"2025-05-09T19:20:37.933411208Z","level":"INFO","msg":"Request","path":"/costar-group/senior-specialist-email-marketing-apartments-com/meta_image.png","status":500,"dur":6,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":0,"resp_content_type":"text/plain; charset=utf-8","remote_addr":"3.148.250.255, 172.70.230.134","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","cache":"miss","query":""}
2025-05-09T19:21:31.962641744Z 2025-05-09 19:21:31 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:21:31.965252198Z {"time":"2025-05-09T19:21:31.963354883Z","level":"INFO","msg":"Request","path":"/","status":500,"dur":4,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":0,"resp_content_type":"text/plain; cha
rset=utf-8","remote_addr":"199.233.235.34, 172.71.222.31","user_agent":"NodePing","cache":"miss","query":""}
2025-05-09T19:21:37.888205884Z 2025-05-09 19:21:37 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:21:37.890205820Z {"time":"2025-05-09T19:21:37.888822864Z","level":"INFO","msg":"Request","path":"/millerknoll/email-marketing-manager/meta_image.png","status":500,"dur":8,"method":"GET","req_content_length":0,"req_content_type":"","resp_cont
ent_length":0,"resp_content_type":"text/plain; charset=utf-8","remote_addr":"18.118.217.142, 172.70.230.250","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","cache":"miss","query":""}
2025-05-09T19:22:05.655518192Z 2025-05-09 19:22:05 +0000 Read: #<Errno::EAGAIN: Resource temporarily unavailable - getnameinfo>
2025-05-09T19:22:05.657377271Z {"time":"2025-05-09T19:22:05.657156045Z","level":"INFO","msg":"Request","path":"/mfs-investment-management","status":500,"dur":8,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":0,"resp_conte
nt_type":"text/plain; charset=utf-8","remote_addr":"51.222.253.5, 172.70.80.181","user_agent":"Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)","cache":"miss","query":""}
Metadata
Metadata
Assignees
Labels
No labels