Hello,
I am running NTop 3.0 on Red Hat 9. I am trying to read NTop's XML dump via a Java client program. And I am simulating around 3000 hosts in the network.
As I am reading thru the XML stream (when the number of host is this large), I will get a time out error and a partial XML data as below :
<icmpHostNetUnreachSent>0</icmpHostNetUnreachSent>
<icmpHostNetUnreachRcvd>0</icmpHostNetUnreachRcvd>
<icmpProtocolUnreachSent>0</icmpProtocolUnreachSent>
HTTP/1.0 408 Request Time-out
Date: Tue, 20 Dec 2005 21:18:02 GMT
Cache-Control: no-cache
Expires: 0
Connection: close
Server: ntop/3.0 SourceForge RPM (i686-redhat-linux-gnu)
Content-Type: text/html
<HTML>
<HEAD> <TITLE>Error 408</TITLE>
<META HTTP-EQUIV=Pragma CONTENT=no-cache>
<META HTTP-EQUIV=Cache-Control CONTENT=no-cache>
<LINK REL=stylesheet HREF="" type="text/css">
<SCRIPT SRC="" TYPE="text/_javascript_" LANGUAGE="_javascript_"></SCRIPT>
</HEAD>
<BODY BACKGROUND="" BGCOLOR="#FFFFFF" LINK=blue VLINK=blue>
<H1>Error 408</H1>
The request was timed-out.
<P>Received request:<BR><BLOCKQUOTE><TT>"GET /dumpData.html?language=xml HTTP/1.1"</TT></BLOCKQUOTE>
The above work was done when the XML SAX parser kept giving me a malformed error when I pass the data. Obviously it is because of the partial transmission.
Can anyone point me to any configuration or source code modification that I can make on NTop to resolve the above issue?
Thanks bar
I am running NTop 3.0 on Red Hat 9. I am trying to read NTop's XML dump via a Java client program. And I am simulating around 3000 hosts in the network.
As I am reading thru the XML stream (when the number of host is this large), I will get a time out error and a partial XML data as below :
<icmpHostNetUnreachSent>0</icmpHostNetUnreachSent>
<icmpHostNetUnreachRcvd>0</icmpHostNetUnreachRcvd>
<icmpProtocolUnreachSent>0</icmpProtocolUnreachSent>
HTTP/1.0 408 Request Time-out
Date: Tue, 20 Dec 2005 21:18:02 GMT
Cache-Control: no-cache
Expires: 0
Connection: close
Server: ntop/3.0 SourceForge RPM (i686-redhat-linux-gnu)
Content-Type: text/html
<HTML>
<HEAD> <TITLE>Error 408</TITLE>
<META HTTP-EQUIV=Pragma CONTENT=no-cache>
<META HTTP-EQUIV=Cache-Control CONTENT=no-cache>
<LINK REL=stylesheet HREF="" type="text/css">
<SCRIPT SRC="" TYPE="text/_javascript_" LANGUAGE="_javascript_"></SCRIPT>
</HEAD>
<BODY BACKGROUND="" BGCOLOR="#FFFFFF" LINK=blue VLINK=blue>
<H1>Error 408</H1>
The request was timed-out.
<P>Received request:<BR><BLOCKQUOTE><TT>"GET /dumpData.html?language=xml HTTP/1.1"</TT></BLOCKQUOTE>
The above work was done when the XML SAX parser kept giving me a malformed error when I pass the data. Obviously it is because of the partial transmission.
Can anyone point me to any configuration or source code modification that I can make on NTop to resolve the above issue?
Thanks bar
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
