Cheat Paper

print() Froze Prod. Nothing Crashed.

Watch the video on YouTube

Sources

  1. man 3 termios (IXON)

  2. man 1 xterm (jumpScroll)

  3. nginx.org: Module ngx_http_log_module

  4. docker-nginx mainline/debian/Dockerfile

    ln -sf /dev/stdout /var/log/nginx/access.log
  5. linux@v7.0 fs/pipe.c (anon_pipe_write)

    wait_event_interruptible_exclusive(pipe->wr_wait, pipe_writable(pipe));
  6. GitHub: Container stdout pipe can become full if containerd daemon is stopped 2023-11-07

    Container stdout pipe can become full if containerd daemon is stopped
  7. Docker: Configure logging drivers

    (default) direct, blocking delivery from container to driver
  8. moby@docker-v29.8.0 daemon/logger/ring.go

    if mSize+r.sizeBytes > r.maxBytes && len(r.queue) > 0 { r.wait.Signal() return nil }
  9. AWS: Preventing log loss with non-blocking mode in the AWSLogs container log driver 2023-08-03

    Unfortunately, with the AWSLogs logging driver there is no visibility into logs lost by the non-blocking mode buffer.
  10. AWS: Access Amazon ECS features with account settings

    On June 25, 2025, Amazon ECS changed the default log driver mode from blocking to non-blocking to prioritize task availability over logging
  11. docs.python.org logging.handlers QueueHandler