[
https://issues.apache.org/jira/browse/KAFKA-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353190#comment-14353190
]
Jun Rao commented on KAFKA-2010:
--------------------------------
[~gwenshap], thanks for the info. Steve Miller also pointed me to the same
direction. It is indeed due to kernel rate-limit on the number of RST segments
it'll send. From /var/log/system.log, I do see the following entries.
Mar 6 14:29:24 kernel[0]: Limiting closed port RST response from 259 to 250
packets per second
Mar 6 14:29:26 kernel[0]: Limiting closed port RST response from 273 to 250
packets per second
Mar 6 14:29:28 kernel[0]: Limiting closed port RST response from 260 to 250
packets per second
Not sure exactly when rate limit is triggered though. I tried to reproduce this
issue by keeping connecting to a non-existing port. However, the connecting
still fails quickly after hundreds of tries.
> unit tests sometimes are slow during shutdown
> ---------------------------------------------
>
> Key: KAFKA-2010
> URL: https://issues.apache.org/jira/browse/KAFKA-2010
> Project: Kafka
> Issue Type: Bug
> Reporter: Jun Rao
> Assignee: Jun Rao
> Fix For: 0.8.3
>
>
> Our unit tests in trunk seem to be slower than before. The slowness seems to
> be due to a handful of tests.
> For example, if you run the following test, sometimes it can take more than
> 40
> secs, while normally it takes less than 10 secs.
> ./gradlew -i cleanTest core:test --tests
> kafka.admin.AddPartitionsTest.testIncrementPartitions
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)