parallel processes not stop on quit 6631 Closed LeoK987 opened this Issue on Apr 25, 2014 ยท 6 comments Projects None yet Labels bug parallel Milestone No milestone Assignees No one assigned 6 participants LeoK987 amitmurthy nalimilan ViralBShah StefanKarpinski kmsquire Notifications LeoK987 LeoK987 commented on Apr 25, 2014 julia -p 4 _ _ _ _ | A fresh approach to technical computing | | Documentation: http: docs.julialang.org _ _ _| | __ _ | Type help to list help topics | | | | | | | ` | | | | || | | | | | | Version 0.3.0-prerelease |\'|||_'| | Official http: julialang.org release |_ | x86_64-linux-gnu julia require test-jl CERROR: interrupt in process_events at stream-jl:513 julia quit Then the 4 julia processes are still running amitmurthy The Julia Language member amitmurthy commented on Apr 25, 2014 Ctrl-C is not propagated to the workers. Use interrupt to interrupt the workers. If test-jl is compute bound, unless the workers are interrupted, they will not exit upon the master process exiting. nalimilan nalimilan commented on Apr 25, 2014 I can't think of a situation where you'd like the workers started using julia -p N to outlive the master process. Can't the workers be interrupted unconditionally on exit? amitmurthy The Julia Language member amitmurthy commented on Apr 25, 2014 That's probably the right thing to do. ViralBShah The Julia Language member ViralBShah commented on Apr 25, 2014 Yes, I agree this is the right thing to do. StefanKarpinski The Julia Language member StefanKarpinski commented on Apr 26, 2014 In general, unless the user explicitly detaches a process somehow, I don't think it makes any sense for a worker to outlive the master. When a process is detached, is it still a worker or something else? ViralBShah ViralBShah added parallel bug labels on Apr 26, 2014 kmsquire The Julia Language member kmsquire commented on Apr 26, 2014 When a process is detached, is it still a worker or something else? A server? :- amitmurthy amitmurthy added a commit to amitmurthy julia that referenced this issue on Apr 27, 2014 amitmurthy Closes 6631 39257a7 amitmurthy amitmurthy added a commit that closed this issue on Apr 27, 2014 amitmurthy Closes 6631 a9b505a amitmurthy amitmurthy closed this in a9b505a on Apr 27, 2014 colbec colbec referenced this issue in bensadeghi DecisionTree-jl on Aug 17 Open Parallel Random Forest 2 kameeko