Skip to content

process can't be killed for a long time #479

@issaxyz

Description

@issaxyz

I used pkill bchd command, but the server seems turn in to a zombie process.
OS: ubuntu 18.04

bchd --version

bchd version 0.18.0

startup script

bchd
--rpclisten=0.0.0.0
--grpclisten=0.0.0.0
--addrindex --txindex --slpindex
-b=./ -C=./config.ini

config.ini

listen=127.0.0.1
rpclisten=0.0.0.0
maxpeers=12
maxpeersperip=1
rpclimituser=xxxxx
rpclimitpass=xxxxx
rpcuser=xxxxx
rpcpass=xxxxx
rpcquirks=1
notls=1

tail -f $WORK_HOME/nohup.out

2021-06-09 16:12:28.196 [INF] SRVR: Stopped: cpuMiner
2021-06-09 16:12:28.196 [INF] SRVR: Stopping: rpcServer
2021-06-09 16:12:28.196 [WRN] RPCS: RPC server shutting down
2021-06-09 16:12:28.197 [INF] RPCS: RPC server shutdown complete
2021-06-09 16:12:28.197 [INF] SRVR: Stopped: rpcServer
2021-06-09 16:12:28.197 [INF] SRVR: Saving fee estimate to database
2021-06-09 16:12:32.417 [INF] SRVR: Fee estimate save complete
2021-06-09 16:12:32.417 [INF] SRVR: Waiting for server waitgroup to complete
2021-06-10 10:15:09.020 [INF] BCHD: Received signal (terminated). Already shutting down...
2021-06-10 10:21:03.765 [INF] BCHD: Received signal (terminated). Already shutting down...

top

%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 4039088 total, 326820 free, 2243412 used, 1468856 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 2438384 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
739 root 20 0 2360880 1.978g 7856 S 0.0 51.4 7284:52 bchd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions