Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock files on Shapefiles are not released #1139

Open
dstenger opened this issue Apr 20, 2021 · 0 comments
Open

Lock files on Shapefiles are not released #1139

dstenger opened this issue Apr 20, 2021 · 0 comments
Labels
bug error issue and bug (fix)

Comments

@dstenger
Copy link
Contributor

When a request accesses a Shapefile data source, lock files are created.

E.g.:

-rw-r--r-- 1 ogcri ogcri 1,1M Apr 14 06:33 Lakes.h2.db
-rw-r----- 1 ogcri ogcri  100 Apr 14 06:33 Lakes.lock.db

Those lock files are not removed after the request has been processed but stay there until the application server (e.g. Tomcat) is restarted.

This is no problem if just one deegree instance accesses the workspace.
However, when multiple deegree instances access the workspace, only one instance can use the Shapefile. All other instances cannot access the Shapefile data source because of the lock file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error issue and bug (fix)
Projects
None yet
Development

No branches or pull requests

1 participant