[GE dev] SGE's loadcheck returns wrong memory stats on fbsd-amd64 (fix)

Kael Fischer kael.fischer at gmail.com
Fri Dec 5 21:10:44 GMT 2008


Dear SGE developers and FreeBSD sge port maintainer,

Systems with 'a lot" of memory overflow  'unsigned int page_size' on
FreeBSD amd64, resulting in nonsensical values.

Around line 840 in sge_loadmem.c (CVS version 1.21, V62beta_TAG)
[freebsd port = "sge-6.2.b"),

THIS:
   unsigned int	page_size;

SHOULD BE:
   unsigned long	page_size;

That works great on my systems (with 4-64GB of RAM each) running amd64
7.0-RELEASE-p5.  Untested in other contexts.

-k

Kael Fischer, Ph.D
Research Assistant Professor
Department of Pathology, Univ. of Utah
(801) 213-3766

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=39&dsMessageId=91422

To unsubscribe from this discussion, e-mail: [dev-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list