kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gwen Shapira <g...@confluent.io>
Subject Re: kafka commands taking a long time
Date Wed, 14 Dec 2016 02:14:42 GMT
Interesting. Your sys time is sub-sec and user-time is 1s (which is what
I'm seeing), but "real" time is 11 sec which is really significant.
Is the machine super loaded, or running something at a high priority that
prevents you from accessing CPU?

Maybe you can check the system load with vmstat or top


On Thu, Dec 8, 2016 at 7:21 AM, Stephen Cresswell <
stephen.cresswell@gmail.com> wrote:

> I followed the quickstart instructions at
> https://kafka.apache.org/quickstart and everything seems to be working ok,
> except that commands take a long time to run, e.g.
> $ time bin/kafka-topics.sh --list --zookeeper localhost:2181
> real 0m11.751s
> user 0m1.540s
> sys 0m0.273s
> The zookeeper logging shows that the request is processed in a few
> milliseconds, so I think it's related to the kafka JVM configuration. If I
> remove com.sun.management.jmxremote it's takes 6 seconds but this is still
> much longer than I would have expected.
> Any suggestions on how to speed things up?

*Gwen Shapira*
Product Manager | Confluent
650.450.2760 | @gwenshap
Follow us: Twitter <https://twitter.com/ConfluentInc> | blog

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