1833712 Members
2053 Online
110063 Solutions
New Discussion

Error message

 

Error message

I receinving thw following message. I am use hp-ux 11i

Execution error : file 'AcMain'
error code: 114, pc=0, call=0, seg=0
114 Attempt to access item beyond bounds of memory (Signal 11)

HP/MF COBOL Version: B.13.45
HP-UX amdusg B.11.11 U 9000/800
pid: 25528 gid: 102 uid: 302
Fri Jul 11 11:46:33 2003
11:46am up 5 days, 1:56, 41 users, load average: 1.38, 1.76, 1.82
Thread mode: No Threads
RTS Error: COBOL
Sync Signals: COBOL
ASync Signals: COBOL
cobtidy on exception: False

jupysilva
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: Error message

Hi,

Signal 11 is EAGAIN - No more processes.

You are either running out of maxuprc or nproc kernel parameters.

To find out if you are running out of nproc, do a

sar -v 5 3

and look at proc-sz column. If that is the case, you will need to increase that parameter.

To find out if you are running out of maxuprc (this is on per user basis), then do

ps -ef|grep user|grep -v grep |wc -l

Compare the above value with the kernel setting

kmtune -l -q maxuprc

If it is the problem, then you will need to increase it.

On 11i, you can increase the value online upto nproc parameter.

Use the command

kmtune -s maxuprc=512
kmtune -u

Run "kmtune -l q maxuprc" again to make sure it is increased.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: Error message

Eeek!

Its time to collect some performance data and tune that kernel. I'm attaching some scripts.

Take a look at this performance document.

http://www2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-1335382922+1057965897014+28353475&searchCrit=allwords


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
T. M. Louah
Esteemed Contributor

Re: Error message

Keywords in the error "beyond bounds of memory" suggests that a process is trying to address memory more than it is supposed to.
Here are kernel parms to consider:
- Usually you should see "file: table is full" in syslog or using dmesg command if the kernel is short in nproc, it is always recommended to increase maxusers to impact nproc as it is used in its formula: nproc=20+(8 * maxusers)

nproc specifies the maximum number of processes that can exist simultaneously on the system at any given time.

- maxuprc specifies the maximum number of simultaneous user processes that any given user can be running: maxuprc=nproc-5

Other kernel parameter to consider:
- "beyond bounds of memory" in the error msg can refer to maxdsiz and maxdsiz_64bit. They specify the maximum data segment size, in bytes, for an executing process.
- maxssiz and maxssiz_64bit set the maximum dynamic storage segment (DSS) size in bytes.
- maxtsiz specifies the maximum shared-text segment size in bytes.

Other parameter in the equation to investigate is swap, most of the time it is not considered but it could be key-player, details can be seen when runing swapinfo (high values for Total %used means system needs more swap)

Cheers,
T??
Little learning is dangerous!