How to increase JVM memory in HP UX


 
Thread Tools Search this Thread
Operating Systems HP-UX How to increase JVM memory in HP UX
# 1  
Old 07-06-2010
How to increase JVM memory in HP UX

Hi,
Im using HP UX and tried to increase the JVM memory from 1GB to 2GB for the weblogic domain. but it did not work and started throwing errors. I would like to know if there is any OS level parameter that need to be checked and modified before making changes to JVM memory.
# 2  
Old 07-06-2010
moved to more suitable forum...

---------- Post updated at 16:38 ---------- Previous update was at 16:27 ----------

HP-UX performance tuning Java? (techniques, tools, and tips)
http://docs.hp.com/en/JAVAPERFTUTOR/...s_HPjmeter.pdf

http://download.oracle.com/docs/cd/E...rm/topten.html
Top Tuning Recommendations for WebLogic Server

---------- Post updated at 16:39 ---------- Previous update was at 16:38 ----------

What version of OS?

---------- Post updated at 16:45 ---------- Previous update was at 16:39 ----------

Get hpjconfig:
https://h20392.www2.hp.com/portal/sw...mber=HPJCONFIG

My first impression is, that some of the kernel parameters might be set too
low (max_thread_proc). So please execute hpjconfig, and set the kernel
parameters according to the suggestions of the program.
# 3  
Old 07-06-2010
i am using HP 11.11 version
# 4  
Old 07-06-2010
My favorite box was tuned for java...
Code:
# sysdef
NAME                      VALUE       BOOT        MIN-MAX        UNITS   FLAGS
acctresume                    4          -       -100-100                -
acctsuspend                   2          -       -100-100                -
allocate_fs_swapmap           0          -           -                   -
bufpages                 167772          -          0-           Pages   -
create_fastlinks              0          -           -                   -
dbc_max_pct                   8          -           -                   -
dbc_min_pct                   5          -           -                   -
default_disk_ir               0          -           -                   -
dskless_node                  0          -          0-1                  -
eisa_io_estimate            768          -           -                   -
eqmemsize                    52          -           -                   -
file_pad                     10          -          0-                   -
fs_async                      0          -          0-1                  -
hpux_aes_override             0          -           -                   -
maxdsiz                  503866          -          0-503866     Pages   -
maxdsiz_64bit            524288          -       1024-1073479679 Pages   -
maxfiles                   2048          -         30-2048               -
maxfiles_lim               4096          -         30-2048               -
maxssiz                   32768          -          0-98048      Pages   -
maxssiz_64bit            262144          -          4-262144     Pages   -
maxswapchunks              9600          -          1-16384              -
maxtsiz                   32768          -          0-503859     Pages   -
maxtsiz_64bit            262144          -       1024-1073741823 Pages   -
maxuprc                    2141          -          3-                   -
maxvgs                       20          -           -                   -
msgmap                     3211          -          3-                   -
nbuf                     117912          -          0-                   -
ncallout                   7755          -          6-                   -
ncdnode                     150          -           -                   -
ndilbuffers                  30          -          1-                   -
netisr_priority              -1          -         -1-127                -
netmemmax                     0          -           -                   -
nfile                     50238          -         14-                   -
nflocks                    3212          -          2-                   -
ninode                     4072          -         14-                   -
no_lvm_disks                  0          -           -                   -
nproc                      3212          -         10-                   -
npty                        256          -          1-                   -
nstrpty                      72          -           -                   -
nswapdev                     10          -          1-25                 -
nswapfs                      10          -          1-25                 -
public_shlibs                 1          -           -                   -
remote_nfs_swap               0          -           -                   -
rtsched_numpri               32          -           -                   -
sema                          0          -          0-1                  -
semmap                     3211          -          4-                   -
shmem                         0          -          0-1                  -
shmmni                      300          -          3-1024               -
streampipes                   1          -          0-                   -
swapmem_on                    1          -           -                   -
swchunk                    2048          -       2048-16384      kBytes  -
timeslice                    10          -         -1-2147483648 Ticks   -
unlockable_mem            32768          -          0-           Pages   -

You could compare...
(this box runned SAS software...)

But the best would be my above recommendation ( get and use hpjconfig...)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

JVM processes are not getting memory allocation as soon as started

Hi, i have this scenario, when i start about 20 java processes simultaneously in unix and run ps -eaf command i can see that processes are running but memory is not getting allocated to them immediately and it stays ideal for at least 10-15 min. Meanwhile i run free command to check the RAM,... (5 Replies)
Discussion started by: Vishal Gangrade
5 Replies

2. UNIX for Dummies Questions & Answers

Default JVM Memory

Hi , Whenever I am starting JVM it is getting started with Xms as 256MB, which is 1/64 of the Memory available and by default this should happen. But I want to change and start the every JVM with 128MB. Is there any way to do or I have to manually specify Xms tag while starting JVM. Thanks (1 Reply)
Discussion started by: Raj999
1 Replies

3. UNIX for Dummies Questions & Answers

JVM Memory

Hi all, I am starting a JVM in unix and when I use ps command on the pid of process starting JVM the output is something like this :- java -Xms32M -Xmx64M -Xmx128M I need to know what would be the value of Xmx in this case. And how to check that this value be picked while starting JVM... (3 Replies)
Discussion started by: Raj999
3 Replies

4. UNIX for Advanced & Expert Users

JVM Memory used on AIX

Hello, i need just a Unix command line (AIX 6) that gives me the memory/CPU used by a WebSphere JVM from it's PID such as ps -ef | grep 'jvm name'. I know jstat -gc PID but it didn't work Could you help me please Thanks Christian (1 Reply)
Discussion started by: steiner
1 Replies

5. Shell Programming and Scripting

To find JVM memory usage in shell console

i need to find memory usage by JVM in shell prompt, i tried with pidVal=$( ps -ef | grep "/opt/bea2/jrockit/bin/java -jrockit" | grep -v grep | awk -F' ' '{print $2}' | tr "\n" "," | cut -d ',' -f1 ) top -b -n 1 | grep $pidVal this will just give cpu usage and ram... How do i find... (4 Replies)
Discussion started by: vivek d r
4 Replies

6. Solaris

How to increase jvm size for solaris 10 (sparc) operating system

Hi, I have solaris 10 (sparc) operating system machine on which I have installed supported weblogic 10.3. It was installed properly. As we know weblogic uses jvm to run and uses a part of jvm memory. But I am facing one problem in which JVM is getting crashed again and again resulting my... (2 Replies)
Discussion started by: neeraj.tati
2 Replies

7. Solaris

jvm memory settings

When i changed jvm memory settings from 3048 to 3548, appsserver could not start. if no change , it was normal. How do we change .otherwise i had a out of swap space error appeared after 3hrs period when do the monitoring of java application. (1 Reply)
Discussion started by: vijill
1 Replies

8. UNIX for Advanced & Expert Users

need to increase the memory utlisation of server

hi all, i need to replicate the environment of one server in another. Two servers are there A and B. i need to replicate A's environment on B. The server A's memory utlisation is 60%, whereas server B's is 15 to 20%. Can some one tell how i can increase the memory utilisation of B to reach... (5 Replies)
Discussion started by: sais
5 Replies

9. Solaris

Increase memory allocation for apache

Hi, The physical memory of the unix box running on sun solaris is going to be increased. What extra conf. changes should I take care in order for the Apache server to recognise the extra memory. Your response asap is appreciated. Thanks ravi (1 Reply)
Discussion started by: rkrgarlapati
1 Replies

10. UNIX for Advanced & Expert Users

Opinions on memory increase

We are trying to tune a server which phsycially is maxed out on cpu. We are maxing out on memory and swapping at a rate of 20-43% of our swap space which is approx 45% of total ram. We "can" upgrade to twice the memory that we currently have but it will be costly as there are no more seats... (5 Replies)
Discussion started by: MizzGail
5 Replies
Login or Register to Ask a Question