Operating System - HP-UX
1829777 Members
1715 Online
109992 Solutions
New Discussion

HP_UX 11 runtime memory issue

 
Rajesh Karelia
Frequent Advisor

HP_UX 11 runtime memory issue

We are running an LDAP application on HP-UX 11 machine configured with 4 GB of RAM.

The application is a 32 bit HP_UX binary (compiled and linked as 32 bit)

The application is crashing after some point where the runtime memory size exceeds 1.8 GB.

But the same application is running without any crash in other platforms like Solaris, Linux etc.

(The same application has been compiled/linked for Solaris and Linux also)

And we have configured some of the HP system environment parameters like follows

maxdsiz 3221225472
maxdsiz_64bit 17179869184
maxssiz 83886080
maxssiz_64bit 83886080

%ulimit -Sa
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 163840
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 200

% ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 163840
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 2048

Also We have configured _M_ARENA_OPTS with the following values

1:32 ,
1:256,
1:512,
1:1024,
1:2048,
1:4096.

But even after changing the _M_ARENA_OPTS values with each of the above values, the application is crashing.

If you have experienced this kind of problem in HP-UX , can we please help us to rectify this problem?

Many thanks.
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: HP-UX 11 runtime memory issue

Unless you are threaded, you shouldn't be using _M_ARENA_OPTS.

Your question seems exactly like this recent thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1260374

If this isn't your colleague, you need to answer the same questions there.