Closed geoslegend closed 8 years ago
Hi @geoslegend, thanks for the report. I'm afraid, I can not reproduce this bug - could you please share the process (if possible), you are testing with and the request, you are trying to pass?
@jachym I found the similar case: http://stackoverflow.com/questions/393554/python-sqlite3-and-concurrency Please check that.
Please try this solution: http://stackoverflow.com/a/2894830/2066215
Looking into the code,
pywps/dblog.py: _CONNECTION = sqlite3.connect(database, check_same_thread=False)
seems to be implemented ...
shell we just adopt work of @jan-rudolf , who introduced sqlalchemy along with support for postgresql?
https://github.com/jan-rudolf/pywps/blob/master/pywps/dblog.py
But this does not seem to be 1:1 translation
Here is a discussion on SQLite providing a few interesting alternatives: http://stackoverflow.com/q/417917/2066215
I woked with Firebird a long time ago and it was quite solid. There is a Python library for Firebird: https://pyfirebirdsql.readthedocs.io/en/latest/index.html
Another alternative might be Redis: https://pypi.python.org/pypi/redis/
Description
I set my httpd config file using wsgi setting values on pywps readme. When concurrent users increase, the error message is shown as follows:
Environment
Steps to Reproduce
Additional Information