From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8bdb9393eca932cf X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: FTP and RCP severe limitations? Date: 2000/02/27 Message-ID: <951683815.12480.0.nnrp-10.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 590574660 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <951591946.16366.0.nnrp-06.c2deb51d@news.demon.co.uk> X-Trace: news.demon.co.uk 951683815 nnrp-10:12480 NO-IDENT pappnase.demon.co.uk:194.222.181.29 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: comp.unix.osf.osf1 X-Complaints-To: abuse@demon.net Daniel S. Riley wrote in message ... >"Adam Price" writes: >> 1) Your current problem is the command line limit of the shell and >> the fact that your wildcard gives too long a line... Open source shells >> such as bash or pdksh could be recompiled with bigger limits to suit your >> needs. > >Ultimately, there's a limit on the length of the arguments you can >hand to exec(2) that there's no getting around. This is set by the >system limit ARG_MAX--on Tru64 (4.0f), ARG_MAX is 38912 bytes, which >you can check with 'getconf ARG_MAX'. AFAIK increasing ARG_MAX >requires recompiling the kernel from source--it doesn't seem to be a >tunable paramter. > >38912 does seem small--our Solaris systems have ARG_MAX = 1048320 >bytes, which is overkill, but better than the tiny 38912. Having just read the man page for exec it seems you are right, but still hopefully the rest of my suggestions would be of some use. Thanks for the info Daniel, Adam.