Hello,
Issue: Graylog collector process shows as running when checked with below commands
- /etc/init.d/graylog-collector status
- ps -ef | grep graylog-collector
But actually it is not sending logs when data increase inside log files.
OS: Amazon Linux
OS VERSION_ID=“2017.03"
Graylog Collector Version: 0.5.0.
File: Graylog collector
COLLECTOR_JAVA_DEFAULT_OPTS=”-Xms1024m -Xmx1024m -Djava.library.path=$COLLECTOR_ROOT/lib/sigar"
Thanks,
Amit.
Thread dump of graylog-collector process: -
2017-09-19 05:38:37
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.141-b15 mixed mode):
"Attach Listener" #157 daemon prio=9 os_prio=0 tid=0x00007fe028001000 nid=0x3b82 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Keep-Alive-Timer" #156 daemon prio=8 os_prio=0 tid=0x00007fdffc049800 nid=0x3b0a waiting on condition [0x00007fe0078f9000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:172)
at java.lang.Thread.run(Thread.java:748)
Locked ownable synchronizers:
- None
...
.....
.......
"GC task thread#6 (ParallelGC)" os_prio=0 tid=0x00007fe074028800 nid=0x565b runnable
"GC task thread#7 (ParallelGC)" os_prio=0 tid=0x00007fe07402a800 nid=0x565c runnable
"VM Periodic Task Thread" os_prio=0 tid=0x00007fe07421c000 nid=0x5666 waiting on condition
JNI global references: 359