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

request help: is the worker_rlimit_core too small? #1101

Closed
spacewander opened this issue Feb 2, 2020 · 1 comment · Fixed by #1105
Closed

request help: is the worker_rlimit_core too small? #1101

spacewander opened this issue Feb 2, 2020 · 1 comment · Fixed by #1105

Comments

@spacewander
Copy link
Member

spacewander commented Feb 2, 2020

https://github.com/apache/incubator-apisix/blob/master/bin/apisix#L98
Currently we configure the worker_rlimit_core to 500MiB, which may be big enough for normal situation, but might truncate the core file in some cases. The size of the core file is equal to the memory used by LuaJIT + Nginx + shared memory among workers, which could be larger than 500MiB.

IMHO, it'd be better to limit the core size to 4GiB under 32 bits platform, and 16GiB elsewhere.

@membphis
Copy link
Member

membphis commented Feb 3, 2020

PR welcome, good catch

spacewander added a commit to spacewander/incubator-apisix that referenced this issue Feb 4, 2020
SaberMaster pushed a commit to SaberMaster/incubator-apisix that referenced this issue Jun 30, 2020
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 a pull request may close this issue.

2 participants