# Logstash stops running after some time

**URL:** <https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634>\
**Category:** Logstash\
**Created:** [July 3, 2017, 1:23pm UTC](https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634 "2017-07-03T13:23:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gopal](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@Gopal](https://discuss.elastic.co/u/Gopal)\
**Post date:** [July 3, 2017, 1:23pm UTC](https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634/1 "2017-07-03T13:23:54Z")

</div>

Hi,

I am facing issue with Logstash where it is being stopped suddenly when trying to send the output to SQS?

Can any one help?

Thanks in Advance!

Regards,  
Gopal

---

<div class="post-metadata">

**Author:** ![blackOcean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blackocean/32/19722_2.png) [@blackOcean](https://discuss.elastic.co/u/blackOcean)\
**Post date:** [July 3, 2017, 1:43pm UTC](https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634/2 "2017-07-03T13:43:06Z")

</div>

Hi Gopal,

It will be great if you post stacktrace. Otherwise it is impossible to predict what is the main reason or what is causing logstash server. Are you running logstash server using root credentials ?

---

<div class="post-metadata">

**Author:** ![Gopal](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@Gopal](https://discuss.elastic.co/u/Gopal)\
**Post date:** [July 4, 2017, 5:40am UTC](https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634/3 "2017-07-04T05:40:06Z")

</div>

Hi,

Thanks for looking into the issue. Please find the trace from error file.

#Class:0x43db734f: One or more parameters are invalid. Reason: Message must be shorter than 262144 bytes.  
return\_or\_raise at /opt/logstash/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/core/client.rb:374  
client\_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/core/client.rb:475  
send\_message at (eval):3  
send\_message at /opt/logstash/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/sqs/queue.rb:122  
receive at /opt/logstash/lib/logstash/outputs/sqs.rb:126  
handle at /opt/logstash/lib/logstash/outputs/base.rb:86  
initialize at (eval):17  
call at org/jruby/RubyProc.java:271  
output at /opt/logstash/lib/logstash/pipeline.rb:266  
outputworker at /opt/logstash/lib/logstash/pipeline.rb:225  
start\_outputs at /opt/logstash/lib/logstash/pipeline.rb:152

---

<div class="post-metadata">

**Author:** ![Vishal\_Sharma1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishal_sharma1/32/20207_2.png) [@Vishal\_Sharma1](https://discuss.elastic.co/u/Vishal_Sharma1)\
**Post date:** [July 4, 2017, 7:02am UTC](https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634/4 "2017-07-04T07:02:40Z")

</div>

Can you also please share the logstash logs? Also do enable --debug before pasting the logs in here

---

<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:** [August 1, 2017, 7:02am UTC](https://discuss.elastic.co/t/logstash-stops-running-after-some-time/91634/5 "2017-08-01T07:02:49Z")

</div>

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