If you are using the ls command to list the files in the directory, try 
using the find command instead.  The ls command is faster, but it has 
issues with really large numbers of files.

--------------------------------------------------
Charlie Rubeor
Senior Database Administrator
Wiremold/Legrand
60 Woodlawn Street
West Hartford, CT  06110
Tel: 860-233-6251 x3498
Fax: 860-523-3690
Email: [EMAIL PROTECTED]
--------------------------------------------------




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
08/21/2007 09:54 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
[U2] AIX Argument list too long






Hi all.

This is a bit off-topic, but I believe the expertise is here. . .

I have routines that parse through Unix files in a directory and remove
them based on age. If the number of files exceeds some limit I've not been
able to narrow down, I get a response from the scripts that it can't do
the job because there's too many files in the directory.

Does anyone know:

1. what I'm talking about and what causes it?

2. how to solve this through some tunable parameter, preferrably not
requiring a kernel rebuild?

TIA,

-- 
Karl Pearson
Director of I.T.
ATS Industrial Supply, Inc.
[EMAIL PROTECTED]
http://www.atsindustrial.com
800-789-9300 x29
Local: 801-978-4429
Fax: 801-972-3888

"To mess up your Linux PC, you have to really work at it;
 to mess up a microsoft PC you just have to work on it."
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to