Hi!.
I have deployed a Kong cluster into AWS ECS, I’m very glad about it’s performance, but I have realized that the ECS’s service where runs, consumes more and more memory without an increase on the requests number or other reasonable cause.
Here you can see what I mean:
ECS used memory for last 2 weeks
ECS used CPU for last 2 weeks
NLB requests for last 2 weeks
I would like to know why used memory is constantly increasing, because this behavior makes the service autoscale and add more task and increase the billing. Can anyone help me to find what is the root cause of this?
Here are more details about the cluster configuration:
Kong version: 1.0.2
Database: Postgresql
KONG_MEM_CACHE_SIZE: 128m
KONG_UPSTREAM_KEEPALIVE: 60
KONG_CLIENT_BODY_BUFFER_SIZE: 8k
KONG_PROXY_ACCESS_LOG: /dev/stdout
KONG_ADMIN_ACCESS_LOG: /dev/stdout
KONG_PROXY_ERROR_LOG: /dev/stderr
KONG_ADMIN_ERROR_LOG: /dev/stderr
KONG_DB_UPDATE_FREQUENCY: 10
KONG_SSL_CIPHER_SUITE: old
KONG_PG_TIMEOUT: 10000
KONG_ADMIN_LISTEN: off
Enabled plugins:
Oauth2.
Cors
ip-restriction
rate-limiting (use redis as backend)
request-transformer
response-transformer
Resources configuration:
Now there are 10 task running, each one has assigned 1900 CPUunits, and 3000 Mb as memory soft limit.
Thanks!!.