- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to increase maxdsiz
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
10-06-2001 12:00 PM
10-06-2001 12:00 PM
I meet some problem in malloc, I have to malloc 6 40MB structure array. But when I malloc the second 40MB, the malloc fails. I think this is because my hp/ux 10.20 maxdsiz is too small, it is just 64MB. I try to use command "ulimit -d unlimited", but there is error message "the specified value exceeds the user' allowable limit".
Can anyone help me to solve this problem?
Thanks!
Zhiyong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2001 12:20 PM
10-06-2001 12:20 PM
SolutionYou need to increase the size of parameter
in your kernel. To do this use either 'sam'
or do it from the command line. Unfortunately
this will require you to generate a new
kernel which will require a reboot for it to
be loaded and used.
sam --> Kernel Configuration --> change the
value and select process new kernel from the
drop down menu.
-OR-
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (make your changes and save the file)
# mk_kernel -s system
# cd /stand
# mv vmunix vmunix_prev
# mv system system.save
# mv /stand/build/vmunix.test /stand/vmunix
# mv /stand/build/system /stand/system
# cd /
Reboot your system
# shutdown -r -y 0
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2001 12:51 PM
10-06-2001 12:51 PM
Re: how to increase maxdsiz
Thanks for your reply and help.
I check the sam, I have a another question. If I want to increase maxdsiz as 700MB, how to represents as 32 bit number.
Have a good day!
Zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2001 06:09 PM
10-06-2001 06:09 PM
Re: how to increase maxdsiz
You can enter the value for maxdsiz in hex (0x700000) or in decimal (7340032).
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2001 07:25 PM
10-06-2001 07:25 PM
Re: how to increase maxdsiz
Thanks for your help!
I will try this.
Have a good night!
Zhiyong