[Pywps-dev] Docker extension

Adam Laža ad.laza32 at gmail.com
Thu Mar 22 08:51:00 PDT 2018


Hi Jorge,

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.

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?

Cheers,
A.

[1] https://lists.osgeo.org/pipermail/owslib-devel/2018-January/000304.html

2018-03-22 16:22 GMT+01:00 Jorge Mendes de Jesus <jorge.dejesus at geocat.net>:

> Hi Adam
> Stilll didnt had the problem  to look what you did on on your fork,
>
> We added your email to the issue concerning containers, so that we keep
> track
> https://github.com/geopython/pywps/issues/61
>
> If the problems with threads are solved when you can request a PR and we
> will merge it
>
> Cheers
> Jorge
>
>
> On Mon, Mar 12, 2018 at 8:58 PM, Adam Laža <ad.laza32 at gmail.com> wrote:
>
>> Hi devs,
>>
>> 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).
>>
>> 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.
>>
>> Cheers,
>> Adam
>>
>> [1] https://github.com/ctu-geoforall-lab-projects/dp-laza-2018/
>> blob/master/text/adam-laza-dp-2018.pdf
>> [2] https://github.com/lazaa32/pywps-flask
>> [3] https://github.com/lazaa32/pywps
>> [4] https://github.com/lazaa32/OWSLib/tree/sync_request
>> [5] https://github.com/lazaa32/pywps/blob/develop/pywps/processi
>> ng/container.py#L73
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20180322/0ae9a258/attachment.html>


More information about the pywps-dev mailing list