Can't stop jail or reboot FreeNas because process in a Jail won't stop

Neon

Dabbler
Joined
Dec 15, 2018
Messages
11
It seems I can't stop the jail or reboot FreeNas because a process in a Jail won't stop

root@freenas:~ # iocage stop radarr_1
* Stopping radarr_1
+ Running prestop OK
+ Stopping services OK
+ Tearing down VNET FAILED
ifconfig: interface vnet0:18 does not exist
+ Removing devfs_ruleset: 9 OK
+ Removing jail process OK
+ Running poststop OK
root@freenas:~ # iocage start radarr_1
radarr_1 is already running!

/var/log/messages:
Dec 22 15:46:28 freenas reboot: rebooted by root
Dec 22 15:47:32 freenas reboot: rebooted by root
Dec 22 15:50:01 freenas reboot: rebooted by root

top:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
18378 352 3 20 0 441M 376M STOP 1 153:14 96.41% mono-sgen
12590 root 13 20 0 1085M 28696K kqread 3 20.8H 13.19% bhyve
28674 root 13 20 0 1093M 846M kqread 0 282:43 4.53% bhyve
3373 root 21 21 0 121M 48596K nanslp 3 23:46 2.76% collectd
2991 root 1 20 0 76440K 60596K select 0 0:05 0.18% winbindd
45753 975 33 52 0 860M 117M uwait 0 9:58 0.13% mongod

I tried to kill the process with "kill -9 18378" but it doesn't kill it.

Can someone help me?
 

Neon

Dabbler
Joined
Dec 15, 2018
Messages
11
Tried to destroy the jail and now iocage freezes, and now I can't see the jails anymore in the web interface. The only option I see is to do a hardware reset or shutdown and that is not something I want to do.

This is 11.2 by the way.
 

Neon

Dabbler
Joined
Dec 15, 2018
Messages
11
I resolved it by doing a forced shutdown of FreeNAS by holding down the power button, not the way i wanted it to do.
 

Darren David

Explorer
Joined
Feb 27, 2014
Messages
54
Same here. Not quite sure how to repro or report this bug, it's quite intermittent. Interestingly, my issue was with radarr as well so maybe it's something to do with mono...
 

TsurG

Cadet
Joined
Sep 28, 2017
Messages
4
I have this same issue after updating to 11.2-U1 and it is also intermittent and with sonarr for me. When I force stop the jail my SSH session disconnects but iocage still reports the jail as up. For me this is a 11.1-U4 jail that I have not upgraded to 11.2 yet and had created it from command line in iocage 11.1.

I am unable to even initiate a reboot from the GUI, I select it but no restart. On the console I can select reboot but the reboot fails while shutting down there it pauses on "Unmounting user-supplied file-systems" for a while, then multiple errors with rc.shutdown terminated abnormally and then finally init: some process would not die ps axl recommended. At this point hard reset.

My jail with sonarr is definitely the problem as all other jails, vms and functions appear to work correctly when that jail is "hung" Going to check my zpool status, etc but so far no clue either.
 
Top