{ "level": "info", "service": "AutoscaledPool", "message": "state", "id": "5b83448e57d74571921de06df2d980f2", "jobId": "testPayload4", "currentConcurrency": 1, "desiredConcurrency": 1, "systemStatus": { "isSystemIdle": false, "memInfo": { "isOverloaded": true, "limitRatio": 0.2, "actualRatio": 1 }, "eventLoopInfo": { "isOverloaded": false, "limitRatio": 0.6, "actualRatio": 0.019 }, "cpuInfo": { "isOverloaded": false, "limitRatio": 0.4, "actualRatio": 0 }, "clientInfo": { "isOverloaded": false, "limitRatio": 0.3, "actualRatio": 0 } } }
{ "level": "warning", "service": "Snapshotter", "message": "Memory is critically overloaded. Using 7164 MB of 6065 MB (118%). Consider increasing available memory.", "id": "5b83448e57d74571921de06df2d980f2", "jobId": "testPayload4" }
azure:service-bus:receiver:warning [connection-1|streaming:discovery-8ffea0b6-f055-c04e-88ae-f31f039f2c24] Abandoning the message with id '656b7051a08b4b759087c40d0ecef687' on the receiver 'discovery-8ffea0b6-f055-c04e-88ae-f31f039f2c24' since an error occured: browserType.launch: Executable doesn't exist at /home/myuser/pw-browsers/chromium-1129/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
serve-file
and file
changes regularly. chromium.use(stealthPlugin()); const router = createPlaywrightRouter(); router.addHandler( requestLabels.SPIDER, spiderDiscoveryHandlerFactory(container), ); router.addHandler(requestLabels.ARTICLE, articleHandlerFactory(container)); const config = new Configuration({ storageClient: new MemoryStorage({ localDataDirectory: `./storage/${message.messageId}`, writeMetadata: true, persistStorage: true, }), persistStateIntervalMillis: 5000, persistStorage: true, purgeOnStart: false, headless: false, }); const crawler = new PlaywrightCrawler( { launchContext: { launcher: chromium, }, requestHandler: router, errorHandler: (_request, error) => { logger.error(`${error.name}\n${error.message}`); }, maxRequestsPerCrawl: body.config.maxRequests > 0 ? body.config.maxRequests : undefined, useSessionPool: true, persistCookiesPerSession: true, }, config, );
chromium.use(stealthPlugin()); const router = createPlaywrightRouter(); router.addHandler( requestLabels.SPIDER, spiderDiscoveryHandlerFactory(container), ); router.addHandler(requestLabels.ARTICLE, articleHandlerFactory(container)); const config = new Configuration({ storageClient: new MemoryStorage({ localDataDirectory: `./storage/${message.messageId}`, writeMetadata: true, persistStorage: true, }), persistStateIntervalMillis: 5000, persistStorage: true, purgeOnStart: false, headless: false, }); const crawler = new PlaywrightCrawler( { launchContext: { launcher: chromium, }, requestHandler: router, errorHandler: (_request, error) => { logger.error(`${error.name}\n${error.message}`); }, maxRequestsPerCrawl: body.config.maxRequests > 0 ? body.config.maxRequests : undefined, useSessionPool: true, persistCookiesPerSession: true, }, config, );
{ "level": "info", "service": "AutoscaledPool", "message": "state", "id": "5b83448e57d74571921de06df2d980f2", "jobId": "testPayload4", "currentConcurrency": 1, "desiredConcurrency": 1, "systemStatus": { "isSystemIdle": false, "memInfo": { "isOverloaded": true, "limitRatio": 0.2, "actualRatio": 1 }, "eventLoopInfo": { "isOverloaded": false, "limitRatio": 0.6, "actualRatio": 0.019 }, "cpuInfo": { "isOverloaded": false, "limitRatio": 0.4, "actualRatio": 0 }, "clientInfo": { "isOverloaded": false, "limitRatio": 0.3, "actualRatio": 0 } } }
{ "level": "warning", "service": "Snapshotter", "message": "Memory is critically overloaded. Using 7164 MB of 6065 MB (118%). Consider increasing available memory.", "id": "5b83448e57d74571921de06df2d980f2", "jobId": "testPayload4" }