There were changes between pre2 and the two release candidates and then the
actual 3.0 release - whether those matter, I don't really recall.  But we
don't support pre anything, obviously.

Basically, swap usually means more hosts - and once you overfill real
memory, ntop's performance sucks. It can be bad enough to not allow
processes on timers to complete, backing them up, deadlocking, etc.

1. Are you using --set-pcap-nonblocking?
2. The real question is what changed in your network so that you are seeing
many more hosts.  The info.html and textinfo.html pages show the number of
hosts...


-----Burton

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Jaco van Tonder
> Sent: Monday, October 04, 2004 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop-dev] [FreeBSD] Ntop stuck in swread state?
>
>
> Hi all,
>
> As of late (the last 2 weeks or so) I have to restart NTop every few
> hours, or it crashes, with all available swap being eaten.
>
> If I look at top for about 2 minutes, I can actually see the amount of
> swap space increasing rapidly. This is the results that I see in top:
>
> last pid:  8449;  load averages:  0.03,  0.05,  0.07   up 32+20:16:41
> 17:20:25
> 27 processes:  1 running, 26 sleeping
> CPU states:  0.4% user,  0.0% nice,  5.8% system,  3.1% interrupt, 90.7%
> idle
> Mem: 97M Active, 13M Inact, 36M Wired, 5868K Cache, 25M Buf, 528K Free
> Swap: 512M Total, 488M Used, 24M Free, 95% Inuse, 1592K In, 128K Out
>
>    PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 94609 root     -20    0   517M   107M swread 626:38  0.00%  0.00% ntop
>
> Note the NTop process that seems to be stuck in the swread state.
>
> I might add that I have not seen the behavior in NTop until about 2
> weeks ago when it just started eating away on memory.
>
> This is a relatively small network, and NTop is installed in a bridge
> configuration.
>
> Now, my question: Is there any known problems that can cause this sort
> of behavior? I know that the version of NTop that I run is a bit older,
> but, it did not have these problems before.
>
> Here is the details of the software installation:
> Ntop:
> Report created on Mon Oct 4 17:37:13 2004 [ntop uptime: 14:39]
> Generated by ntop v.3.0pre2 MT (SSL) [i386-unknown-freebsd5.2.1]
> Build: Mar 17 2004 23:51:29. Version: a minimally supported but OLDER
> version - please upgrade
> Listening on [xl0,xl1] without a kernel (libpcap) filtering expression
> Web report active on interface xl0
>
> OS:
> FreeBSD 5.2.1-RC
>
> Any advice appreciated. Thank you in advance.
>
> ---Jaco
>
> --
> Jaco van Tonder
> Software Developer
> Direct: +27 11 312 2122 :: Fax: +27 11 312 2122 :: Mobile: +27 83 417 5424
> Email: [EMAIL PROTECTED] :: Web: http://www.coocoo.za.net/
> Real Software Engineers don't debug programs; they verify correctness.
> This process doesn't necessarily involve execution of anything on a
> computer, except perhaps a Correctness Verification Aid package.
>
> _______________________________________________
> Ntop-dev mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to