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


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

Re: Network Timeouts

From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Network Timeouts
Date 2011-10-29 03:15 +0200
Organization A noiseless patient Spider
Message-ID <j8fk4c$da4$1@dont-email.me> (permalink)
References <c4f6d0d4-cd7b-4e7d-9510-9e99665e5a25@f5g2000vbz.googlegroups.com>

Show all headers | 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