[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Mem Leak???



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I have a problem on my raq4r normally it runs with about 330mb ram
> out of 512mb free but at 4:00am when this command
>
> 35 13 * * * (cd /usr/local/bin; ./chkrootkit 2>&1 | mail -s
> "chkrootkit output" root)
>
> is executed in my cron it drops to about 12mb free and doesn't
> recover

RAM normally gets 'used up' by caching information.  Normal Unix 
behavior.

> also the same thing happens when this is executed
>
> less /home/sites/site1/bin/esubject > /home/sites/site1/bin/mailout

Why use 'less' to dump output to a file?  I s'pose it works, but 
normally just plain 'cat' is used... :)

> Does anyone have any ideas this is a big problem

Not a problem at all.

> and right now requires me to reboot the server 2 times a day

That's unusual...

What does a 'free' command show? Here's mine from a 512 MB RaQ4:

[root root]# free
             total     used     free   shared  buffers   cached
Mem:        517104   487392    29712    47376   156524   248300
- -/+ buffers/cache:    82568   434536
Swap:       131448        0   131448

So I only have 29MB 'free' but all that space in 'buffers' and 
'cached' (405MB) will be dumped and reused as needed by the system 
automagically.

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+JE+EvLA2hUZ9kgwRAhy6AJ457qsJWbHxqsNS81+1PO3ZfcXL1gCfTYdv
lQ+qNpXo18HETdcRECZTuxQ=
=a74Y
-----END PGP SIGNATURE-----