Dear experts,
In note 1827960 - Operating system limits for SAP instances we know the limits set in command line maybe different from the values used by SAP. Follow the note, we set the values in /usr/sap/sapservices and restart the system following the note. (OS is HPUX 11.31)
This is what we set:
limit.descriptors=unlimited
limit.stacksize=unlimited
limit.datasize=unlimited
Now by running:
> sapcontrol -nr <instance nr.> -function OSExecute "/bin/ksh ulimit -a" 0 0
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) unlimited
coredump(blocks) 4194303
Looks like missing nofile. So we run sapcontrol with csh:
> sapcontrol -nr <instance nr.> -function OSExecute "/usr/bin/csh -c limit" 0 0
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize 2097151 kbytes
descriptors 8192 files
memoryuse unlimited
But with jvmmon + dump hs_err_info
We found this:
rlimit: STACK infinity, CORE 2097151k, NPROC 4097, NOFILE 63488, AS infinity, DATA infinity
This is what we got from command line with <sid>adm user:
cputime unlimited
filesize unlimited
datasize 4194300 kbytes
stacksize 392192 kbytes
coredumpsize 2097151 kbytes
descriptors 8192 files
memoryuse unlimited
Quite confused about which value is really used by JVM. Any idea on this? Thank you
Regards,
Donny