• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Docker containers crash randomly any few days

devnull

New Pleskian
Hey guys,

I have an issue with the Docker feature on Ubuntu Ubuntu 20.04.5 LTS. I have automatic updated enabled so I always use the latest Plesk version.

Every few days my Docker containers crash. Sometimes it's a network related error (I cant reproduce this right now) and sometimes its the following error:
Fehler: {"message":"driver failed programming external connectivity on endpoint mongodb (...): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 27017 -j DNAT --to-destination 172.17.0.2:27017 ! -i docker0: iptables: Memory allocation problem.\n (exit status 1))"}

I have 16GB ram and the ram is at very low usage all time. I have just a backup task running at night which caches the whole ram (dont know why this is happening). So there is enough RAM for the Docker containers.

To restart the containers I have to restart the whole server! Please tell me how to fix this issue in Plesk. I cant use Plesk anymore if this stuff doesn't work.

Unbenannt.JPG
 
Sorry to see that you did not get any responses so far. Are you really on Plesk Onyx as this has been posted in that forum? Or should the thread be moved to the Obsidian forum?

The error message says "Memory allocation problem". Then there is the information "I have just a backup task running at night which caches the whole ram". And we already know that every night the Docker container crashes for insufficient RAM. Your conclusion from that is: "there is enough RAM for the Docker containers."

Maybe the conclusion is not right?
 
Hey Peter,

thank your for your answer!

I have invested another few hours in research and found out that it wasn't related to the actual memory but to the allowed number of numiptent. It is limited to 2000 on my VPS and I had to much fail2ban entries and reached that number fast.

I have reset my fail2ban and shortened the ban duration a bit (I had a few weeks for sshd).

Seems to work now.
 
Back
Top