Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased SHM size by mounting a volume #3

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Increased SHM size by mounting a volume #3

merged 1 commit into from
Apr 30, 2020

Conversation

mogaal
Copy link
Contributor

@mogaal mogaal commented Apr 30, 2020

This PR increases shared memory for Nginx ingress controller in order to fix an issue we're currently having in live-1:

"modsecurity_rules" directive Failed to allocate shared memory (1): No space left on device in /tmp/nginx-cfg337881831:12572

The problem is Kubernetes only provides 64MB for shared memory [1] which doesn't look enough for our nginx-ingress-controllers (they're getting bigger every day). Some other applications (like PostgreSQL) are also implementing similar approaches.


[1] Easly checked as:

bash-5.0$ df -h | grep shm
shm                      64.0M         0     64.0M   0% /dev/shm
bash-5.0$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants