2022年4月26日 (初版)
TAC SR Collection |
主な問題 |
Spine の Linecard 上の /var/sysmgr/tmp_logs/ ディレクトリの空き容量が少なくなり、F1820 fault が上がる事があります。
|
原因 |
この問題は、netflow 用のログファイル nf_trace_dump.txt が log rotate せずに肥大化することにより発生している可能性があります。 この問題は以下の不具合として登録されています。
CSCvw96751:nf_trace_dump.txt isn't logrotated on spine LC and memory usage on the LC is increasing
|
回避方法 |
各 Linecard の nf_trace_dump.txt ファイルのサイズは以下のコマンドで確認可能です。 mod の後の数字に Linecard の slot 番号を指定します。
spine1# ssh root@mod3 "ls -lh /var/sysmgr/tmp_logs/nf_trace_dump.txt" Could not create directory '/.ssh'. The authenticity of host 'mod3 (127.1.2.3)' can't be established. RSA key fingerprint is d0:27:c5:65:22:74:b1:b8:4d:d8:65:a4:25:c0:c5:bb. Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts (/.ssh/known_hosts). root@mod3's password: <=== password は root -rw-rw-rw- 1 root root 2.0G Apr 5 12:02 /var/sysmgr/tmp_logs/nf_trace_dump.txt
以下のコマンドでファイルサイズを一旦 0 byte にすることが可能です。 mod の後の数字に Linecard の slot 番号を指定します。
spine1# ssh root@mod3 "> /var/sysmgr/tmp_logs/nf_trace_dump.txt"
Could not create directory '/.ssh'.
The authenticity of host 'mod3 (127.1.2.3)' can't be established.
RSA key fingerprint is d0:27:c5:65:22:74:b1:b8:4d:d8:65:a4:25:c0:c5:bb.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/.ssh/known_hosts).
root@mod3's password: <=== password は root
spine1#
ファイルサイズ削減後、上段のコマンドでサイズが減った事を確認下さい。
上記コマンドで一旦ファイルサイズは 0 byte となりますが、ファイルサイズの肥大化は継続しますのでご注意下さい。
恒久対策は CSCvw96751 が修正されたバージョンへのアップグレードです。
|
備考
本不具合は、Bug Search Tool でも確認できます。
各製品の TAC SR Collection の一覧は、よくある質問と解決方法 (TAC SR Collection) から確認できます。