ℹ️ This page contains an example of a configuration file for the redirection.io agent. To discover all the configuration file and its options, please refer to the agent configuration reference. You may also check the list of configuration examples to find a configuration example that is close to your technical context.

Limiting the memory

This example involves two different solutions to limit the memory consumed by the agent:

  • the cache directive, which limits the number of compiled regular expressions that are stored in memory for a fast request matching;
  • max_logs_buffer_size, which limits the maximum number of logs that can be buffered in memory before being sent to the redirection.io platform.