geopython / pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
https://pywps.org
MIT License
178 stars 117 forks source link

Clean up after process crash #448

Open huard opened 5 years ago

huard commented 5 years ago

Description

The database entries (pywps_stored_requests, pywp_requests) for requests are not decremented when processes crash. After some time the server reaches the maximum number of parallel processes allowed and rejects all new requests, even though no process is active.

Is there a way to catch the crashes and remove those processes from the count to avoid this issue ?

omerlevko commented 5 years ago

hi, @cehbrecht - do you have any idea about how to solve this? i will implement it

cehbrecht commented 5 years ago

@huard Probably this will be solved by the watchdog daemon in PR @497.