Re: sidewinder has one failure - Mailing list pgsql-hackers

From Mikael Kjellström
Subject Re: sidewinder has one failure
Date
Msg-id 8e5fceb1-85b1-41dc-dcfd-e3e1454d2879@mksoft.nu
Whole thread Raw
In response to Re: sidewinder has one failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: sidewinder has one failure  (Mikael Kjellström <mikael.kjellstrom@mksoft.nu>)
Re: sidewinder has one failure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2020-01-04 01:15, Tom Lane wrote:
> =?UTF-8?Q?Mikael_Kjellstr=c3=b6m?= <mikael.kjellstrom@mksoft.nu> writes:
>> I think Tom Lane found the "problem".  It has to do with the semaphores
>> taking up FD's.
> 
> Hm, no, because:

Yes, saw that after I posted my answer.


>> Sure.  I compiled pgsql 12 and this is the complete logfile after
>> starting up the server the first time with log_min_messages=debug2:
>> 2020-01-04 01:03:14.492 CET [14906] DEBUG:  max_safe_fds = 984,
>> usable_fds = 1000, already_open = 6
> 
> That's pretty much the same thing we see on most other platforms.
> Plus your configure log shows that SysV semaphores were selected,
> and those don't eat FDs.

Yes, it looks "normal".


> Apparently, in the environment of that TAP test, the server has more
> open FDs at this point than it does when running "normally".  I have
> no idea what the additional FDs might be.

Well it's running under cron if that makes a difference and what is the 
TAP-test using?  perl?

/Mikael



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Greatest Common Divisor
Next
From: Tom Lane
Date:
Subject: Re: Greatest Common Divisor