- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: "memory map limit" in 11.31 v3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 06:44 AM
тАО01-12-2010 06:44 AM
"memory map limit" in 11.31 v3
We got some peculiar soft that requires "memory map limit" be configured as one of kernel tunables. We got the following setting:
- "ia64 hp server rx7640"
- "4 Intel(R) Itanium 2 9100 series processors (1.6 GHz, 18 MB)"
- HP-UX 11.31 v3
We're not sure which kernel tunable is on "memory map limit".
Would be grateful for any clue on.
Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 06:50 AM
тАО01-12-2010 06:50 AM
Re: "memory map limit" in 11.31 v3
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1263307715469+28353475&threadId=194314
That might help.
a bit more detail including sharing what kind of software is asking this might help get you more specific answers.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2010 01:50 PM
тАО01-12-2010 01:50 PM
Re: "memory map limit" in 11.31 v3
Are you talking about mmap(2)? Is this shared or private. I think the latter is controlled by maxdsiz/maxdsiz_64bit.
What size do you need?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 11:19 PM
тАО01-21-2010 11:19 PM
Re: "memory map limit" in 11.31 v3
That "peculiar" soft is jBase that requires two kernel parameters being set:
- "ULIMIT: This parameter affects the maximum size of files, which a user can create and should always be set to the maximum."
- "Memory, mapped limit: used for memory-mapped files"
Note that these are chunks from the config documentation.
Below are the values for maxdsiz(_64bit) & maxssiz(_64bit) respectively:
[root@rx3600_2:BSB1 ]# kctune maxdsiz
Tunable Value Expression Changes
maxdsiz 4294963200 4294963200 Immed
[root@rx3600_2:BSB1 ]# kctune maxdsiz_64bit
Tunable Value Expression Changes
maxdsiz_64bit 4294967296 Default Immed
[root@rx3600_2:BSB1 ]# kctune maxssiz
Tunable Value Expression Changes
maxssiz 401604608 401604608 Immed
[root@rx3600_2:BSB1 ]# kctune maxssiz_64bit
Tunable Value Expression Changes
maxssiz_64bit 268435456 Default Immed
[root@rx3600_2:BSB1 ]#
jsh juser1 ~ -->ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4194300
stack(kbytes) 262144
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
jsh juser1 ~ -->
We did increase ulimit to some value, but couldn figure out which kernel parameter does "memory map limit" match with.
Might that be the case that in 11.31 v3 no corresponding tunable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 01:20 AM
тАО01-22-2010 01:20 AM
Re: "memory map limit" in 11.31 v3
You need to answer this question.
If shared, there may be another limit.
For shared memory there is shmmax.
>Might that be the case that in 11.31 no corresponding tunable?
I don't see one for mmap(2) shared. There is a setrlimit(2) value, RLIMIT_AS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 03:35 AM
тАО01-22-2010 03:35 AM
Re: "memory map limit" in 11.31 v3
>Are you talking about mmap(2)? Is this shared or private?
- if you mean do we explicitly make a call to "mmap", nops.
- how could be identified whether is shared?
>If shared, there may be another limit.
For shared memory there is shmmax.
- thanks for the clue. I did `man shmmax` and came across nice info on that "group" of parameters.
-I suspect they probably have an effect on processes/threads waiting on IPC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2010 03:59 AM
тАО01-23-2010 03:59 AM
Re: "memory map limit" in 11.31 v3
Looking at the source should show MAP_SHARED somewhere in the 4th parm, instead of MAP_PRIVATE.
Otherwise you could use tusc to show the system calls.
>-I suspect they probably have an effect on processes/threads waiting on IPC.
I'm not sure why you think it has to do with waiting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 10:22 AM
тАО01-28-2010 10:22 AM
Re: "memory map limit" in 11.31 v3
/*
>- how could be identified whether is shared?
Looking at the source should show MAP_SHARED somewhere in the 4th parm, instead of MAP_PRIVATE.
Otherwise you could use tusc to show the system calls.
*/
- we dont have a source code for the core of the application, which drops the chance of clarifying this path further.
/*
>-I suspect they probably have an effect on processes/threads waiting on IPC.
I'm not sure why you think it has to do with waiting?
*/
- I came to that through the man page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 12:31 PM
тАО01-28-2010 12:31 PM
Re: "memory map limit" in 11.31 v3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 04:19 AM
тАО01-29-2010 04:19 AM
Re: "memory map limit" in 11.31 v3
You don't need the source code to use tusc. You would need it if you want to change things.
>That probably implies the "shared memory" being out of the game for that "peculiar soft".
Yes or you want it high so you don't have to change it at an inconvenient time.