Re: Intermitent stack trace

olivier merlin <[email protected]> Tue, 24 Nov 2015 11:15:15 +0100
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAFjxuZN-On-Cmvqhj03Rfbak_=1sO0HeW-sw6JoSKwHVSFM2+Q@mail.gmail.com>
--===============3757312169249683008==
Content-Type: multipart/alternative; boundary=001a114b426834bbcd0525469e27

--001a114b426834bbcd0525469e27
Content-Type: text/plain; charset=UTF-8

Hello,

for people that get the "write error" issue with the console, i have an
explanation and a workaround:

Explanation:
-------------------
If you have a long initialization in the TestRunner class above 30 seconds,
you will get this message as the console doesn't appreciate long waiting as
soon as you clicked on Start.
The default and cached value for the idle time tolerance value is 30
seconds. After this 30 seconds, it cut the socket.

Work around:
--------------------
just expose as System variable the inactiveClientTimeOut variable in
ConsoleCommunicationImplementation.java code.
We are so able to change it to 300 000 (5minutes) by configuration.
No a beautiful solution - but not complex one.


cheers,
Olivier


2015-02-03 18:10 GMT+01:00 olivier merlin <[email protected]>:

> Hi,
>
> Phil would probably answer that the truth is in the code ...
> Right but if he could give some light or some tracks of this error ... or
> a way to hunt it down.
>
> This is the only error so far that block me a few for our internal
> framework based on grinder ...
>
> cheers,
>
> 2015-02-03 17:49 GMT+01:00 olivier merlin <[email protected]>:
>
>> Hi Gary,
>>
>> Nice to see Grinder is still alive. This is a marvelous tool, we are
>> using every day ... so i hope it will continue.
>>
>> I understand your point of view and most of the time it's working well
>> ... but from time to time i have this stack trace,
>> and when i look at the detail of the stack trace i remark the cause is on:
>>
>> at net.grinder.engine.process.
>> GrinderProcess.sendStatusMessage(GrinderProcess.java:638)
>> ~[grinder-core-3.11.jar:na]
>>
>> and it happens only when i take time to start my scenario but i have
>> already started the grinder ...
>> so :
>> - the worker is started
>> - the Testrunner is launched only after a long time (i need to
>> synchronize wit an external tool)
>>
>> Could it be a problem of timeout or a specific protocol between the the
>> worker and the console ?
>>
>> cheers,
>> Olivier
>>
>>
>> 2015-02-03 13:54 GMT+01:00 Gary Mulder <[email protected]>:
>>
>>> On 3 February 2015 at 07:31, olivier merlin <[email protected]> wrote:
>>>
>>> Caused by: java.net.SocketException: Software caused connection abort:
>>>> socket write error
>>>>
>>>
>>> There's two ends to a socket and some wire in between. Its almost
>>> certainly not Grinder, but instead probably caused by the application you
>>> are testing. If you don't see any problems in your applications, check next
>>> your network and OS.
>>>
>>> Gary
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming. The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>>> a
>>> look and join the conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> grinder-use mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>>
>>>
>>
>

--001a114b426834bbcd0525469e27
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div><div>Hello,<br><br></di=
v>for people that get the &quot;write error&quot; issue with the console, i=
 have an explanation and a workaround:<br></div><br>Explanation:<br></div>-=
------------------<br>If you have a long initialization in the TestRunner c=
lass above 30 seconds, you will get this message as the console doesn&#39;t=
 appreciate long waiting as soon as you clicked on Start.<br></div>The defa=
ult and cached value for the idle time tolerance value is 30 seconds. After=
 this 30 seconds, it cut the socket.<br><br></div>Work around:<br>---------=
-----------<br></div>just expose as System variable the inactiveClientTimeO=
ut variable in ConsoleCommunicationImplementation.java code.<br></div>We ar=
e so able to change it to 300 000 (5minutes) by configuration.<br></div>No =
a beautiful solution - but not complex one.<br><div><div><div><div><div><di=
v><div>=C2=A0<br><br></div><div>cheers,<br></div><div>Olivier<br></div><div=
><br></div></div></div></div></div></div></div></div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">2015-02-03 18:10 GMT+01:00 olivier merl=
in <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>&gt;</span>:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div dir=3D"ltr"><div><div><div>Hi,<br><br>Phil would probably answer tha=
t the truth is in the code ...<br></div>Right but if he could give some lig=
ht or some tracks of this error ... or a way to hunt it down.<br><br></div>=
This is the only error so far that block me a few for our internal framewor=
k based on grinder ...<br><br></div>cheers, <br></div><div class=3D"HOEnZb"=
><div class=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote=
">2015-02-03 17:49 GMT+01:00 olivier merlin <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g=
t;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><di=
v>Hi Gary,<br><br></div><div>Nice to see Grinder is still alive. This is a =
marvelous tool, we are using every day ... so i hope it will continue.<br><=
/div><div><br></div>I understand your point of view and most of the time it=
&#39;s working well ... but from time to time i have this stack trace, <br>=
and when i look at the detail of the stack trace i remark the cause is on:<=
br><br>at net.grinder.engine.process.<div>GrinderProcess.sendStatusMessage(=
GrinderProcess.java:638) ~[grinder-core-3.11.jar:na]</div><br></div>and it =
happens only when i take time to start my scenario but i have already start=
ed the grinder ...<br></div><div>so :<br></div><div>- the worker is started=
<br></div><div>- the Testrunner is launched only after a long time (i need =
to synchronize wit an external tool)<br><br></div><div>Could it be a proble=
m of timeout or a specific protocol between the the worker and the console =
?<br><br></div><div>cheers,<br></div><div>Olivier<br></div><div><br></div><=
/div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><div><div>20=
15-02-03 13:54 GMT+01:00 Gary Mulder <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:[email protected]" target=3D"_blank">[email protected]</a>&gt=
;</span>:<br></div></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir=
=3D"ltr"><div class=3D"gmail_extra"><span><div class=3D"gmail_quote">On 3 F=
ebruary 2015 at 07:31, olivier merlin <span dir=3D"ltr">&lt;<a href=3D"mail=
to:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span=
> wrote:</div></span><div class=3D"gmail_quote"><span><br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr"><div><div><div><div><div>Caused by: java.net=
.SocketException: Software caused connection abort: socket write error<br><=
/div></div></div></div></div></div></blockquote><div><br></div></span><div>=
There&#39;s two ends to a socket and some wire in between. Its almost certa=
inly not Grinder, but instead probably caused by the application you are te=
sting. If you don&#39;t see any problems in your applications, check next y=
our network and OS.</div><span><font color=3D"#888888"><div><br></div><div>=
Gary=C2=A0</div></font></span></div></div></div>
<br></div></div><span>-----------------------------------------------------=
-------------------------<br>
Dive into the World of Parallel Programming. The Go Parallel Website,<br>
sponsored by Intel and developed in partnership with Slashdot Media, is you=
r<br>
hub for all things parallel software development, from weekly thought<br>
leadership blogs to news, videos, case studies, tutorials and more. Take a<=
br>
look and join the conversation now. <a href=3D"http://goparallel.sourceforg=
e.net/" target=3D"_blank">http://goparallel.sourceforge.net/</a><br>_______=
________________________________________<br>
grinder-use mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">grin=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><br=
>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--001a114b426834bbcd0525469e27--


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

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
--===============3757312169249683008==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use

--===============3757312169249683008==--