This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

/var/sec gets full

Hi,

I have a big problem, my /var/sec gets full after a uptime of about 70-80 days. How do I solve this problem? I cant find any information on whats stored there, the last two times this have happend Ive solved it by reinstalling ASL and loaded my setting with a backup, but I find that time consuming and post here for another solution.  

I have tried once to empty the directories at /var/sec and that wasnt succesfull..  

My harddrive looks like this:

Filesystem            Size  Used Avail Use% Mounted on
rootfs                595M  312M  253M  56% /
/dev/root             595M  312M  253M  56% /
tmpfs                  32M  3.4M   29M  11% /opt/tmpfs
/dev/hda1             342M   15M  310M   5% /boot
/dev/hda5             3.8G  760M  2.8G  21% /var/storage
/dev/hda6             342M  8.1M  317M   3% /var/up2date
/dev/hda8             388M  362M  5.8M  99% /var/sec
/dev/hda9             5.1G   93M  4.7G   2% /var/log
/dev/hda10            373M  8.2M  345M   3% /tmp
none                  157M     0  157M   0% /var/shm


This thread was automatically locked due to age.
Parents
  • Please try the following shell command:
     Code:
     find /var/sec -type f -printf "%-14s %p\n" | sort -g 



    This will list all files, sorted by size in bytes, ascending. Please post the top 10 (or twenty, whatever seems reasonable to you).

    Cheers,
    andreas

    PS: putting the output in "Code" tags makes it more readable.
  • Here it goes: 

    3751330        /var/sec/chroot-bind/usr/sbin/named
    10145576       /var/sec/chroot-bind/lib/libc.so.6
    10145576       /var/sec/chroot-dhcpc/lib/libc.so.6
    10145576       /var/sec/chroot-dhcps/lib/libc.so.6
    10145576       /var/sec/chroot-ident/lib/libc.so.6
    10145576       /var/sec/chroot-ipsec/lib/libc.so.6
    10145576       /var/sec/chroot-ppp/lib/libc.so.6
    10145576       /var/sec/chroot-pppoe/lib/libc.so.6
    10145576       /var/sec/chroot-pptp/lib/libc.so.6
    10145576       /var/sec/chroot-pptpc/lib/libc.so.6
    10145576       /var/sec/chroot-snmp/lib/libc.so.6
    10145576       /var/sec/chroot-snort/lib/libc.so.6
    10145576       /var/sec/chroot-socks/lib/libc.so.6
    146013443      /var/sec/chroot-bind/zones/named.memstats
    335523840      /var/sec/chroot-dhcpc/proc/kcore
    335523840      /var/sec/chroot-ident/proc/kcore
    335523840      /var/sec/chroot-snmp/proc/kcore
  • the proc stuff can be ignored as that is VM.

    The named.memstats is curious at 146MB.

    Mine is only 9KB, but mines only been up a week.

    Try restarting the DNS services.

    I'd also suggest emailing this to Astaro.

    Barry
Reply
  • the proc stuff can be ignored as that is VM.

    The named.memstats is curious at 146MB.

    Mine is only 9KB, but mines only been up a week.

    Try restarting the DNS services.

    I'd also suggest emailing this to Astaro.

    Barry
Children