Reports in queued azure
-
We have app services on Azure and we have prints that are in the queue with worker errors like 1
Our configuration:
{
"name": "chrome_numberOfWorkers",
"value": "8",
"slotSetting": false
},
{
"name": "chrome_strategy",
"value": "chrome-pool",
"slotSetting": false
},
{
"name": "extensions_express_inputRequestLimit",
"value": "100mb",
"slotSetting": false
},
{
"name": "licenseKey",
"value": "$(licenseKey)",
"slotSetting": false
},
{
"name": "NODE_OPTIONS",
"value": "--max_old_space_size=4096",
"slotSetting": false
},
{
"name": "reportTimeout",
"value": "60000",
"slotSetting": false
},
{
"name": "templatingEngines_numberOfWorkers",
"value": "8",
"slotSetting": false
},
{
"name": "WEBSITE_HTTPLOGGING_RETENTION_DAYS",
"value": "2",
"slotSetting": false
},
{
"name": "WEBSITES_ENABLE_APP_SERVICE_STORAGE",
"value": "false",
"slotSetting": false
},
{
"name": "extensions_chrome_timeout",
"value": "40000",
"slotSetting": false
},
{
"name": "chrome_launchOptions_protocolTimeout",
"value": "600000",
"slotSetting": false
},
{
"name": "templatingEngines_strategy",
"value": "http-server",
"slotSetting": false
}
-
Please share the actual error and logs.
-
Some examples errors
Note: Template name is anonymous because they are not saved in the jsreports folders, the report comes from the database
-
Thank you.
This could be normal behavior in which reports are queued because workers are busy processing previous requests.
The maximum of parallel requests that can be executed is specified usingworkers.numberOfWorkers
config which defaults to 2. Maybe you can try to increase it.If that doesn't help, please just try to explain more. What jsreport version do you use? Does this happen every time even for the first report? How many reports do you execute before you get the queue timeouts? Does this problem persist even if the server is idle for a minute? Do you see some server crashes and restarts? Do you experience the same on your dev machine?