79525448

Date: 2025-03-21 12:40:03
Score: 0.5
Natty:
Report link

These sporadic 30–300s response delays typically stem from slow or stalled client reads or rare TCP stalls (packet loss/retransmissions). Your aiohttp app logs “done” after passing data to Gunicorn, while Apache only logs when the client fully receives it. A slow or flaky network/client causes the proxy to hold the socket open, delaying the final Apache log. Checking socket states (ss, netstat), Apache’s mod_status, and TCP retransmissions can confirm this. The rest of the system is likely fine—this is common when dealing with a small fraction of slow or interrupted clients.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jaydeep Pipaliya