I need help to clarify some concepts. Right now I'm using celery(a python scheduler) to run a task. Since celery has time limit for a task(300s should be default) and my task is very likely to run longer, I decided to spawn a process inside that task to do the actual work. However, what I don't know is that if during the execution of the task, I accidentally restart/stop celery server, will the process that spawned still working? Or it will become a zombie process? Please give me some details if possible. Thanks!
Edit: One more question: when you do
p = Process(target=f, args=('test',))
p.start()
Does p become a child process for current process? Or it just create an independent process?