NGINX Trouble Shooting

Not enough worker processes

  • Keep your eyes on the /var/log/nginx/errors.log Problem: Not enough worker processes (Tells you the problem/solution)

Solution: Increase worker processes.

cache file has too long header

  • 2022/11/30 08:18:38 [crit] 1392615#1392615: *4208360 cache file "/var/cache/nginx/8/aa/d974f05ff7f54ab0f4b21dbba7861aa8" has too long header, client: x.x.x.x, server: aus.social, request: "GET /api/v1/instance HTTP/2.0", host: "X.social"

Solution: ??

Monitor the active connections

  • Consider installing the status module to keep an eye on the active connections.

Last updated