mapserver icon indicating copy to clipboard operation
mapserver copied to clipboard

Enable rendering by max users

Open APercy opened this issue 2 years ago • 2 comments

Could a configuration be created where I would enable rendering only when I have a maximum number of users, where passing that number it is disabled?

APercy avatar Apr 09 '23 17:04 APercy

Possible, yes, this is to reduce load on a shared machine, correct? Did you try the renderingjobs and renderingfetchlimit options in https://github.com/minetest-mapserver/mapserver/blob/master/doc/config.md#renderingjobs already?

Also: what would be a sane default value?

BuckarooBanzay avatar Apr 10 '23 10:04 BuckarooBanzay

Yes, I did. An initial value could be something like 99 to work in any case. In my case, I will use 0, to render only when nobody is at server.

APercy avatar Apr 10 '23 11:04 APercy