I been reading through some previous post about the “subject” in my post but cant seem to find what I need in those.
My graylog installation, testing, keeps failing with out messages. It receives about 30-50 msg per seconds and I dont think that is very high. Its a default installation, out of the box, with one modification listed below.
If I reboot the server it works for a little while then goes back to not processing the msg. Incoming works but not outgoing. It just seems to pile up and I found today I had 500.000.000 msg waiting… Yea I left it for a while.
I am not that well versed in linux but not a total beginner either. What would I need to post to get this troubleshooted?
Server info: Virtual in Hyper-V.
CPUx2
4GB RAM
100GB disk
I have noticed that Hyper-V say it demands 5283MB of RAM
I only have one firewall sending logs to it currently as it is a test.
I have extended the JVM memory to 2GB but thats the only tweak I done so far.
All services seem ok as I run the graylog-ctl status command.
Ok… managed to use less and looked through graylog.log file.
[2018-05-31T00:28:01,562][WARN ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] high disk watermark [90%] exceeded on [uYUXalBhRQWrctZAudACfA][uYUXalB][/var/opt/graylog/data/elasticsearch/nodes/0] free: 4.4gb[4.5%], shards will be relocated away from this node
[2018-05-31T00:28:01,562][INFO ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2018-05-31T00:28:31,564][WARN ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] high disk watermark [90%] exceeded on [uYUXalBhRQWrctZAudACfA][uYUXalB][/var/opt/graylog/data/elasticsearch/nodes/0] free: 4.4gb[4.5%], shards will be relocated away from this node
[2018-05-31T00:29:01,565][WARN ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] high disk watermark [90%] exceeded on [uYUXalBhRQWrctZAudACfA][uYUXalB][/var/opt/graylog/data/elasticsearch/nodes/0] free: 4.4gb[4.5%], shards will be relocated away from this node
[2018-05-31T00:29:01,565][INFO ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2018-05-31T00:29:31,567][WARN ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] high disk watermark [90%] exceeded on [uYUXalBhRQWrctZAudACfA][uYUXalB][/var/opt/graylog/data/elasticsearch/nodes/0] free: 4.4gb[4.5%], shards will be relocated away from this node
[2018-05-31T00:30:01,570][WARN ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] high disk watermark [90%] exceeded on [uYUXalBhRQWrctZAudACfA][uYUXalB][/var/opt/graylog/data/elasticsearch/nodes/0] free: 4.4gb[4.5%], shards will be relocated away from this node
[2018-05-31T00:30:01,570][INFO ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2018-05-31T00:30:31,571][WARN ][o.e.c.r.a.DiskThresholdMonitor] [uYUXalB] high disk watermark [90%] exceeded on [uYUXalBhRQWrctZAudACfA][uYUXalB][/var/opt/graylog/data/elasticsearch/nodes/0] free: 4.4gb[4.5%], shards will be relocated away from this node
Those logs seems to dominate it…
I get the disk space seems to be close to running out but what do I do about it? I rather have the logs that comes into the graylog gets treated like circular logging in Exchange so I can set a maximum value and then it just whipes the old stuff. If possible…
Yea, it seems to have done the trick. I lowered the diskusage on the indices and the number of indices and set it to delete once it has to start over. At least the in/out seems to work fine.