Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add net::ERR_INSUFFICIENT_RESOURCES to the documentation for the users running on EC2 or any server. #814

Closed
caner-cetin opened this issue Feb 21, 2023 · 3 comments
Labels
enhance New feature or request

Comments

@caner-cetin
Copy link
Contributor

Title.

Many servers run on scuffed storage, and as dev-shm-usage flag is turned on by default, devs may encounter this problem.

However what turns out to work is to remove the --disable-dev-shm-usage from puppeteer/chromium! If this flag is removed, the files will instead be stored in /dev/shm which has a lot more space (usually many gigabytes on larger AWS EC2 machines). Turns out that the flag was added by default to puppeteer in puppeteer/puppeteer@18f2ecd - interesting discussion here: puppeteer/puppeteer#1834

Sorry if it is already in the documentation, I couldn't see it.

Original solution: mifi/reactive-video#11

Simply fixed by

launcher.New().Delete("disable-dev-shm-usage")

i am too dumb for pull requests.

thanks!

@caner-cetin caner-cetin added the enhance New feature or request label Feb 21, 2023
@rod-robot
Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.112.6

Please fix the format of your markdown:

5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
12:16 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
13 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```go"]

generated by check-issue

@ysmood
Copy link
Member

ysmood commented Feb 21, 2023

How about you make a PR to just remove it? Just remove this line:

"disable-dev-shm-usage": nil,

@caner-cetin
Copy link
Contributor Author

How about you make a PR to just remove it? Just remove this line:

"disable-dev-shm-usage": nil,

#815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants