client blocked

YDC関谷正明 via omniORB-list <[email protected]> Wed, 6 Sep 2023 18:37:51 +0900
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <CAECkHYpgdarfMzeCJDqE=F6uxsqqEcpkThaiRjS+F4QpkUbVZw@mail.gmail.com>
--===============4434002751255941473==
Content-Type: multipart/alternative; boundary="000000000000eb19c80604ad7f54"

--000000000000eb19c80604ad7f54
Content-Type: text/plain; charset="UTF-8"

Hi there
I'm using omniORB4.2.3 for a long time. It works very fine.
However recently I encountered an issue where the client was blocking while
waiting for the server's response.
Here is the trace:

#0  0x00007f4877433ccd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f487942a693 in omni::tcpSocket::waitRead (sock=33, t=...)
    at ../../../../../include/omniORB4/internal/tcpSocket.h:359
#2  0x00007f487942a02d in omni::tcpConnection::Recv (this=0x7f4840005308,
    buf=0x7f4840007928, sz=8192, deadline=...)
    at ../../../../../src/lib/omniORB/orbcore/tcp/tcpConnection.cc:135
#3  0x00007f48793dec5a in omni::giopStream::inputMessage
(this=0x7f48400031b8)
    at ../../../../../src/lib/omniORB/orbcore/giopStream.cc:844
#4  0x00007f48793fa17d in omni::giopImpl12::inputReplyBegin
(g=0x7f48400031b8,
    unmarshalHeader=0x7f48793faa2a
<omni::giopImpl12::unmarshalReplyHeader(omni::giopStream*)>) at
../../../../../src/lib/omniORB/orbcore/giopImpl12.cc:587
#5  0x00007f48793fa36f in omni::giopImpl12::inputMessageBegin (
    g=0x7f48400031b8,
    unmarshalHeader=0x7f48793faa2a
<omni::giopImpl12::unmarshalReplyHeader(omni::giopStream*)>) at
../../../../../src/lib/omniORB/orbcore/giopImpl12.cc:626
#6  0x00007f48793e75ec in omni::GIOP_C::ReceiveReply (this=0x7f48400031b0)
    at ../../../../../src/lib/omniORB/orbcore/GIOP_C.cc:126
#7  0x00007f48793c1629 in omniRemoteIdentity::dispatch (this=0x7f4840000a50,
    call_desc=...)
    at ../../../../../src/lib/omniORB/orbcore/remoteIdentity.cc:100
#8  0x00007f48793a2146 in omniObjRef::_invoke (this=0x7f4840002f60,
    call_desc=..., do_assert=true)
    at ../../../../../src/lib/omniORB/orbcore/omniObjRef.cc:675

I have two questions.
1. What is the client waiting for ?
2. The client is launched with "-ORBclientCallTimeOutPeriod" option,
   but it doesn't seem to be effective. Is the option not working?

Thanks in advance.

--000000000000eb19c80604ad7f54
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi there<br>I&#39;m using omniORB4.2.3 for a long time. It=
 works very fine.<br>However recently I encountered an issue where the clie=
nt was blocking while waiting for the server&#39;s response. <br>Here is th=
e trace:<br><br>#0 =C2=A00x00007f4877433ccd in poll () at ../sysdeps/unix/s=
yscall-template.S:81<br>#1 =C2=A00x00007f487942a693 in omni::tcpSocket::wai=
tRead (sock=3D33, t=3D...)<br>=C2=A0 =C2=A0 at ../../../../../include/omniO=
RB4/internal/tcpSocket.h:359<br>#2 =C2=A00x00007f487942a02d in omni::tcpCon=
nection::Recv (this=3D0x7f4840005308,<br>=C2=A0 =C2=A0 buf=3D0x7f4840007928=
, sz=3D8192, deadline=3D...)<br>=C2=A0 =C2=A0 at ../../../../../src/lib/omn=
iORB/orbcore/tcp/tcpConnection.cc:135<br>#3 =C2=A00x00007f48793dec5a in omn=
i::giopStream::inputMessage (this=3D0x7f48400031b8)<br>=C2=A0 =C2=A0 at ../=
../../../../src/lib/omniORB/orbcore/giopStream.cc:844<br>#4 =C2=A00x00007f4=
8793fa17d in omni::giopImpl12::inputReplyBegin (g=3D0x7f48400031b8,<br>=C2=
=A0 =C2=A0 unmarshalHeader=3D0x7f48793faa2a &lt;omni::giopImpl12::unmarshal=
ReplyHeader(omni::giopStream*)&gt;) at ../../../../../src/lib/omniORB/orbco=
re/giopImpl12.cc:587<br>#5 =C2=A00x00007f48793fa36f in omni::giopImpl12::in=
putMessageBegin (<br>=C2=A0 =C2=A0 g=3D0x7f48400031b8,<br>=C2=A0 =C2=A0 unm=
arshalHeader=3D0x7f48793faa2a &lt;omni::giopImpl12::unmarshalReplyHeader(om=
ni::giopStream*)&gt;) at ../../../../../src/lib/omniORB/orbcore/giopImpl12.=
cc:626<br>#6 =C2=A00x00007f48793e75ec in omni::GIOP_C::ReceiveReply (this=
=3D0x7f48400031b0)<br>=C2=A0 =C2=A0 at ../../../../../src/lib/omniORB/orbco=
re/GIOP_C.cc:126<br>#7 =C2=A00x00007f48793c1629 in omniRemoteIdentity::disp=
atch (this=3D0x7f4840000a50,<br>=C2=A0 =C2=A0 call_desc=3D...)<br>=C2=A0 =
=C2=A0 at ../../../../../src/lib/omniORB/orbcore/remoteIdentity.cc:100<br>#=
8 =C2=A00x00007f48793a2146 in omniObjRef::_invoke (this=3D0x7f4840002f60,<b=
r>=C2=A0 =C2=A0 call_desc=3D..., do_assert=3Dtrue)<br>=C2=A0 =C2=A0 at ../.=
./../../../src/lib/omniORB/orbcore/omniObjRef.cc:675<br>=C2=A0 =C2=A0 <br>I=
 have two questions.<br>1. What is the client waiting for ?<br>2. The clien=
t is launched with &quot;-ORBclientCallTimeOutPeriod&quot; option, <br>=C2=
=A0 =C2=A0but it doesn&#39;t seem to be effective. Is the option not workin=
g?<div><font face=3D"Arial, Helvetica, sans-serif"><br></font></div><div><f=
ont face=3D"Arial, Helvetica, sans-serif">Thanks in advance.<br clear=3D"al=
l"></font><div><br></div><br></div></div>

--000000000000eb19c80604ad7f54--


--===============4434002751255941473==
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

--===============4434002751255941473==--