Jump to content

Patch for busy hang in aufs (docker)


Recommended Posts

Hi,

 

I hit a problem on pinebook where docker would hang with defunct processes consuming high cpu. A bit of googling turned up a known problem with aufs as the cause, so I grabbed the patches, combined them and created a pull request

 

https://github.com/armbian/build/pull/772

 

I gave the resulting kernel a fairly good work-out this evening and it seems to be working fine now.

Link to comment
Share on other sites

5 hours ago, vlad59 said:

You're using mainline kernel or legacy ?

If you're using mainline Overlay2 is a better choice, isn't it ?

Legacy. I haven't had a chance to try mainline on the pinebook yet (which would be an interesting thing to do), but my understanding is that it isn't ready for desktop/gui use yet.

As far as aufs vs Overlay2 goes, I read enough to realise there's a lot of political stuff around the adoption into the kernel and newer distributions, but I haven't seen any technical comparisons of the two. Apart from the bug above, aufs seems to have been working extremely well, but I guess if the momentum now is behind overlay2 then that's the direction we will all be going in.

Link to comment
Share on other sites

Sorry I have missed you were using a pinebook. I'm use mainline on a Pine64 and it's working fine but I'm not using any desktop / gui ;)

 

About aufs vs Overlay2 : when I was still using my SDCard as storage for my docker containers (one year ago), I had a lot of performance problem with aufs -> using overlay2 solved most of it. Back I was reading this site and it convinced me https://github.com/chriskuehl/docker-storage-benchmark

 

But I'm not selling anything, if it works good enought don't touch it ;)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines