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
    0_1724687683857_upload-e6852ebe-e641-4aea-97a7-9b9441f67ca9
    0_1724687641242_upload-0afb9f46-9863-45fc-88e1-327e4d7da192
    0_1724687747344_upload-ce83733f-4c6f-4c88-8981-931b3e79b619
    0_1724687773373_upload-8da50db8-2b27-41a0-ba6f-3e7070e4586e

    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 using workers.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?


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.