Re: kernel parameters and Oracle 9
- From: Don Morris <dgmorris@xxxxxxxxxxxxx>
- Date: Thu, 09 Feb 2006 11:50:43 GMT
Robert Klute wrote:
On Wed, 08 Feb 2006 00:15:14 GMT, Don Morris <dgmorris@xxxxxxxxxxxxx>
wrote:
With a 32Gb box, I have to assume the kernel is 64-bit, so setting it to
32Gb of memory is fine and won't have any real impact on 32-bit apps,
they'll still be limited based on their address space, not shmmax.
Try setting SHMMAX to a multiple of 4GB and then run a 32-bit
application that uses shared memory and checks the amount available,
Oracle 8 or older for example, and see what happens. Unless the
application is 'aware' that it is know a 64-bit number it will only
check the lower 32 bits.
Older, I could understand I suppose... Oracle 8 (being intended for
10.20 from what I can tell googling around) has no excuse. It should
have been written to use _PSTAT64 to get the 64-bit value in the
first place.
In any event - okay, a 32-bit application which either is so old it
doesn't know better or has a bug because it *should* have known
better may arbitrarily limit itself if it tries to read shmmax
incorrectly. For that matter - it could just as easily mask it
with a 16-bit value... or XOR the last few flags. My context wasn't
how applications limit themselves... but how the tunable really works
to enforce limits on the system call. If the application does it
wrong then the application needs to be upgraded/patched/whatnot.
Only if that isn't feasible (and it likely wouldn't be for truly
old apps if for some reason folks don't want to run newer ones)
should workarounds such as trying to take into account truncation
results be considered.
Don
.
- References:
- kernel parameters and Oracle 9
- From: Pyers
- Re: kernel parameters and Oracle 9
- From: Robert Klute
- Re: kernel parameters and Oracle 9
- From: Don Morris
- Re: kernel parameters and Oracle 9
- From: Robert Klute
- kernel parameters and Oracle 9
- Prev by Date: Re: printing problem on hpux 11.x
- Next by Date: Re: wdb crashes (only my DISPLAY)
- Previous by thread: Re: kernel parameters and Oracle 9
- Next by thread: Boop-only Server
- Index(es):
Relevant Pages
|
|