<div dir="ltr"><div><div>Hi Jorge,<br><br></div>original idea was to use multiprocessing package for the deamon that manages containers removal. However zombie processes accumulated on the server when using multiprocessing. Using threads solved the problem - no zombie processes remain on the server. Nevertheless I wanted to point on it to know if it's acceptable solution for you.<br><br></div><div>Also before the PR, I would appreciate to get rid of dependency on my fork of OWSLib where I use async/sync switch. We already discussed it at ML[1] with Carsten. Can you guys now when you're all together merge Carsten's solution into master of OWSLib?<br><br></div><div>Cheers,<br></div><div>A.<br></div><div><br></div>[1] <a href="https://lists.osgeo.org/pipermail/owslib-devel/2018-January/000304.html">https://lists.osgeo.org/pipermail/owslib-devel/2018-January/000304.html</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-22 16:22 GMT+01:00 Jorge Mendes de Jesus <span dir="ltr"><<a href="mailto:jorge.dejesus@geocat.net" target="_blank">jorge.dejesus@geocat.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Adam</div><div>Stilll didnt had the problem  to look what you did on on your fork, <br></div><div><br></div><div>We added your email to the issue concerning containers, so that we keep track <br></div><div><a href="https://github.com/geopython/pywps/issues/61" target="_blank">https://github.com/geopython/<wbr>pywps/issues/61</a></div><div><br></div><div>If the problems with threads are solved when you can request a PR and we will merge it</div><div><br></div><div>Cheers</div><span class="HOEnZb"><font color="#888888"><div>Jorge<br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 12, 2018 at 8:58 PM, Adam Laža <span dir="ltr"><<a href="mailto:ad.laza32@gmail.com" target="_blank">ad.laza32@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi devs,<br><br></div>during work on my thesis[1] I've added Docker extension to pywps. At my git there is a demo server (pywps-demo with extended config file) [2]. To run it with Docker extension it's necessary to use pywps[3] and OWSLib[4] from my git. Also you need Docker engine to build image and create container (the extension was tested only on Linux).<br><br></div>I will be glad for any comment. Recently, I faced a problem with zombie processes when using multiprocessing python package for deamon that manages created docker containers. Eventually, I used threading[5] instead but not really sure if it's the right solution. So any opinion will be appreciated.<br><br></div>Cheers,<br></div>Adam<br><div><div><div><div><br>[1] <a href="https://github.com/ctu-geoforall-lab-projects/dp-laza-2018/blob/master/text/adam-laza-dp-2018.pdf" target="_blank">https://github.com/ctu-geofora<wbr>ll-lab-projects/dp-laza-2018/<wbr>blob/master/text/adam-laza-dp-<wbr>2018.pdf</a><br>[2] <a href="https://github.com/lazaa32/pywps-flask" target="_blank">https://github.com/lazaa32/pyw<wbr>ps-flask</a><br>[3] <a href="https://github.com/lazaa32/pywps" target="_blank">https://github.com/lazaa32/pyw<wbr>ps</a><br>[4] <a href="https://github.com/lazaa32/OWSLib/tree/sync_request" target="_blank">https://github.com/lazaa32/OWS<wbr>Lib/tree/sync_request</a><br>[5] <a href="https://github.com/lazaa32/pywps/blob/develop/pywps/processing/container.py#L73" target="_blank">https://github.com/lazaa32/pyw<wbr>ps/blob/develop/pywps/processi<wbr>ng/container.py#L73</a><br></div></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>