做调度定时清空 我也遇到了没找到禁止写入的办法 现在1分钟进行一次 cat /dev/null > /var/log/conntrackd-stats.log 2>/dev/null
然后加入 /var/spool/cron/crontabs/root 2014-08-28 aix.niuy 发件人:张仕博 <zhang...@neusoft.com> 发送时间:2014-08-28 14:34 主题:虚拟路由磁盘写满导致不工作 收件人:"users-cn"<users-cn@cloudstack.apache.org> 抄送: router虚拟机磁盘被conntrackd服务日志写满大家遇到过么? Conntrackd-stats.log文件太大了,有什么办法禁用日志写入么? --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------