Operating System - HP-UX
1833565 Members
3044 Online
110061 Solutions
New Discussion

Increase the "Usable user memory size" in HPUX 11i machine

 
Jagadesh
Frequent Advisor

Increase the "Usable user memory size" in HPUX 11i machine

Dear All,

How can i increase the "Usable user memory size" in HPUX 11i machine. Do i need to modify any kernel parameter for the same.


Thanks
Jagadesh
4 REPLIES 4
Anupam Anshu_1
Valued Contributor

Re: Increase the "Usable user memory size" in HPUX 11i machine

Try `ulimit` command. This is a shell built in command.

To list the size of current data segment:
$ ulimit -Sd

To *change* the size of the data segment:
$ ulimit -Sd # size is the numeric value

Please visit manpage of ksh and sh-posix. Search for ulimit.

HTH,

Anshu
Bharat Katkar
Honored Contributor

Re: Increase the "Usable user memory size" in HPUX 11i machine

Yes you can increase your usable memory as follows:

1. Remove all unwanted driver that are configured in your kernel.
2. Fine tune the Kernel parameters to get optimal buffer space you require for your applications running smoothly. Refer to kernel parameter which affects the buffer size in memory.
3. Configure device swap twice your physical memory.
4. Finally Increase memory if possible.

Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Bruno Ganino
Honored Contributor

Re: Increase the "Usable user memory size" in HPUX 11i machine

If you must increase memory process...
the HP-UX kernel has a parameter (the maxdsize parameter) to limit
the amount of memory a single process can use. By default, maxdsize
is set to 64K. You (or your system manager) can increase this value
with sam, with the "Kernel Configuration/Configurable Parameters"
option. You'll need to recompile the kernel after any change. You
can give any value you want, but you must be aware that when a
process wants more memory than what you really have, it slows
tremendously the system and can cause dramatic nervous breadowns to
the other users.
HTH
Bruno
Torino (Turin) +2H
Ted Buis
Honored Contributor

Re: Increase the "Usable user memory size" in HPUX 11i machine

If you have very large RAM and have 2x the RAM for swap space, you may also need to increase the kernel parameter swap_chunks.
Mom 6