Mailing List Archive

memory usage
hello ntop!

i know that ntop is quite hungry in regard to memory, but is this
normal:

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
4465 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4472 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4473 root 8 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4475 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4476 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4477 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4478 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4479 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4480 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
4481 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop

thats with ntop 2.0b.

changing the hastable size with -s1024 changes nothing... (?!)

regards,


PAT
--


vcard/LDAP/PGP: http://dresden-online.com/perler/identity.html
PGP fingerprint: DAC6 2FDA 1ED7 AD55 BD1F 5142 3D5F 72BF
RE: memory usage [ In reply to ]
That's a starting value for mine... Usually after an hour or so the RSS
is over 120MB. It'd say it's typical, not sure about how goo this is
tho, as I'm still trying to work out some bugs.


> -----Original Message-----
> From: ntop-admin@unipi.it [mailto:ntop-admin@unipi.it] On
> Behalf Of Patrick Erler
> Sent: June 13, 2001 4:25 PM
> To: ntop@unipi.it
> Subject: [Ntop] memory usage
>
>
> hello ntop!
>
> i know that ntop is quite hungry in regard to memory, but is this
> normal:
>
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> 4465 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4472 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4473 root 8 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4475 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4476 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4477 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4478 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4479 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4480 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
> 4481 root 9 0 69872 68M 1108 S 0.0 27.3 0:00 ntop
>
> thats with ntop 2.0b.
>
> changing the hastable size with -s1024 changes nothing... (?!)
>
> regards,
>
>
> PAT
> --
>
>
> vcard/LDAP/PGP: http://dresden-online.com/perler/identity.html
> PGP fingerprint: DAC6 2FDA 1ED7 AD55 BD1F 5142 3D5F 72BF
>
> _______________________________________________
> Ntop mailing list
> Ntop@unipi.it
> http://listmanager.unipi.it/mailman/listinfo/ntop
>
Re[2]: memory usage [ In reply to ]
hello Dan!

on Wednesday, June 13, 2001, 10:34:12 PM, you wrote:

DC> That's a starting value for mine... Usually after an hour or so the RSS
DC> is over 120MB. It'd say it's typical, not sure about how goo this is
DC> tho, as I'm still trying to work out some bugs.
i just realise that i don't see that mass of memory used when i
look at the summaries.. thay stay constant at something around 10
mb's below the physical memory, and tha swap memory used soesn't
grow.. also the system stays completely responsive (which i
wouldnt expect when one process uses 3 times the memory available
to the system - but maybe that's just linux ;))

to put it short, does ntop really use 500 mb RAM?

PAT
--



vcard/LDAP/PGP: http://dresden-online.com/perler/identity.html
PGP fingerprint: DAC6 2FDA 1ED7 AD55 BD1F 5142 3D5F 72BF
RE: Re[2]: memory usage [ In reply to ]
It looks like Ntop is one process with 6 threads, meaning that this
120MB of memory space would be shared between them. So in total Ntop
uses 120MB, for me.


> -----Original Message-----
> From: ntop-admin@unipi.it [mailto:ntop-admin@unipi.it] On
> Behalf Of Patrick Erler
> Sent: June 13, 2001 6:25 PM
> To: Dan Colquhoun
> Subject: Re[2]: [Ntop] memory usage
>
>
> hello Dan!
>
> on Wednesday, June 13, 2001, 10:34:12 PM, you wrote:
>
> DC> That's a starting value for mine... Usually after an
> hour or so the RSS
> DC> is over 120MB. It'd say it's typical, not sure about how
> goo this is
> DC> tho, as I'm still trying to work out some bugs.
> i just realise that i don't see that mass of memory used when i
> look at the summaries.. thay stay constant at something around 10
> mb's below the physical memory, and tha swap memory used soesn't
> grow.. also the system stays completely responsive (which i
> wouldnt expect when one process uses 3 times the memory available
> to the system - but maybe that's just linux ;))
>
> to put it short, does ntop really use 500 mb RAM?
>
> PAT
> --
>
>
>
> vcard/LDAP/PGP: http://dresden-online.com/perler/identity.html
> PGP fingerprint: DAC6 2FDA 1ED7 AD55 BD1F 5142 3D5F 72BF
>
> _______________________________________________
> Ntop mailing list
> Ntop@unipi.it
> http://listmanager.unipi.it/mailman/listinfo/ntop
>
Re[4]: memory usage [ In reply to ]
hello Dan!

on Thursday, June 14, 2001, 3:56:24 PM, you wrote:

DC> It looks like Ntop is one process with 6 threads, meaning that this
DC> 120MB of memory space would be shared between them. So in total Ntop
DC> uses 120MB, for me.
ah, ok, that makes sense.. but its horrible.. what i wonder is why
the -s switch does nothing to the memory usage - contrary to the
FAQ...

regards,

PAT
--



vcard/LDAP/PGP: http://dresden-online.com/perler/identity.html
PGP fingerprint: DAC6 2FDA 1ED7 AD55 BD1F 5142 3D5F 72BF