Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9289

Re: Network Timeouts

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Network Timeouts
Date Sat, 29 Oct 2011 03:15:49 +0200
Organization A noiseless patient Spider
Lines 30
Message-ID <j8fk4c$da4$1@dont-email.me> (permalink)
References <c4f6d0d4-cd7b-4e7d-9510-9e99665e5a25@f5g2000vbz.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Injection-Date Sat, 29 Oct 2011 01:15:56 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="ylcYE5C53I2wjOlSVZ5APA"; logging-data="13636"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KYEzgsC5LO1LPz/0wd/qe"
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15
In-Reply-To <c4f6d0d4-cd7b-4e7d-9510-9e99665e5a25@f5g2000vbz.googlegroups.com>
Cancel-Lock sha1:JcHd8b4CEtOoBRngAq8JITjWNxI=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9289

Show key headers only | View raw


On 28/10/2011 19:20, Tony allegedly wrote:
> Hello:
> I'm writing some code between a server and a client. The client
> provides the server with packets on a continuous basis. If the server
> does not receive a packet for 30 seconds it throws a timeout
> exception. We are testing the robustness of the server. The client is
> just a producer to packets with no interleave, fixed packet length and
> random context. The next packet is sent as soon as the last ack is
> received. It have been observed from the logs the I get the exception
> throw information (which I wrote saying the exception has been throw).
> and that's about all. My approach to solving this would to be to look
> at what packets were going across the interface with something like
> tcpdump. But I can't get root access on this system. I can't do much
> on this system in regard to taking a really close look. Any hints?
> Thanks in Advance.
> Cheers

Not sure I understand your question. Are you asking how you could best
debug your application? Or how you could write it better so that it be
more easily debugged?

If the latter: logs, logs, logs, and JMX if you wanna be fancy.

If the former, and you do not have some fine-grained logs you can
enable, and can't sinff the traffic, then I guess you're pretty much
screwed.

-- 
DF.
Determinism trumps correctness.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Network Timeouts Tony <anthony.sterrett@gmail.com> - 2011-10-28 10:20 -0700
  Re: Network Timeouts Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-10-29 03:15 +0200
  Re: Network Timeouts Roedy Green <see_website@mindprod.com.invalid> - 2011-10-31 03:16 -0700
    Re: Network Timeouts Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-10-31 13:06 +0000
  Re: Network Timeouts Tony <anthony.sterrett@gmail.com> - 2011-10-31 11:03 -0700
  Re: Network Timeouts Joe Collins <joe.collins.se@gmail.com> - 2011-11-01 00:38 -0700

csiph-web