[torqueusers] 4GB resources_used.mem limit

Wightman wightman at clusterresources.com
Fri Jul 1 09:56:12 MDT 2005

We've expanded the RSS and memory fields in proc_stat_t in the latest
TORQUE patch 5 snapshot.

Please test this and let us know if we broke anything.


- Douglas
Cluster Resources, Inc.

On Thu, 2005-06-30 at 16:07 -0700, Garrick Staples wrote:
> On Fri, Jul 01, 2005 at 12:54:31AM +0200, Bernd Schubert alleged:
> > Well, I think I just found the reason for the problem, pbs_mom reads the 
> > memory usage per process in the mem_sum() function of mom_mach.c and uses the 
> > structure proc_stat_t member vsize there. This vsize variable is defined as  
> > unsigned, a quick test just showed me, that unsigned is only a 32bit type on 
> > x86_64. I will correct this to 'unsigned long' (which is 64bit) tomorrow, I'm 
> > just too tired now.
> Wow, that was fast!  
> Please file a bug and patch at http://www.clusterresources.com/bugzilla :)
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers

More information about the torqueusers mailing list