GenieACS config

Simon Ryf simon.ryf at dualstack.ch
Mon Feb 11 12:12:22 EST 2019


Hi Helvio,

*_WORKER_PROCESSES:
See https://github.com/genieacs/genieacs/blob/master/lib/cluster.js
let workerCount = config.get(`${service.toUpperCase()}_WORKER_PROCESSES`);
if (!workerCount) workerCount = Math.max(2, require("os").cpus().length);

  *   Define how many process are started/forked (default: 2 per CPU)

MAX_CONCURRENT_REQUESTS
See: https://github.com/genieacs/genieacs/blob/master/lib/cwmp.js

  *   Define how many concurrent requests are being handled (default 20)

PRESETS_CACHE_DURATION
You shouldn’t usually worry about this. Dig into the code if you need to know more “start with a grep -R PRESETS_CACHE_DURATION *”

TASK_PARAMETERS_BATCH_SIZE = GPV_BATCH_SIZE (= default 32)
See: https://github.com/genieacs/genieacs/wiki/GenieACS-General-Config
How many GET PARAMETER VALUES per Request

Br
Simon


From: Users <users-bounces at lists.genieacs.com> on behalf of Helvio Freitas <helvio.freitas at yahoo.com>
Reply-To: Community support for GenieACS users <users at lists.genieacs.com>
Date: Monday, 11 February 2019 at 14:38
To: "users at lists.genieacs.com" <users at lists.genieacs.com>
Subject: GenieACS config

Hi  !

Can anybody clarify  the role of these tags, or point out where can read about :

MAX_CONCURRENT_REQUESTS
PRESETS_CACHE_DURATION
TASK_PARAMETERS_BATCH_SIZE
CWMP_WORKER_PROCESSES
NBI_WORKER_PROCESSES

Regards

Helvio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190211/6ceda623/attachment.html>


More information about the Users mailing list