What happens when shmmax is set above MAXINT on 2.6?

From: Cain, Allen (tacain@tva.gov)
Date: Wed Jan 22 2003 - 10:59:07 EST


A while back, someone in our group set shmmax in /etc/system to be 6Gb.
Well, that's obviously a bigger number than a 32-bit unsigned int can hold.
It turns out, the shared memory subsystem didn't fail. It loaded, and when
I run sysdef -i, it shows shmmax as 2Gb. We're running this on an E6500, so
we have 64 bit processors. Our system is running okay, and we can change
the parameter next time we reboot, but I'm wondering how the system got the
2Gb figure. Am I just playing "Stupid Processor Tricks," or can someone
please explain what happened to all those extra bits in the shmmax value?
Thanks for helping a curious sysadmin who's had too many computer
architecture classes. :)
 
 
==========================================
Allen Cain MP 5H - C
System Administrator
IS / Application Server Engineering
Tennessee Valley Authority
==========================================
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:38 EDT