FreeRADIUSHighProxyQueueLength #
The proxy queue length ({{ $value }}) is above the threshold of 100.
Alert Rule
alert: FreeRADIUSHighProxyQueueLength
annotations:
description: The proxy queue length ({{ $value }}) is above the threshold of 100.
runbook: https://srerun.github.io/prometheus-alerts/runbooks/freeradius-exporter/freeradiushighproxyqueuelength/
summary: High Proxy Queue Length
expr: freeradius_queue_len_proxy > 100
for: 5m
labels:
severity: warning
Here is a runbook for the FreeRADIUSHighProxyQueueLength alert rule:
Meaning #
The FreeRADIUSHighProxyQueueLength alert is triggered when the length of the FreeRADIUS proxy queue exceeds 100 for a period of 5 minutes or more. This indicates that the FreeRADIUS server is unable to process proxy requests efficiently, leading to a backlog of requests in the queue.
Impact #
A high proxy queue length can cause delays in authentication and authorization requests, leading to a poor user experience. This can result in:
- Slow or failed logins
- Delays in accessing network resources
- Increased latency in authentication responses
- Potential security risks due to delayed authentication decisions
Diagnosis #
To diagnose the root cause of the high proxy queue length, follow these steps:
- Check the FreeRADIUS server logs for any errors or warnings related to proxy requests.
- Verify that the FreeRADIUS server is running with sufficient resources (CPU, memory, and disk space).
- Check the network connectivity and latency between the FreeRADIUS server and the proxy endpoint.
- Review the FreeRADIUS configuration to ensure that the proxy queue settings are correctly configured.
- Check for any recent changes or updates to the FreeRADIUS server or its dependencies.
Mitigation #
To mitigate the effects of a high proxy queue length, follow these steps:
- Increase the proxy queue size: Temporarily increase the proxy queue size to reduce the backlog of requests.
- Optimize FreeRADIUS server resources: Ensure that the FreeRADIUS server is running with sufficient resources (CPU, memory, and disk space) to process proxy requests efficiently.
- Check and resolve network connectivity issues: Verify that the network connectivity and latency between the FreeRADIUS server and the proxy endpoint are within acceptable limits.
- Tune FreeRADIUS configuration: Review and optimize the FreeRADIUS configuration to improve proxy request processing efficiency.
- Implement queue monitoring and alerting: Set up monitoring and alerting for the proxy queue length to detect potential issues earlier.
- Consider implementing a load balancer or additional FreeRADIUS servers: If the proxy queue length remains consistently high, consider implementing a load balancer or adding additional FreeRADIUS servers to distribute the load and improve responsiveness.
Remember to investigate and address the root cause of the high proxy queue length to prevent future occurrences of this alert.