-
Notifications
You must be signed in to change notification settings - Fork 335
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
Docker image temporary files #290
Comments
@GUI Do you have any suggestions on what could be causing this? We could potentially even contribute and help with fixing, but we would appreciate your insight on what might be causing this problem. |
@shaliko: Does this occur after API Umbrella is in use for some time or under load? Or does this happen immediately on booting the docker container? If it takes a while for this to happen, are there any steps you can perform to reliably reproduce this? I can't reproduce this on some quick testing in Docker, but I've only tried briefly. But a couple of general thoughts:
|
@GUI thanks, for feedback. I tuned "embedded_server_env.heap_size variable". Found issue with "geoip-auto-updater", that script try load GeoIP DB by "curl", but curl dose not installed in "api-umbrella" docker image "0.12.0" and "0.13.0". So probably issue will reproduce for all users who use "api-umbrella" docker images. |
This is needed for the api-umbrella-geoip-auto-updater script which calls the curl command. It was previously defined as a build dependency, but not a runtime dependency, so it didn't get installed as part of the api-umbrella packages being installed. See #290 (comment)
On few installations reproduce issue with generation huge amount of temporary files.
Api-umbrella container in folder /tmp have hundreds of thousands files:
Or
for hs_err_pidxxx files issue in :
Looks like I can add limit for Java heap size in api-umbrella.yml
Not yet found how fix generation "api-umbrella-geoip-auto-updater".
My configuration:
Any advice how avoid to many files (hs_err_pid.log and api-umbrella-geoip-auto-updater) in /tmp folder?
The text was updated successfully, but these errors were encountered: