<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Petrovicz,<br></div><div><br></div><div>Is this running using CGI or FastCGI?<br></div><div>Why do you need to overwrite the font file? If it is to redeploy MapServer applications, I normally stop IIS first as part of the deployment script, and add a wait/sleep so it is actually stopped before copying over new files.<br></div><div><br></div><div>Seth<br></div><div><br></div><div id="sig62266145"><div class="signature">--<br></div><div class="signature">web:<a href="https://geographika.net">https://geographika.net</a> & <a href="https://mapserverstudio.net">https://mapserverstudio.net</a><br></div><div class="signature">twitter: @geographika<br></div></div><div><br></div><div>On Mon, Jun 10, 2024, at 10:25 AM, Benedek Petrovicz via MapServer-users wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Hi!<br></div><div><br></div><div>When trying to make a new deploy on our server we get an error that the font file which is being used for WMS requests is locked by the mapserv process and cannot be overwritten.<br></div><div>I re-created the issue on a local test environment. (OS: Windows, mapserv is running on IIS)<br></div><div><br></div><div>I send a WMS request to mapserv, where I use an arial.ttf font file.<br></div><div>After the request is fulfilled, IIS keeps the process running for a while to be prepared for any additional requests.<br></div><div>Even though no requests are coming in, mapserv keeps a lock on the font file.<br></div><div>I can delete/overwrite any other files (mapfiles, fontset.list, etc.), but not that single font file.<br></div><div>After the process reaches its idle time limit (which is set in IIS) and terminates, the file is not being locked anymore.<br></div><div><br></div><div>Is there a specific reason for keeping that font file locked while idling?<br></div><div>Can I prevent this somehow?<br></div><div><br></div><div>Thanks<br></div><div>Petrovicz<br></div></div><div>_______________________________________________<br></div><div>MapServer-users mailing list<br></div><div><a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div><div><br></div></blockquote><div><br></div></body></html>