- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- large_ncargs_enabled : arg list too long : ARG_MAX...
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:29 AM
11-14-2005 07:29 AM
large_ncargs_enabled : arg list too long : ARG_MAX=2048000
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
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=765004
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:40 AM
11-14-2005 07:40 AM
Re: large_ncargs_enabled : arg list too long : ARG_MAX=2048000
Usually the way the process a long list of arguments is to use the "xarg" command.
An example
> file *
Arg list too long...
use instead:
> ls * | xargs file
The above command is great if the rm command is not going to need arguments other than what you're supplying via the wildcard. It won't work if you're going to pass a switch command to rm (like -f or -i).
So, to fix that you'd use the "{}" placeholder like in the "find" command.
> ls *| xargs -i file {}
If you watch the above commands from "ps" you'll see that the "file" command is going to be reissued with a new set of arguments over and over again until the whole list is finished.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 08:16 AM
11-14-2005 08:16 AM
Re: large_ncargs_enabled : arg list too long : ARG_MAX=2048000
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 10:40 AM
11-14-2005 10:40 AM
Re: large_ncargs_enabled : arg list too long : ARG_MAX=2048000
Appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 01:13 PM
11-14-2005 01:13 PM
Re: large_ncargs_enabled : arg list too long : ARG_MAX=2048000
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 04:19 PM
11-14-2005 04:19 PM
Re: large_ncargs_enabled : arg list too long : ARG_MAX=2048000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 02:57 AM
11-17-2005 02:57 AM
Re: large_ncargs_enabled : arg list too long : ARG_MAX=2048000
THX everyone.