# Logstash on docker, performance with IRC-\>Slack

**URL:** <https://discuss.elastic.co/t/logstash-on-docker-performance-with-irc-slack/102198>\
**Category:** Logstash\
**Created:** [September 29, 2017, 12:58am UTC](https://discuss.elastic.co/t/logstash-on-docker-performance-with-irc-slack/102198 "2017-09-29T00:58:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackson\_Pollock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jackson_pollock/32/37068_2.png) [@Jackson\_Pollock](https://discuss.elastic.co/u/Jackson_Pollock)\
**Post date:** [September 29, 2017, 12:58am UTC](https://discuss.elastic.co/t/logstash-on-docker-performance-with-irc-slack/102198/1 "2017-09-29T00:58:05Z")

</div>

Hello,

I am running your docker image:

version: '2'  
services:  
logstash:  
image: [docker.elastic.co/logstash/logstash:5.6.2](http://docker.elastic.co/logstash/logstash:5.6.2)  
volumes:  
- ./pipeline:/usr/share/logstash/pipeline  
- ./config/logstash.yml:/usr/share/logstash/config/logstash.yml  
ports:  
- "5001:5001"  
environment:  
LS\_JAVA\_OPTS: "-Xmx256m -Xms256m"

and I have several inputs running without issue: imap, twitter etc.

however, with this IRC connection to Slack, it is runs the CPU up to 100% and stays there, config below:

input {  
irc {  
host =\> "[xxx.irc.slack.com](http://xxx.irc.slack.com)"  
#IRC channels  
channels =\> ["#xxx1", "#xxx2"]  
user =\> "slackuser"  
nick =\> "slackuser"  
password =\> "xxxxxxsecretxxxxxxx"  
real =\> "Slack Integration"  
secure =\> true  
tags =\> ["slack"]  
#type is useful for searching later  
type =\> "seslack"  
}  
}

It does function and sends the data to elastic. There is very little activity in slack so it's not traffic related.

I also noticed that it ignores the slack channels specified above and pulls in every channel that this user has access to.

Any ideas appreciated, maybe there's a timer someplace to slow down it's polling rate or something...

thanks!

---

<div class="post-metadata">

**Author:** ![Jackson\_Pollock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jackson_pollock/32/37068_2.png) [@Jackson\_Pollock](https://discuss.elastic.co/u/Jackson_Pollock)\
**Post date:** [October 2, 2017, 1:47pm UTC](https://discuss.elastic.co/t/logstash-on-docker-performance-with-irc-slack/102198/2 "2017-10-02T13:47:16Z")

</div>

No one has a clue?

there is nothing in the logs and it continues to function, just runs the CPU up.

---

<div class="post-metadata">

**Author:** ![Jackson\_Pollock](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jackson_pollock/32/37068_2.png) [@Jackson\_Pollock](https://discuss.elastic.co/u/Jackson_Pollock)\
**Post date:** [October 5, 2017, 1:35am UTC](https://discuss.elastic.co/t/logstash-on-docker-performance-with-irc-slack/102198/3 "2017-10-05T01:35:21Z")

</div>

ahemm.. well it works the same way sans docker. Running on a native install on ubuntu 16.04 it does the same thing.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 2, 2017, 1:35am UTC](https://discuss.elastic.co/t/logstash-on-docker-performance-with-irc-slack/102198/4 "2017-11-02T01:35:44Z")

</div>

Closed on November 2, 2017, 1:35am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
