Hi Or,
On 12:07 Thu 07 Jul , Or Gerlitz wrote:
> Hi Alex,
>
> I just noted that opensm logs can go anywhere in size when one of my
> nodes had no space left on device after the opensm log level was raised...
>
> I see that the rpm provided with RHEL6 is setting an
> /etc/logrotate.d/opensm
> entry which is a copy of ./scripts/opensm.logrotate from the opensm
> git saying
>
> /var/log/opensm.log {
> missingok
> notifempty
> copytruncate
> weekly
> compress
> }
>
> this lacks size limitation, isn't that?
>
> I opened ofa bz ticket #2280 to track that,
>
It's a good point. What should be the limit? 1MB, 10MB, 100MB? How many
history files (rotate) should be kept?
Moreover, this flooding would also happen if you don't enable logroatate, so
should we enable some default limit to opensm log (--log_limit)?
-- Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html