JuliaWeb / GnuTLS.jl

Transport Level Security for Julia Streams provided by GnuTLS
Other
8 stars 13 forks source link

using GnuTLS starts 2 child processes #41

Closed shashi closed 9 years ago

shashi commented 9 years ago

This is the output of ps with a fresh Julia REPL

$ ps -ef | grep julia
shashi   14274 14241  3 15:12 pts/24   00:00:00 julia
shashi   14283 13774  0 15:12 pts/19   00:00:00 grep --color=auto julia

this is the output after running using GnuTLS in the REPL

$ ps -ef | grep julia
shashi   14274 14241  7 15:12 pts/24   00:00:02 julia
shashi   14285 14274  0 15:12 pts/24   00:00:00 [julia] <defunct>
shashi   14286 14274  0 15:12 pts/24   00:00:00 [julia] <defunct>
shashi   14289 13774  0 15:12 pts/19   00:00:00 grep --color=auto julia
sbromberger commented 9 years ago

Confirmed, though on my system it's spawning three new processes:

seth@schroeder:~$ ps -ef | grep julia | grep -v grep
  501 56698 45186   0  2:44AM ttys000    0:00.85 julia

after using GnuTLS in REPL:

seth@schroeder:~$ ps -ef | grep julia | grep -v grep
  501 56698 45186   0  2:44AM ttys000    0:12.31 julia
  501 57046 56698   0  2:45AM ttys000    0:00.00 (julia)
  501 57047 56698   0  2:45AM ttys000    0:00.00 (julia)
  501 57048 56698   0  2:45AM ttys000    0:00.00 (julia)
quinnj commented 9 years ago

This is actually a BinDeps issue, I opened it up there: https://github.com/JuliaLang/BinDeps.jl/issues/162

We don't even need using BinDeps anyway in GnuTLS.