[openib-general] OpenSM core dump - file size exceeded
Hal Rosenstock
halr at voltaire.com
Fri Dec 15 12:44:03 PST 2006
On Fri, 2006-12-15 at 14:06, Woodruff, Robert J wrote:
> My OpenSM, from the git tree pulled on 12/12/06 died with the following
> error,
> looks like the log file got > 2G and then it died.
>
>
> [root at iclust-2 RPMS]# ps -aux | grep opensm
> Warning: bad syntax, perhaps a bogus '-'? See
> /usr/share/doc/procps-3.2.3/FAQ
> root 20256 0.0 0.1 5408 656 pts/4 S+ 12:05 0:00 grep
> opensm
> [1]+ File size limit exceeded(core dumped) /usr/local/bin/opensm
> [root at iclust-2 RPMS]# ls -l /var/log/osm.log
> -rw-r--r-- 1 root root 2147483647 Dec 14 17:25 /var/log/osm.log
> [root at iclust-2 RPMS]#
Any idea what filled up the log ? but that's a side issue.
This has been discussed on the list before. This is one option which can
help with this issue:
-L, --log_limit <size in MB>
This option defines maximal log file size in MB. When specified
the log file will be truncated upon reaching this limit.
Is this useful ? (It was put in the last time you reported this failure).
Also, log rotation will be supported for OFED 1.2 but I've not had a
chance to incorporate this yet.
-- Hal
> woody
More information about the general
mailing list