- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory limit per process with chatr +q3p enable
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
Forums
Discussions
Discussions
Discussions
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
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
06-04-2003 07:02 AM
06-04-2003 07:02 AM
memory limit per process with chatr +q3p enable
Here's several options
1) compiled with -Wl,-N for aCC
2) chatr +q3p enable a.out
3) chatr +q4p enable a.out
I had a small program basically malloc memories.
Without any option above, it run out of memory around 895M.
If I use option (1), it can get to 1023M.
With option (2), it can get to 1022M.
If I use both (1) and (2), it gets to 1022M.
With option (3), it gets to 1788M.
It can't get 3GB memory utilization per process, what could be wrong here?
Thanks,
Yqu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:10 AM
06-04-2003 07:10 AM
Re: memory limit per process with chatr +q3p enable
1. Enough RAM (3.8Gb free which is the max with q4 enabled)
2. Enough device swap (at least 3.8Gb) - and it all free (0% used)
3. maxdsiz set to at lest 3.8GB in the kernel
I thought q3 and q4 are shared quadrants, so its possible already running processes are using part of them, limiting your usage. Have you tried running your program in single user mode when nobody else could be accessing them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:21 AM
06-04-2003 07:21 AM
Re: memory limit per process with chatr +q3p enable
swchunk 2048
There are 5 GB left for swapspace.
I am not sure if any process is using the shared memory. Here's output for ipcs:
Shared Memory:
m 0 0x411c05cc --rw-rw-rw- root root
m 1 0x4e0c0002 --rw-rw-rw- root root
m 2 0x41200015 --rw-rw-rw- root root
m 3 0x301c3ea4 --rw-rw-rw- root root
m 4 0x00000000 --rw------- root root
m 2005 0x431c480b --rw-rw-rw- daemon daemon
are the quadrant 3 and 4 used?
Thanks,
Yqu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 07:26 AM
06-04-2003 07:26 AM
Re: memory limit per process with chatr +q3p enable
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 6144000 875020 5268980 14% 0 - 1 /dev/vg00/lvol2
reserve - 730156 -730156
memory 1568732 762280 806452 49%
is the memory the problem? I thought the virtual memory would count.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 08:11 AM
06-04-2003 08:11 AM
Re: memory limit per process with chatr +q3p enable
You need to have 3-4Gb of free RAM before you try running your program. Use vmstat 1 1 (look for memory free column, multiply it by 4096 for free ram in bytes)