<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:"Segoe UI WPC","Segoe UI",Tahoma,"Microsoft Sans Serif",Verdana,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223, 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 237, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I do not know if Mapproxy is already utilizing thishttp://www.sqlite.org/wal.html
</p>
<p><br>
</p>
<p>If not it feels like your use case would be something that could have use for WAL. Let's wait what the developers say.<br>
</p>
<p><br>
</p>
<p>-Jukka Rahkonen-<br>
</p>
<div style="color: #282828;">
<hr tabindex="-1" style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;">Jeff Konnen wrote:</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
what is the best option for keeping a cache of a layer in the filesystem?<br>
<br>
</div>
I've used sqlite because of the benefits of the database (vs filesystem) and the ability to use refresh_before seeds..<br>
<br>
</div>
But when seeding, I keep running into the following fatal error: sqlite3.OperationalError: database is locked<br>
<br>
</div>
Is there anything I could do here? Is is because of the concurrency of the seeding (and the on-the-fly rendering) ?<br>
<br>
</div>
While the file cache fills up my inodes very fast, I don't have these locking problems..<br>
<br>
</div>
What's the ideal solution for a layer that has to be reseeded once a week but continuously online?<br>
<br>
</div>
Best regards<br>
Jeff<br clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
-- <br>
Jeff Konnen<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>