HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user process exceeds maxssiz, maxdsiz and maxtsiz
Operating System - HP-UX
1834643
Members
2894
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-13-2006 12:43 AM
06-13-2006 12:43 AM
user process exceeds maxssiz, maxdsiz and maxtsiz
Hi,
Today we had a problem that a process had allocated 3 GB memory. When I checked the maxsize for processes they are set to:
maxdsiz_64bit = 2 GB
maxssiz_64bit = 1 GB
maxtsiz_64bit = 1 GB
The process was a shellscript that called sqlplus against an oracle database, which started an oracle procedure collecting data in a lob variabel sending it to a java utility which wrote data to a file.
I guess it should be kernel variable maxssiz which should restrict the amount of allocated memory. How can the process allocate more than the kernel variables are set?
We are running in a HP-UX 11.11 64-bit environment.
Thanks in advance
Morten
Today we had a problem that a process had allocated 3 GB memory. When I checked the maxsize for processes they are set to:
maxdsiz_64bit = 2 GB
maxssiz_64bit = 1 GB
maxtsiz_64bit = 1 GB
The process was a shellscript that called sqlplus against an oracle database, which started an oracle procedure collecting data in a lob variabel sending it to a java utility which wrote data to a file.
I guess it should be kernel variable maxssiz which should restrict the amount of allocated memory. How can the process allocate more than the kernel variables are set?
We are running in a HP-UX 11.11 64-bit environment.
Thanks in advance
Morten
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 12:54 AM
06-13-2006 12:54 AM
Re: user process exceeds maxssiz, maxdsiz and maxtsiz
Shalom Morten,
HP-UX devides its memory areas into various pools. Probably the total memory allocated to the process is 3 GB but it does not exceed any of the above limitations.
Hopefully your system is patched reasonably to prevent patching being a factor.
Learning links:
http://docs.hp.com/en/B2355-60105/maxssiz.5.html
http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fdocs.hp.com%2Fen%2F939%2FKCParms%2FKCparam.MaxSsiz.html&ei=K7WORKrRMbKCQsPUuIcN&sig2=aZEZY2TIF_BSyh95w5OpYA
http://www.google.com/url?sa=t&ct=res&cd=4&url=http%3A%2F%2Fdocs.hp.com%2Fen%2FJ4258-90024%2Fch01s02.html&ei=YrWORMmgHZKmQe6duOwM&sig2=6LT8Fqs4pi74XmwH1UXYNw
http://www.google.com/url?sa=t&ct=res&cd=6&url=http%3A%2F%2Fdocs.hp.com%2Fen%2FJ4258-90027%2Fch02s01.html&ei=YrWORMmgHZKmQe6duOwM&sig2=j5m60txH0MhgcG1CGAZn0g
SEP
HP-UX devides its memory areas into various pools. Probably the total memory allocated to the process is 3 GB but it does not exceed any of the above limitations.
Hopefully your system is patched reasonably to prevent patching being a factor.
Learning links:
http://docs.hp.com/en/B2355-60105/maxssiz.5.html
http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fdocs.hp.com%2Fen%2F939%2FKCParms%2FKCparam.MaxSsiz.html&ei=K7WORKrRMbKCQsPUuIcN&sig2=aZEZY2TIF_BSyh95w5OpYA
http://www.google.com/url?sa=t&ct=res&cd=4&url=http%3A%2F%2Fdocs.hp.com%2Fen%2FJ4258-90024%2Fch01s02.html&ei=YrWORMmgHZKmQe6duOwM&sig2=6LT8Fqs4pi74XmwH1UXYNw
http://www.google.com/url?sa=t&ct=res&cd=6&url=http%3A%2F%2Fdocs.hp.com%2Fen%2FJ4258-90027%2Fch02s01.html&ei=YrWORMmgHZKmQe6duOwM&sig2=j5m60txH0MhgcG1CGAZn0g
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
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
06-13-2006 12:54 AM
06-13-2006 12:54 AM
Re: user process exceeds maxssiz, maxdsiz and maxtsiz
Hi,
If you have reached th limit configured in the kernel then there is no way to exceed that limit at user level. You need to increase the kernel parameters to have the increased limits.
It should be the maxdsiz_64bit and not the maxssiz_64 bit. maxdsiz is for the data segment required by the process, whereas maxssiz is for stack - and if stack requirement is quite high (1GB is far more than enough for 1 process) then probably the programming needs to be revisited as it is not a sign of good programming if huge stack is required.
Note : you will require a reboot after kernel recompilation
Regards,
Ninad
If you have reached th limit configured in the kernel then there is no way to exceed that limit at user level. You need to increase the kernel parameters to have the increased limits.
It should be the maxdsiz_64bit and not the maxssiz_64 bit. maxdsiz is for the data segment required by the process, whereas maxssiz is for stack - and if stack requirement is quite high (1GB is far more than enough for 1 process) then probably the programming needs to be revisited as it is not a sign of good programming if huge stack is required.
Note : you will require a reboot after kernel recompilation
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 04:06 AM
06-13-2006 04:06 AM
Re: user process exceeds maxssiz, maxdsiz and maxtsiz
This is a tremendous amount of memory and adding more should not be so automatic during root cause analysis. ( The answer to every programming problem is not more memory. ) More then likely you've got some unfreed memory allocation (malloc?) and it needs to be cleaned up. Can you also Paste these results into an attachment mon ami?
# vmstat 5 5
# sar -u 5 5
# sar -v 5 5
# sar -b 5 5
# sar -d 5 5
# swapinfo -tam
# vmstat 5 5
# sar -u 5 5
# sar -v 5 5
# sar -b 5 5
# sar -d 5 5
# swapinfo -tam
Support Fatherhood - Stop Family Law
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP