-
Notifications
You must be signed in to change notification settings - Fork 1
🐛 Memory leak in Nginx module #5
Description
Hi,
We are experiencing a memory leak when using the libnginx-mod-redirectionio module in a production environment.
Context
Nginx running in Cloud Run
redirection.io agent running on a private IP (10.x.x.x:10301)
High traffic production environment
Module version tested:
❌ v2.8.0 → clear memory leak
❌ v3.0.0 → issue still persists in production
Configuration
redirectionio on;
redirectionio_pass 10.0.0.233:10301 min_conns=0 keep_conns=0 max_conns=1 timeout=50;
redirectionio_logs off;
We intentionally minimized connection usage to rule out connection pool issues.
Observed behavior:
With redirection.io enabled:
Memory usage increases steadily over time
Eventually reaches container limits → restart
Pattern repeats after each restart
With redirection.io disabled:
Memory usage remains stable
No leak observed
This strongly suggests the issue is related to the redirection.io module.
Question
Are you aware of any memory leak issues in v3.0.0 under high traffic?
Could this be related to specific request patterns or responses?
Any debugging flags or recommendations to help isolate the issue further?
Thanks a lot for your help 🙏