ipcop support

community support forum
It is currently Wed Jun 19, 2013 5:43 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Unread postPosted: Tue Apr 24, 2012 3:47 pm 
New User

Joined: Thu Sep 29, 2011 8:21 am
Posts: 5
Hello

Is there any way to clean obsolete data (not all data) from /var/log_compressed?
As it slowly filled and now I have 48MB used and only 9.2MB left free.

Thanks!


Top
 Profile  
 
Unread postPosted: Fri May 11, 2012 4:06 pm 
New User

Joined: Thu Sep 29, 2011 8:21 am
Posts: 5
At least one can clean all traffic information:
viewtopic.php?f=17&t=15821&p=80452&hilit=accountingctrl#p80452


Top
 Profile  
 
Unread postPosted: Sun May 13, 2012 8:15 pm 
Site Moderator
User avatar

Joined: Sun Feb 01, 2004 7:34 am
Posts: 689
Location: Everett, Wa USA
It should take care of itself. It only keeps the info for a short time. I've ran a lot of flash installations over the years including 2.x.x all the way through the development cycle and have never had an issue with the two tarballs getting too big, they will be pruned by the system automatically. Having only a few MB free at any one time is normal. The only reason they exist at all is in case of a reboot to restore recent logs to /ram/var/log immediately after /ram is mounted via TMPFS, your logs and graphs are all available to you at all times in /ram. If the machine is always up, /var/log_compressed is irrelevant. It is only there to restore recent info on bootup and to store the most recent info upon proper shutdown or once an hour to minimize flash drive writes. You can lose up to an hour of logs on power failure but never equal or greater than an hour.

Why are you so concerned with keeping your logs so pruned to where there is little left? It should be very low priority. Many people are the opposite, they bemoan the rather short cycle where logs are retained on flash installs. I send mine to syslog on my central home server in case I ever want to look back at anything more than a few days old.

I guess I am trying to figure out why you see this as a problem.

_________________
Dave
http://www.raqcop.com
Sun Cobalt Raq4i AMD K6-III clocked at 550mhz LCD replaced with 16x2 Newhaven VFD and Rose Filter for white output.
Raqcop-2.0.6 Raid 1 with Two Transcend Industrial CF Drives and Syba adapters.
Traverse Pulsar ADSL PCI Card using DSLExtreme DSL
Cisco 1231 Access Point with both A and G radios installed attached to Blue.
---------------------------------------------------------------------------------------------
Test Boxes:
Cobalt Raq 550 with slower quieter fans, a stock Raq4i running 3G and WLAN AP.
Cobalt Raq3i upgraded to a K6-III clocked to 550mhz for testing, also running WLAN AP.
Qube 3, Another 550, Various Symantec Velociraptors (Raq4 yellow faceplate)

Image Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group