The process that didn't die.

10 views
Skip to first unread message

Ørjan Tønder

unread,
Feb 4, 2020, 8:05:06 AM2/4/20
to Django users
I have a problem I can't wrap my head around

when I ssh into remote server:

muad@podde:~$ ssh hub
[venv] muad@hub:~ % cd tonder
[venv] muad@hub:~/tonder % python manage.py start_bot
[bot starts fine and the process stays attached]
muad@podde:~$ xkill                                                               │······················
Select the window whose client you wish to kill with button 1....                 │······················
xkill:  killing creator of resource 0x140000f   
 [whoops :o] 
muad@podde:~$ ssh hub
[venv] muad@hub:~ % ps aux
USER    PID %CPU %MEM   VSZ   RSS TT  STAT STARTED     TIME COMMAND
muad  61477  2.2  0.4 84616 65612  3  S+J  Sun08   75:57.59 /usr/home/muad/venv/bin/python manage.py runserver 192.168.1.113:8000 (python3.7)
muad  65872  1.7  0.3 71328 57092  9- S+J  07:42    0:00.74 python manage.py start_bot l1 (python3.7) <---- WHYYY is not this one dead as a door nail?

PID 65872 does not die, is this some Django voodo trick and if that is the case how/why/what ehm huh?



bot.py
start_bot.py
Reply all
Reply to author
Forward
0 new messages