[Webkit-unassigned] [Bug 178149] [GTK] Debug test bot ran out of semaphores

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 11 00:12:28 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=178149

--- Comment #1 from Adrian Perez <aperez at igalia.com> ---
(In reply to Carlos Alberto Lopez Perez from comment #0)
> I have been debugging this:
> https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug%20%28Tests%29/
> builds/1791/steps/layout-test/logs/stdio
> 
> It looks like the server ran out of disk space, but in reality there is
> plenty of free space available.
> 
> It seems it ran out of semaphores!!
> [...]
> semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = -1 ENOSPC (No space left on device)

For a split second I was about to comment that we shouldn't let WebKit
leak semaphores, and then I noticed that Apache is to blame here  8-)

> $ ipcs -s|wc -l
> 132
> 
> Fixed it by manually running:
> $ ipcrm --all=sem
> 
> 
> So I think we should run this command as part of the kill-old-process script
> on the bots

What if there is something else that uses semaphores running in the system?
I suppose it's fine in most cases — for example for the GTK+ and WPE bots we
run them in containers and it would affect only the semaphores which belong
to the container, but it wouldn't hurt removing only the semaphores which
belong to the current user for extra safety (the “ipcs” command lists the
owners).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171011/7d36ac5f/attachment.html>


More information about the webkit-unassigned mailing list