Backlog for UNIX domain sockets

Serguei Kolos via omniORB-list <[email protected]> Fri, 18 Oct 2024 15:41:41 +0000
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <[email protected]>
--===============8164401277657587124==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_C61E43EB2850423EBD5A4E639C4983ECcernch_"

--_000_C61E43EB2850423EBD5A4E639C4983ECcernch_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi

I have been using omniORB with the UNIX domain sockets transport and period=
ically encountered connection failures when running many clients simultaneo=
usly. This appeared to be caused by the small backlog number (5) of the lis=
ten call that is used in unixEndpoint.cc file (line 205). Changing this val=
ue to 1024 has fixed the problem.
May I suggest to change this number to the standard orbParameters::listenBa=
cklog value like this is done for TCP transport?

Cheers,
Serguei

--_000_C61E43EB2850423EBD5A4E639C4983ECcernch_
Content-Type: text/html; charset="us-ascii"
Content-ID: <[email protected]>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; line-br=
eak: after-white-space;">
Hi
<div><br>
</div>
<div>I have been using omniORB with the UNIX domain sockets transport and p=
eriodically encountered connection failures when running many clients simul=
taneously. This appeared to be caused by the small backlog number (5) of th=
e listen call that is used in unixEndpoint.cc
 file (line 205). Changing this value to 1024 has fixed the problem.&nbsp;<=
/div>
<div>May I suggest to change this number to the standard <b>orbParameters::=
listenBacklog</b> value like this is done for TCP transport?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Serguei</div>
</body>
</html>

--_000_C61E43EB2850423EBD5A4E639C4983ECcernch_--


--===============8164401277657587124==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
omniORB-list mailing list
[email protected]
https://www.omniorb-support.com/mailman/listinfo/omniorb-list

--===============8164401277657587124==--