Hello,
Recently I have been facing an issue when running InfluxDB v0.9.0-rc31 (Go Application) on 10.1-STABLE (r283556).
Once InfluxDB is started and working correctly after some time the process stops responding and it can no longer be restarted nor killed -9 (I have also tried using gdb(1) and truss(1) without any success)
I have been searching around and have not been able to find any information on how to kill the process without rebooting the server.
Does anyone know if there is any way of killing the process?
Recently I have been facing an issue when running InfluxDB v0.9.0-rc31 (Go Application) on 10.1-STABLE (r283556).
Once InfluxDB is started and working correctly after some time the process stops responding and it can no longer be restarted nor killed -9 (I have also tried using gdb(1) and truss(1) without any success)
I have been searching around and have not been able to find any information on how to kill the process without rebooting the server.
Does anyone know if there is any way of killing the process?
Code:
# ps auwwxp 46035
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 46035 0.0 0.1 88640 8856 3- TN+ 3:01PM 1:07.57 /usr/local/bin/influxd -config=/usr/local/etc/influxd.conf
# procstat -kk 46035
PID TID COMM TDNAME KSTACK
46035 101373 influxd - mi_switch+0xe1 sleepq_timedwait_sig+0x8b _sleep+0x238 umtxq_sleep+0x125 do_wait+0x387 __umtx_op_wait_uint_private+0x83 ia32_syscall+0x2f8 Xint0x80_syscall+0x95
46035 101386 influxd - mi_switch+0xe1 thread_suspend_switch+0x170 thread_single+0x4e5 exit1+0xbe sys_sys_exit+0xe ia32_syscall+0x2f8 Xint0x80_syscall+0x95
root@eud3-pr-mutgra1:/ #
# procstat -t 46035
PID TID COMM TDNAME CPU PRI STATE WCHAN
46035 101373 influxd - 7 64 stop -
46035 101386 influxd - 7 64 stop -
# procstat -i 46035| grep -vE -- '---$'
PID COMM SIG FLAGS
46035 influxd HUP P-C
46035 influxd INT P-C
46035 influxd QUIT P-C
46035 influxd ILL --C
46035 influxd TRAP --C
46035 influxd ABRT --C
46035 influxd EMT --C
46035 influxd FPE --C
46035 influxd KILL P--
46035 influxd BUS --C
46035 influxd SEGV --C
46035 influxd SYS --C
46035 influxd PIPE --C
46035 influxd ALRM --C
46035 influxd TERM P-C
46035 influxd URG --C
46035 influxd STOP P--
46035 influxd CHLD --C
46035 influxd IO --C
46035 influxd XCPU --C
46035 influxd XFSZ --C
46035 influxd VTALRM --C
46035 influxd PROF --C
46035 influxd WINCH P-C
46035 influxd INFO --C
46035 influxd USR1 --C
46035 influxd USR2 --C
46035 influxd 32 --C
# procstat -j 46035| grep -vE -- '--$'
PID TID COMM SIG FLAGS
# procstat -r 46035
PID COMM RESOURCE VALUE
46035 influxd user time 00:00:27.873138
46035 influxd system time 00:00:39.698525
46035 influxd maximum RSS 19128 KB
46035 influxd integral shared memory 36370152 KB
46035 influxd integral unshared data 2295552 KB
46035 influxd integral unshared stack 1147776 KB
46035 influxd page reclaims 3043
46035 influxd page faults 88
46035 influxd swaps 0
46035 influxd block reads 115154
46035 influxd block writes 41648
46035 influxd messages sent 30994
46035 influxd messages received 37976
46035 influxd signals received 6
46035 influxd voluntary context switches 2113406
46035 influxd involuntary context switches 34322