Netplex issue with VServer PID namespace

Thomas Calderon <[email protected]> Mon, 1 Jun 2015 11:06:57 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CA+1ewKZZQDWpmhzY0SA06f7mtO0WmErACO3NdsOeqs1UYfefcw@mail.gmail.com>
--===============3641120529721366481==
Content-Type: multipart/alternative; boundary=001a11c20fe61506c0051771270d

--001a11c20fe61506c0051771270d
Content-Type: text/plain; charset=UTF-8

Hi,

We are observing an issue when using OCamlnet netplex in combination with
VServer PID namespaces.
We are using Netplex in the multi-process mode.

Here is what we are doing:
  - start our netplex controller
    - use the post_add_hook to enter a new PID namespace
  - use dynamic workload manager to spawn child workers
    - configured with conn_limit=1

  - launch a loop of client connections
    - this spawns a new worker process for each connection

After several successful connections of the loop, clients cannot connect
anymore.
We observe some worker processes in a defunct/zombie state.
The controller and running worker processes seem deadlocked in some
condition.

When we do not use the post_add_hook to enter a new PID namespace, the
problem cannot be triggered anymore.

Do you have any hint on this?

Many thanks.

Thomas

--001a11c20fe61506c0051771270d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>We are observing an issue when usin=
g OCamlnet netplex in combination with VServer PID namespaces.</div><div>We=
 are using Netplex in the multi-process mode.</div><div><br></div><div>Here=
 is what we are doing:</div><div>=C2=A0 - start our netplex controller</div=
><div>=C2=A0 =C2=A0 - use the post_add_hook to enter a new PID namespace</d=
iv><div>=C2=A0 - use dynamic workload manager to spawn child workers</div><=
div>=C2=A0 =C2=A0 - configured with conn_limit=3D1</div><div><br></div><div=
>=C2=A0 - launch a loop of client connections</div><div>=C2=A0 =C2=A0 - thi=
s spawns a new worker process for each connection</div><div><br></div><div>=
After several successful connections of the loop, clients cannot connect an=
ymore.</div><div>We observe some worker processes in a defunct/zombie state=
.</div><div>The controller and running worker processes seem deadlocked in =
some condition.</div><div><br></div><div>When we do not use the post_add_ho=
ok to enter a new PID namespace, the problem cannot be triggered anymore.</=
div><div><br></div><div>Do you have any hint on this?</div><div><br></div><=
div>Many thanks.</div><div><br></div><div>Thomas</div></div>

--001a11c20fe61506c0051771270d--


--===============3641120529721366481==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============3641120529721366481==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

--===============3641120529721366481==--