HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MAXTSIZ PARAMETER
Operating System - HP-UX
1832996
Members
2516
Online
110048
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
Go to solution
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
05-23-2001 09:35 AM
05-23-2001 09:35 AM
I have a process that is growing. The kernel maxtsiz parameter was configured to 128Mb (it was 64Mb). I think that 128Mb is not a memory segment large enough to this process, because it has stopped due to out of memory.
My questions are:
What is the maximum value that I can configure the maxtsiz ? And what are the implications to the system?
The system has 512Mb of ram memory.
Thankx
My questions are:
What is the maximum value that I can configure the maxtsiz ? And what are the implications to the system?
The system has 512Mb of ram memory.
Thankx
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 09:40 AM
05-23-2001 09:40 AM
Re: MAXTSIZ PARAMETER
maxtsiz
maxtsiz specifies the maximum shared-text segment size in bytes.
Acceptable Values:
maxtsiz for 32-bit processors:
Minimum
0x40000 (4 Mbytes)
Maximum
0x7B033000 (approx 2 Gbytes)
Default
0x4000000 (64 Mbytes)
maxtsiz_64bit for 64-bit processors:
Minimum
0x40000 (4 Mbytes)
Maximum
4398046511103 (approx 4 Gbytes)
Default
0x4000000 (64 Mbytes)
Specify integer value. For more information, see Specifying Parameter Values.
Description
maxtsiz and maxtsiz_64bit define, for 32-bit and 64-bit processors respectively, the maximum size of the shared text segment (program storage space) of an executing process. Program executable object code is stored as read-only, and thus can be shared by multiple processes if two or more processes are executing the same program simultaneously, for example.
The normal default value accommodates the text segments of most processes. Unless you plan to execute a process with a text segment larger than 64 Mbytes, do not modify maxtsiz or maxtsiz_64bit.
Each time the system loads a process with shared text, the system checks the size of its shared text segment. The system issues an error message and aborts the process if the process' text segment exceeds maxtsiz or maxtsiz_64bit.
See http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxTsiz.html
maxtsiz specifies the maximum shared-text segment size in bytes.
Acceptable Values:
maxtsiz for 32-bit processors:
Minimum
0x40000 (4 Mbytes)
Maximum
0x7B033000 (approx 2 Gbytes)
Default
0x4000000 (64 Mbytes)
maxtsiz_64bit for 64-bit processors:
Minimum
0x40000 (4 Mbytes)
Maximum
4398046511103 (approx 4 Gbytes)
Default
0x4000000 (64 Mbytes)
Specify integer value. For more information, see Specifying Parameter Values.
Description
maxtsiz and maxtsiz_64bit define, for 32-bit and 64-bit processors respectively, the maximum size of the shared text segment (program storage space) of an executing process. Program executable object code is stored as read-only, and thus can be shared by multiple processes if two or more processes are executing the same program simultaneously, for example.
The normal default value accommodates the text segments of most processes. Unless you plan to execute a process with a text segment larger than 64 Mbytes, do not modify maxtsiz or maxtsiz_64bit.
Each time the system loads a process with shared text, the system checks the size of its shared text segment. The system issues an error message and aborts the process if the process' text segment exceeds maxtsiz or maxtsiz_64bit.
See http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxTsiz.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 05:45 PM
05-23-2001 05:45 PM
Solution
Processes never grow in the text space. maxtsiz refers to the unchanging instructions in the program which is fixed at the time the program is compiled. The text quadrant is separate from the data area (maxdsiz) which indeed can grow as the program requires. The parameter you need to adjust is maxdsiz (and if your program is compiled as 64-bit code, maxdsiz_64).
These kernel parmeters exist as fences to prevent badly designed programs from consuming RAM and swap space. I would bump maxdsize to 500 megs for now and investigate what the program will eventually need as a maximum value. For a 32-bit program, addressability will be limited to apx 940 megs in the data area or with EXEC_MAGIC, about 1750 megs.
Make sure you have adequate swap space in case the program grows far larger than available RAM.
Bill Hassell, sysadmin
These kernel parmeters exist as fences to prevent badly designed programs from consuming RAM and swap space. I would bump maxdsize to 500 megs for now and investigate what the program will eventually need as a maximum value. For a 32-bit program, addressability will be limited to apx 940 megs in the data area or with EXEC_MAGIC, about 1750 megs.
Make sure you have adequate swap space in case the program grows far larger than available RAM.
Bill Hassell, sysadmin
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