- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to increase ARG_MAX or disable the limit i...
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
11-14-2005 07:21 AM
11-14-2005 07:21 AM
How to increase ARG_MAX or disable the limit in HP-UX 11.23 IA64
I am wondering if there is a way to tune the kernerl paramter to increase the total length of the arguments for exec() in bytes, including environment data.
Or if there is a way to disable the limit of ARG_MAX?
Your advice is greatly appreciated.
E.S.
HP-UX hp14 B.11.23 U ia64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 07:26 AM
11-14-2005 07:26 AM
Re: How to increase ARG_MAX or disable the limit in HP-UX 11.23 IA64
large_ncargs_enabled
I did not see this parameter in 11.23 either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 07:29 AM
11-14-2005 07:29 AM
Re: How to increase ARG_MAX or disable the limit in HP-UX 11.23 IA64
You don't really give enough info to help out. What are you trying to do with all the files? Is the list of files generated from another command?
One place people commonly run into this is via the find command. To circumvent that, you can:
find ${args} -print | xargs -i ${cmd} {}
If you're doing a straigh ls, loop through it:
ls | while read file
do
# whatever I want
done
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 07:30 AM
11-14-2005 07:30 AM
Re: How to increase ARG_MAX or disable the limit in HP-UX 11.23 IA64
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 02:55 AM
11-17-2005 02:55 AM