Operating System - HP-UX
1751976 Members
4490 Online
108784 Solutions
New Discussion юеВ

Re: Issue with ENOMEM - what could be causing it ??

 
Jaideep Krishnan
Frequent Advisor

Re: Issue with ENOMEM - what could be causing it ??


Also, please observe the difference between the parameters of 2 machines, one of which the product comes up on, and on the other the product does not come up.

1. Machine on which the product comes up
-----------------------------------------
$ /usr/sbin/swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
reserve - 414032 -414032
memory 3226088 2489680 736408 77%

2. Machine on which the product does not come up
----------------------------------------------------

$ /usr/sbin/swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 10485760 0 10485760 0% 0 - 1 /dev/vg00/lvol9
reserve - 89328 -89328
memory 3160672 34420 3126252 1%



1. Machine on which the product comes up
-----------------------------------------
Extract from /stand/system:

maxswapchunks 2048
maxusers 512
nproc 2048
max_thread_proc 3000
nkthread 6000
nfile 4097
maxfiles 2048
maxfiles_lim 2048
ncallout 6000
maxdsiz 2063835136


2. Machine on which the product does not come up
----------------------------------------------------


Extract from /stand/system:

STRMSGSZ 65535
dnlc_hash_locks 512
max_thread_proc 3000
maxdsiz 2063835136
maxdsiz_64bit 4000000000
maxfiles 2048
maxfiles_lim 2048
maxssiz 0x4000
maxssiz_64bit 1073741824
maxswapchunks 16384
maxtsiz 0X4000000
maxtsiz_64bit 0X40000000
maxusers 512
ncallout 6000
nfile 4097
nkthread 6000
nproc 2048
nstrpty 60
shmmax 0X19000000

Any comments?
Jaideep Krishnan
Frequent Advisor

Re: Issue with ENOMEM - what could be causing it ??

Please enter your valauable thoughts / comments related to this issue. Its a very important issue and we hope we could find some solution through this channel. Good Points shall be awarded in return to your valuable suggestions. Please read the above for the exact nature of issue. Thanks for your good co-operation.
A. Clay Stephenson
Acclaimed Contributor

Re: Issue with ENOMEM - what could be causing it ??

Your shmmax of 0x19000000 (~419MB) is small ands should probably be set to 1GB.
If it ain't broke, I can fix that.
Dietmar Konermann
Honored Contributor

Re: Issue with ENOMEM - what could be causing it ??

Folks,

Just a short notice since I'm in a hurry.

I would really not focus on that mmap() ENOMEM failure. You are likely to those everytime you start programs that try to load already loaded shared libs... example:

# tusc ls |grep mmap | grep ENOMEM
mmap(NULL, 1339392, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x6d000) ERR#12 ENOMEM

Best regards...
Dietmar.

"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)