I have a simple python game script on my server which runs a loop like:
while True : (( listen for packets )) (( send packets back to all connected clients ))
I launch this script with
./gameServer.py &
Sometimes things go weird and I end up at my terminal again (PuTTy) but the script is still apparently running when I check ps.
I tried kill 3081 (where 3081 is the process id of the gameServer.py script) but it will not die.
Should I do kill -9? Will that have unwanted side effects? Why doesn't it die?
I am on Linux 2.6.24, Ubuntu flavoring.