kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pundlik.anuja" <pundlik.an...@gmail.com>
Subject Re: High CPU usage for idle kafka server
Date Fri, 05 Jun 2015 20:44:24 GMT
Hi Otis,
How do I check garbage collection on kafka broker?


On Thu, Jun 4, 2015 at 1:24 PM, Otis Gospodnetic <otis.gospodnetic@gmail.com
> wrote:

> How's their garbage collection doing?
>
> Otis
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/
>
>
> On Thu, Jun 4, 2015 at 12:43 AM, Anuja Pundlik (apundlik) <
> apundlik@cisco.com> wrote:
>
> > Hi,
> >
> > I am using Kafka 0.8.2.1.
> > We have 1 zookeeper, 3 kafka brokers.
> > We have 9 topics, out of which 1 topic has 18 partitions, while another
> > has 12 partitions. All other topics have 1 partition each.
> >
> > We see that idle kafka brokers (not carrying any message) are using more
> > than 50% of CPU. See top output below.
> >
> > Is this a known issue?
> >
> >
> > Thanks
> >
> >
> >
> > top - 04:42:30 up  2:07,  1 user,  load average: 1.50, 1.31, 0.92
> > Tasks: 177 total,   1 running, 176 sleeping,   0 stopped,   0 zombie
> > Cpu(s): 13.5%us,  4.5%sy,  0.0%ni, 81.3%id,  0.2%wa,  0.0%hi,  0.1%si,
> > 0.4%st
> > Mem:  65974296k total, 22310524k used, 43663772k free,   112688k buffers
> > Swap:        0k total,        0k used,        0k free, 13382460k cached
> >
> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ COMMAND
> >  9295 wae       20   0 5212m 894m  12m S   62  1.4  22:50.99 java
> >  9323 wae       20   0 5502m 894m  12m S   56  1.4  24:28.69 java
> >  9353 wae       20   0 5072m 896m  12m S   54  1.4  17:04.31 java
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message