Read more

Don't use flock with GlusterFS

Kim Klotz
May 25, 2023Software engineer at makandra GmbH

We recently encountered a problem with GlusterFS (7.x) when an application used the flock syscall on a GlusterFS path. If somehow two flock syscalls are made at the same time, the lock will never be released. And all future flock syscalls will wait forever.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

This problem doesn't happen only on our infrastructure. There are a lot of bugreports, e.g.:

There are also entries regarding flock or locking in general in each major release notes:

Posted by Kim Klotz to makandra Operations (2023-05-25 00:57)