Replies: 3 comments 2 replies
-
Our docker container doesn't output any logs. If you want to log each request, you'll need to do that in front of the shields container. The prometheus metrics are all the container itself will output. FWIW, we used to run on instances with 256Mb in production. A little while back we found this just wasn't enough for an instance serving production traffic and upped them to 512Mb per instance. |
Beta Was this translation helpful? Give feedback.
-
There's an awful lot of configuration knobs within the kubernetes ecosystem, and as such it's exceptionally difficult for us to offer much in the way troubleshooting/diagnostic support given what's largely a black box for us (not to mention that we don't really have the bandwidth for in-depth self-hosting support anyway). The Shields.io instance handles a very large volume of traffic, and I suspect that volume likely would've surfaced any memory leaks. That's not to say it's impossible for that to be the root cause of what you are observing, just that I think it's more likely related to the configured limits and bids. If you were to run the container directly on a virtual server (even one with just 1 Gb) and observe the memory steadily ticking up under load till it ran OOM then I'd definitely be interested to hear more about kind of badges/load you were serving from your instance |
Beta Was this translation helpful? Give feedback.
-
One thing that occurs to me sine I posted last night: What have you got |
Beta Was this translation helpful? Give feedback.
-
We have deployed shieldsio container into our eks cluster. Every once in a while a pod crashes (replicaset=2) and I notice a spike in memory each time. I have set resource mem request min 256 mb and limit of 1gb. It still crashes once in a while. How can I enable debugging to get more information in the log? So far I haven't been able to capture any errors or warnings.
I've enabked prometheus metrics from setting env var. I don't see any option for enabling more logging. https://github.com/badges/shields/blob/master/config/custom-environment-variables.yml
Beta Was this translation helpful? Give feedback.
All reactions