I would like to bring down the processor usage on influxdb-1.5.2-1.x86_64, how to trace what is going on?

influxdb

#1

How should I debug what influxdb is using cpu cycles for. I only receive measurements of 4 ceph nodes and have 1 grafana dashboard yet this influxdb server is consuming much more cpu than the mysql/postgres I have that are being used by a lot of websites.

I would like to see what is causing this cpu usage and then change this to bring this down. What would be the steps to discover this.

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
15804 influxdb  20   0 18.726g 915288 253644 S 53.2 48.7  21:42.78 influxd
 1533 mysql     20   0 1209888 184600   4244 S  1.0  9.8   1373:25 mysqld
 9569 postgres  20   0  247256  27812  21376 S  0.0  1.5   0:52.44 postgres