You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not exactly, but yes... AWS Lambda only gives us one CPU, which means we are forced to use the --single-process argument. On the other hand, incognito mode won't work in --single-process mode.
@alixaxel can you elaborate please regarding single-process?
lambda with more than 1.5GB (or 2GB?) have access to 2 vCores
Dose it means we will be able to run it without single-process?
Why can't more than one process on a single core?
I'm following these issues for long time :)
They even say that we might loose --single-proccess, maybe without notice, because its not really maintained anymore
Activity
alixaxel commentedon Feb 9, 2019
Not exactly, but yes... AWS Lambda only gives us one CPU, which means we are forced to use the
--single-processargument. On the other hand, incognito mode won't work in--single-processmode.Bnaya commentedon May 15, 2019
@alixaxel can you elaborate please regarding
single-process?lambda with more than 1.5GB (or 2GB?) have access to 2 vCores
Dose it means we will be able to run it without
single-process?Why can't more than one process on a single core?
Thank you for that amazing project
alixaxel commentedon May 15, 2019
@Bnaya This was the very first thing I tested when AWS announced 3GB Lambdas with multi-core support.
This is just the design of Chromium itself, back in the day this was a major win compared to Firefox.
Unfortunately no, if you try to launch without
--single-processon a 3GB Lambda:You'll get a timeout:
Looking at
/proc/cpuinfoon the same Lambda:We can indeed see 2 CPU cores, but it still doesn't work.
Bnaya commentedon May 15, 2019
So i believe we can assume its not (only) the cores number but also something else on Lambda?
any ideas how to try and debug it?
I will play with it again when lambda node 10 support is ready :)
alixaxel commentedon May 15, 2019
@Bnaya These related issues might be helpful, this one particularly: puppeteer/puppeteer#2608 (comment)
Bnaya commentedon May 25, 2019
I'm following these issues for long time :)
They even say that we might loose
--single-proccess, maybe without notice, because its not really maintained anymore