You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to setup Oathkeeper as a reverse proxy with SSL termination for an application with high request rate (~6k rps) that stores and distributes files. Oathkeeper is running as a side-container in a pod together with the main application container, accepts and then proxies the requests (mainly GET requests). Currently the main usage is the SSL termination.
While load testing this setup with a large number of requests I was seeing a consistent increase in memory usage and a noticeable slow down in request processing speed. Increasing the resources and the number of pods improves the performance but I am still seeing the consistent increase in memory utilization until the Oathkeeper containers hit their limits and restart (and with big resource additions the improvement is moderate in comparison, also comparing to the main application this requires much more resources).
I wanted to ask whether you think this could be an issue or maybe there is something I’d need to change in my configs for this setup. Any insights in terms of memory utilization would also be helpful.
Reproducing the bug
Running in Kubernetes and installed with the official helm chart.
The requests are going to the internal load balancer (port 443) -> Oathkeeper (port 4455) -> Main application (port 8080 and 8081 on the same pod).
Relevant log output
In terms of errors I haven’t found anything noticeable in the logs besides:
{"audience":"application","error":{"message":"dial tcp 127.0.0.1:8080: connect: cannot assign requested address"},"level":"error","msg":"http: gateway error","service_name":"ORY Oathkeeper","service_version":"v0.40.6"}
That was resolved with adding more pods, but maybe there’s also other approaches I can use here?
Preflight checklist
Ory Network Project
No response
Describe the bug
I have tried to setup Oathkeeper as a reverse proxy with SSL termination for an application with high request rate (~6k rps) that stores and distributes files. Oathkeeper is running as a side-container in a pod together with the main application container, accepts and then proxies the requests (mainly GET requests). Currently the main usage is the SSL termination.
While load testing this setup with a large number of requests I was seeing a consistent increase in memory usage and a noticeable slow down in request processing speed. Increasing the resources and the number of pods improves the performance but I am still seeing the consistent increase in memory utilization until the Oathkeeper containers hit their limits and restart (and with big resource additions the improvement is moderate in comparison, also comparing to the main application this requires much more resources).
I wanted to ask whether you think this could be an issue or maybe there is something I’d need to change in my configs for this setup. Any insights in terms of memory utilization would also be helpful.
Reproducing the bug
Running in Kubernetes and installed with the official helm chart.
The requests are going to the internal load balancer (port 443) -> Oathkeeper (port 4455) -> Main application (port 8080 and 8081 on the same pod).
Relevant log output
Relevant configuration
Version
v0.40.6
On which operating system are you observing this issue?
Other
In which environment are you deploying?
Kubernetes with Helm
Additional Context
No response
The text was updated successfully, but these errors were encountered: