Argus memory issues

Peter Van Epp vanepp at sfu.ca
Wed Aug 22 12:45:24 EDT 2007


On Wed, Aug 22, 2007 at 04:34:48PM +0000, Carter Bullard wrote:
> Let's let that cook for a while.  I'll add the rest of the functionality tonight so we can have a working argus.
> When you kill this version, (HUP,INT) it should print out some peerformance stats.  With a .memory tagfile, it will print out peak memory use (max memory allocated) without the tag, you'll get total bytes allocated.
> 
> Carter
> 
> 
> Carter Bullard
> QoSient LLC
> 150 E. 57th Street Suite 12D
> New York, New York 10022
> +1 212 588-9133 Phone
> +1 212 588-9134 Fax
> 

	Hmmm, it took the HUP but doesn't appear to have output anything:

hcids:/scratch # ps auxwwww | grep argus
root      4034  2.5  0.1   9812  5648 ?        SLs  08:45   1:10 argus -d -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root      4120  0.0  0.0   3132   832 pts/0    S+   09:31   0:00 grep argus
hcids:/scratch # ps auxwwww | grep argus
root      4034  2.5  0.1   9812  5648 ?        SLs  08:45   1:10 argus -d -P 560 -i eth0 -i eth1 -U 512 -m -F /scratch/argus.conf
root      4122  0.0  0.0   3132   832 pts/0    S+   09:31   0:00 grep argus
hcids:/scratch # kill -HUP 4034
hcids:/scratch # !ps
ps auxwwww | grep argus
root      4124  0.0  0.0   3132   832 pts/0    S+   09:42   0:00 grep argus
hcids:/scratch # tail /var/log/messages
Aug 22 08:45:22 hcids kernel: PF_RING: registered /proc/net/pf_ring/
Aug 22 08:45:22 hcids kernel: RING: succesfully allocated 0 KB [tot_mem=12664896][order=12]
Aug 22 08:45:22 hcids kernel: RING: allocated 10851 slots [slot_len=1546][tot_mem=16777216]
Aug 22 08:45:22 hcids kernel: device eth1 entered promiscuous mode
Aug 22 08:45:22 hcids kernel: RING: succesfully allocated 0 KB [tot_mem=12664896][order=12]
Aug 22 08:45:22 hcids kernel: RING: allocated 10851 slots [slot_len=1546][tot_mem=16777216]
Aug 22 08:45:22 hcids kernel: device eth0 entered promiscuous mode
Aug 22 09:29:43 hcids syslog-ng[3231]: STATS: dropped 0
Aug 22 09:29:52 hcids zmd: ShutdownManager (WARN): Preparing to sleep...
Aug 22 09:29:52 hcids zmd: ShutdownManager (WARN): Going to sleep, waking up at 08/23/2007 08:19:52

	I'll add the .memory tag and restart it and see what happens. Memory
was staying suspicously low though :-) makes me wonder if it was doing anything
...

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list