[MapServer-users] Font file gets locked by the mapserv process
Seth G
sethg at geographika.co.uk
Mon Jun 10 23:58:46 PDT 2024
Hi Petrovicz,
Is this running using CGI or FastCGI?
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.
Seth
--
web:https://geographika.net & https://mapserverstudio.net
twitter: @geographika
On Mon, Jun 10, 2024, at 10:25 AM, Benedek Petrovicz via MapServer-users wrote:
> Hi!
>
> 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.
> I re-created the issue on a local test environment. (OS: Windows, mapserv is running on IIS)
>
> I send a WMS request to mapserv, where I use an arial.ttf font file.
> After the request is fulfilled, IIS keeps the process running for a while to be prepared for any additional requests.
> Even though no requests are coming in, mapserv keeps a lock on the font file.
> I can delete/overwrite any other files (mapfiles, fontset.list, etc.), but not that single font file.
> After the process reaches its idle time limit (which is set in IIS) and terminates, the file is not being locked anymore.
>
> Is there a specific reason for keeping that font file locked while idling?
> Can I prevent this somehow?
>
> Thanks
> Petrovicz
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20240611/a0bf389b/attachment.htm>
More information about the MapServer-users
mailing list