HELP Please - Failed to send backlog of events to Redis #10687
Replies: 4 comments 5 replies
-
Can you tell us how you added the new disk to the Manager? Did you follow these directions? |
Beta Was this translation helpful? Give feedback.
-
Try bumping up the value of redis_maxmemory in /opt/so/saltstack/local/pillar/global.sls, and then restart redis with so-redis-restart. I don't know how much memory you have in this box, but even doubling the value should help. |
Beta Was this translation helpful? Give feedback.
-
Thank you, mine was on 830, I gave it 2Gs, still nothing.
This is what I get when I get to the SOC.
Security Onion
Request failed with status code 500
See the Help section of the Security Onion documentation for additional troubleshooting guidance.
|
Beta Was this translation helpful? Give feedback.
-
Looks like your SOC can't get a reply from redis because redis is full. (I've been wrong before...) I've experienced this, and it is frustrating. I'm going to assume this is a distributed cluster.
I'm assuming everything is locked up at this point... On every node running redis, do The redis queue should begin to drain, and new events come in. If new events aren't coming in, you'll also need to restart the logstash on manager and receivers. If events still won't go into elastic, but the cluster is healthy, you've got an issue with an index. There are ways to unlock them, but it seems to be faster to blow out the problem index and replay the data later. Hopefully this is helpful and not completely off base. Other suggestions included bumping up redis max memory. Definitely a good idea! Good luck! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon,
I just added a 1.5TB to my manager to give more room to the /nsm folder. After this process now I have no alerts in SOC and also, Kibana is not taking my login. Can someone help or point me in the right direction?
[WARN ][logstash.outputs.redis ] Failed to send backlog of events to Redis
{:identity=>"redis://@soc-mngr:6379/0 list:logstash:unparsed", :exception=>#<Redis::CommandError: OOM command not allowed when used memory > 'maxmemory'.>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/redis-4.8.1/lib/redis/client.rb:162:in
call'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/redis-4.8.1/lib/redis.rb:270:in
block in send_command'", "org/jruby/ext/monitor/Monitor.java:82:insynchronize'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/redis-4.8.1/lib/redis.rb:269:in
send_command'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/redis-4.8.1/lib/redis/commands/lists.rb:86:inrpush'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/logstash-output-redis-5.0.0/lib/logstash/outputs/redis.rb:152:in
flush'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/stud-0.0.23/lib/stud/buffer.rb:221:inblock in buffer_flush'", "org/jruby/RubyHash.java:1519:in
each'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/stud-0.0.23/lib/stud/buffer.rb:216:inbuffer_flush'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/stud-0.0.23/lib/stud/buffer.rb:159:in
buffer_receive'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/logstash-output-redis-5.0.0/lib/logstash/outputs/redis.rb:209:insend_to_redis'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/logstash-codec-json-3.1.1/lib/logstash/codecs/json.rb:69:in
encode'", "/usr/share/logstash/logstash-core/lib/logstash/codecs/delegator.rb:48:inblock in encode'", "org/logstash/instrument/metrics/AbstractSimpleMetricExt.java:74:in
time'", "org/logstash/instrument/metrics/AbstractNamespacedMetricExt.java:68:intime'", "/usr/share/logstash/logstash-core/lib/logstash/codecs/delegator.rb:47:in
encode'", "/usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/logstash-output-redis-5.0.0/lib/logstash/outputs/redis.rb:123:inreceive'", "/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:105:in
block in multi_receive'", "org/jruby/RubyArray.java:1865:ineach'", "/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:105:in
multi_receive'", "org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:121:inmulti_receive'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:304:in
block in start_workers'"]}Beta Was this translation helpful? Give feedback.
All reactions