[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #55618] Closing half a million file descriptors on s

From: Eirik Øverby
Subject: [screen-devel] [bug #55618] Closing half a million file descriptors on startup
Date: Mon, 20 May 2019 12:56:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15

Follow-up Comment #4, bug #55618 (project screen):

I tried to apply this patch and rebuild on our freebsd build server, and
despite checking (and double-checking) that the new build is indeed installed,
screen startup (or creating a new screen) takes ages.

It is trying to close file descriptors starting with the highest-permitted
number, truss logging the following until it reaches 3, after which the
initial screen is created and the whole process starts again:

32919: getrlimit(RLIMIT_NOFILE,{ cur=7545213,max=7545213 }) = 0 (0x0)
32919: close(7545212)                            ERR#9 'Bad file descriptor'
32919: close(7545211)                            ERR#9 'Bad file descriptor'
32919: close(7545210)                            ERR#9 'Bad file descriptor'
32919: close(5)                                  ERR#9 'Bad file descriptor'
32919: close(4)                                  ERR#9 'Bad file descriptor'
32919: close(3)                                  ERR#9 'Bad file descriptor'

Suggestions welcome..



Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]