[Buildroot] autobuilder flock hangs
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Aug 13 21:28:59 UTC 2018
Thomas, Hollis, All,
On 2018-08-13 23:18 +0200, Thomas Petazzoni spake thusly:
> Hello,
>
> +Yann in Cc.
>
> On Mon, 13 Aug 2018 11:18:10 -0700, Hollis Blanchard wrote:
>
> > >> x86_64 | azure-iot-sdk-c | TIM | http://autobuild.buildroot.net/results/43b9bccacd88397d732fda16d998fa7dc001f900 |
> > > Hollis: your autobuilder times out when downloading this package, could
> > > you have a look ? See
> > > http://autobuild.buildroot.net/?reason=azure-iot-sdk-c%.
> >
> >
> > >> xtensa | linux-firmware | TIM | http://autobuild.buildroot.net/results/34b8bb8824d369e5b53e2a4effd1a8d18df07aee |
> > > Hollis, once again your autobuilder timing out when downloading stuff:
> > > http://autobuild.buildroot.net/?reason=linux-firmware%.
> > flock was hanging. I don't know why; have you experienced anything like
> > that?
> Not that I remember. Yann ?
Nope.
flock(1) is just a utility wrapper around flock(2), which is itself a
syscall to the kernel. The kernel frees a lock as soon as the process
that aqcquired it closes the filedescriptor(s) used to acquire that
lock, which also automatically occurs when the process dies (naturally
or forcibly).
So, barring a kernel bug, I'd say something else also had a lock...
You can get the list of process haviong locks with the lslocks command.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list