Konga: Wacking my CPU

Created on 19 Jul 2017  路  2Comments  路  Source: pantsel/konga

Good day,

Running Konga in Docker Swarm against Kong.

Docker version: 17.06.0-ce
Kong version: 0.10.3
Konga version: 0.8.1

Issue:

Deployed Konga to the first node in our swarm and it is consuming between 27% and 35% of the CPU.
This is the case when no one is using it or has even logged in.
Is this normal?

VM spec:

Azure S1 Standard
CPU: 2 vCPU
RAM: 3.5 GB

Most helpful comment

Hi @just1689 .
Are you running Konga in production mode by setting the env var NODE_ENV=production?

If not, you should be experiencing high CPU usage because of all the tasks running in the background.
p.e file watchers.

All 2 comments

Hi @just1689 .
Are you running Konga in production mode by setting the env var NODE_ENV=production?

If not, you should be experiencing high CPU usage because of all the tasks running in the background.
p.e file watchers.

Thank you for your reply @pantsel. You are correct, it was running in development mode.

I've now set NODE_ENV=production as you have suggested. It worked perfectly.

Thank you for your support and speedy reply.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timpamungkas picture timpamungkas  路  6Comments

taotao2014 picture taotao2014  路  7Comments

jeremyjpj0916 picture jeremyjpj0916  路  3Comments

davidqhr picture davidqhr  路  6Comments

jeremyjpj0916 picture jeremyjpj0916  路  7Comments