Em 18/03/2010 06:42, Test Andrea escreveu:
> The size of the table increase every day and today it's over 20 MB:
>
> # ls -lhat triplet.*
> -rw-rw----  1 mysql mysql  22M Mar 17 10:03 triplet.MYD
> -rw-rw----  1 mysql mysql  18M Mar 17 10:03 triplet.MYI
>
> Which is the best way to reduce or control the triplet table size?
>
>    

     there's nothing wrong on the table triplet grow ... that's the 
expected behavior because policyd keeps data there.

     the best way to reduce or control the table size is do what README 
file recommends: run cleanup periodically. For almost everybody, once a 
day is enough. README recommends once an hour, which is fine for almost 
everybody as well.

     from policyd README:




###
# Compile / Install
#####################

   # cd policy-VERSION
   # gmake build
   # gmake install

   Create a crontab entry to run the cleanup script:

   # crontab -e

   0 * * * * /usr/local/policyd/cleanup -c /usr/local/policyd/policyd.conf





-- 


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [email protected]
        My SPAMTRAP, do not email it




_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to