- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Arg list too long!!
Operating System - HP-UX
1752805
Members
5676
Online
108789
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
Discussions
Discussions
Forums
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
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
тАО10-01-2001 07:08 PM
тАО10-01-2001 07:08 PM
Hi all,
Can some body suggest a patch for the error(arg list too long) i get for most of the commands due to high number of arguments.
Though i know that "xargs" can be used to avoid it.But is there any patch which might fix it?......
By the way iam running into problems with HPUX 10.20 model k580 server.
Any suggesstion will be highly appreciated.
thanx.
Can some body suggest a patch for the error(arg list too long) i get for most of the commands due to high number of arguments.
Though i know that "xargs" can be used to avoid it.But is there any patch which might fix it?......
By the way iam running into problems with HPUX 10.20 model k580 server.
Any suggesstion will be highly appreciated.
thanx.
Believe in Yourself!!
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2001 07:49 PM
тАО10-01-2001 07:49 PM
Solution
The 'arg list too long' error occurs when you exceed the maximum
length of arguments that can be passed to a command.
The default is 20478 bytes, but you can increase this value to 2048000
by setting the kernel parameter 'large_ncargs_enabled = 1' (default is 0).
You can execute 'getconf ARG_MAX' to find out if 'large_ncargs_enabled'
is set to 1 or 0. For example:
$ getconf ARG_MAX
20478
If you receive 20478 when you execute the command, recompile the kernel
with 'large_ncargs_enabled = 1' to resolve the error.
Note that for HP-UX 11.0 systems, the limit is set to the larger value
by default, and the large_ncargs_enabled kernel tunable is not needed.
Note that patch:
[PHKL_16410/PACHRDME/English]
s800 10.20 LVM/UFS/NDDB/flkmgr/VxFS,DMAPI/PCI/SCSI/MO/dump
enables this kernel parameter, so you may need to install it if you
do not already have it or a superseding patch installed already.
length of arguments that can be passed to a command.
The default is 20478 bytes, but you can increase this value to 2048000
by setting the kernel parameter 'large_ncargs_enabled = 1' (default is 0).
You can execute 'getconf ARG_MAX' to find out if 'large_ncargs_enabled'
is set to 1 or 0. For example:
$ getconf ARG_MAX
20478
If you receive 20478 when you execute the command, recompile the kernel
with 'large_ncargs_enabled = 1' to resolve the error.
Note that for HP-UX 11.0 systems, the limit is set to the larger value
by default, and the large_ncargs_enabled kernel tunable is not needed.
Note that patch:
[PHKL_16410/PACHRDME/English]
s800 10.20 LVM/UFS/NDDB/flkmgr/VxFS,DMAPI/PCI/SCSI/MO/dump
enables this kernel parameter, so you may need to install it if you
do not already have it or a superseding patch installed already.
Never stop "LEARNING"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2001 07:54 PM
тАО10-01-2001 07:54 PM
Re: Arg list too long!!
Hi Ricky,
Have a look at the thread below.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=960181b519bde7c302/screen=ckiDisplayDocument?docId=200000047972053
Here is the details.
PROBLEM
I am getting errors like:
Arg list too long
when I issue certain commands, such as 'find'. What is causing the
error and how can I make it go away?
CONFIGURATION
Operating System - HP-UX
Version - 10.20
RESOLUTION
The 'arg list too long' error occurs when you exceed the maximum
length of arguments that can be passed to a command.
The default is 20478 bytes, but you can increase this value to 2048000
by setting the kernel parameter 'large_ncargs_enabled = 1' (default is 0).
You can execute 'getconf ARG_MAX' to find out if 'large_ncargs_enabled'
is set to 1 or 0. For example:
$ getconf ARG_MAX
20478
If you receive 20478 when you execute the command, recompile the kernel
with 'large_ncargs_enabled = 1' to resolve the error.
Note that for HP-UX 11.0 systems, the limit is set to the larger value
by default, and the large_ncargs_enabled kernel tunable is not needed.
Note that patch:
PHKL_16410
s800 10.20 LVM/UFS/NDDB/flkmgr/VxFS,DMAPI/PCI/SCSI/MO/dump
enables this kernel parameter, so you may need to install it if you
do not already have it or a superseding patch installed already.
Note: This patch, as with any patch, may be superseded. Please
check for the latest patch at the Electronic Support Center
(ESC) by using either of these web sites:
http://us-support.external.hp.com
http://europe-support.external.hp.com
hope this helps.
thanks
Have a look at the thread below.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=960181b519bde7c302/screen=ckiDisplayDocument?docId=200000047972053
Here is the details.
PROBLEM
I am getting errors like:
Arg list too long
when I issue certain commands, such as 'find'. What is causing the
error and how can I make it go away?
CONFIGURATION
Operating System - HP-UX
Version - 10.20
RESOLUTION
The 'arg list too long' error occurs when you exceed the maximum
length of arguments that can be passed to a command.
The default is 20478 bytes, but you can increase this value to 2048000
by setting the kernel parameter 'large_ncargs_enabled = 1' (default is 0).
You can execute 'getconf ARG_MAX' to find out if 'large_ncargs_enabled'
is set to 1 or 0. For example:
$ getconf ARG_MAX
20478
If you receive 20478 when you execute the command, recompile the kernel
with 'large_ncargs_enabled = 1' to resolve the error.
Note that for HP-UX 11.0 systems, the limit is set to the larger value
by default, and the large_ncargs_enabled kernel tunable is not needed.
Note that patch:
PHKL_16410
s800 10.20 LVM/UFS/NDDB/flkmgr/VxFS,DMAPI/PCI/SCSI/MO/dump
enables this kernel parameter, so you may need to install it if you
do not already have it or a superseding patch installed already.
Note: This patch, as with any patch, may be superseded. Please
check for the latest patch at the Electronic Support Center
(ESC) by using either of these web sites:
http://us-support.external.hp.com
http://europe-support.external.hp.com
hope this helps.
thanks
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP