pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Should we disable Solaris using Unix Domain Sockets in the regression test?
3+ messages / 2 participants
[nested] [flat]

* Should we disable Solaris using Unix Domain Sockets in the regression test?
@ 2001-09-23 05:11  Justin Clift <justin@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Justin Clift @ 2001-09-23 05:11 UTC (permalink / raw)
  To: pgsql-hackers

Hi all,

Did anyone ever figure out why Solaris boxes had those random failures
during the regression tests?

If no, then should we ensure the regression test on Solaris run's over
TCP instead (like BeOS and QNX do)?  To do this is a one-line fix in the
shell script.

Regards and best wishes,

Justin Clift

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Should we disable Solaris using Unix Domain Sockets in the regression test?
@ 2001-09-23 05:48  Ian Lance Taylor <ian@airs.com>
  parent: Justin Clift <justin@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Ian Lance Taylor @ 2001-09-23 05:48 UTC (permalink / raw)
  To: Justin Clift <justin@postgresql.org>; +Cc: pgsql-hackers

Justin Clift <justin@postgresql.org> writes:

> Did anyone ever figure out why Solaris boxes had those random failures
> during the regression tests?

It should be better now that listen() is being called with a larger
number.  The basic problem is that Solaris actually honors the
listen() backlog argument, and if more than that many Unix socket
clients attempt to connect simultaneously, some are rejected
immediately.

Ian



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Should we disable Solaris using Unix Domain Sockets in the
@ 2001-09-23 06:00  Justin Clift <justin@postgresql.org>
  parent: Ian Lance Taylor <ian@airs.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Justin Clift @ 2001-09-23 06:00 UTC (permalink / raw)
  To: Ian Lance Taylor <ian@airs.com>; +Cc: pgsql-hackers

Cool.

:)

Regards and best wishes,

Justin Clift


Ian Lance Taylor wrote:
> 
> Justin Clift <justin@postgresql.org> writes:
> 
> > Did anyone ever figure out why Solaris boxes had those random failures
> > during the regression tests?
> 
> It should be better now that listen() is being called with a larger
> number.  The basic problem is that Solaris actually honors the
> listen() backlog argument, and if more than that many Unix socket
> clients attempt to connect simultaneously, some are rejected
> immediately.
> 
> Ian

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-09-23 06:00 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-09-23 05:11 Should we disable Solaris using Unix Domain Sockets in the regression test? Justin Clift <justin@postgresql.org>
2001-09-23 05:48 ` Ian Lance Taylor <ian@airs.com>
2001-09-23 06:00   ` Re: Should we disable Solaris using Unix Domain Sockets in the Justin Clift <justin@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox