MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
OSError: [Errno 12] Cannot allocate memory
Current time: 02-21-2020, 05:10 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OSError: [Errno 12] Cannot allocate memory
12-20-2019, 03:01 AM
Post: #1
OSError: [Errno 12] Cannot allocate memory
Our test agents have started to fail after successfully running for a few hours. The error is: OSError: [Errno 12] Cannot allocate memory

We use docker images on c4.large instances (4GB RAM) but have also seen this failure using on-prem instances with 8GB of ram. Rolling back to an image from early December did not fix the issue, so I suspect this could be due to a browser change.

To get agents working again, we can restart the container. Adding swap also seems to fix the issue, but we have not run tests long enough to see if this is a permanent fix.

Anyone else see this issue and have a permanent fix?

We run via docker with these options:
docker run -d --shm-size=1g -e "SERVER_URL=http://<fqdn>/work/" -e "LOCATION=${region}_Linux" --cap-add="NET_ADMIN" --restart unless-stopped --name <custom-repo>/webpagetest/agent:latest
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
OSError: [Errno 12] Cannot allocate memory - jedmichnowicz - 12-20-2019 03:01 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)