November 22, 201015 yr I have 8GB of RAM that I have tested, but recently I have been getting Out of Memory / Kernal Panics due to what I believe is the log getting too big, I think it is because of a particular warning message that repeats every few minutes. I have Supermicro MV8 cards and I think due to the current driver, I think these messages are generated in the log. Any Unix gurus know how I can trim my log hourly or do something to eliminate the out of memory problem? Thanks. G
November 22, 201015 yr you can try.. if you want to compress the prior log uncomment #compress in /etc/logrotate.conf sed -iv -e 's/#compress/compress/g' /etc/logrotate.conf if you want to run it hourly add cp -piv /etc/cron.daily/logrotate /etc/cron.hourly You may need to use the -f force option in the hourly job. -f, --force Force file rotation
November 23, 201015 yr Author Thanks, I set that up. Working well. Now to figure out how to fix the root cause.
Archived
This topic is now archived and is closed to further replies.