Ulimit on 5.7 SCO ???? Need a quick answer...
Brian K. White
brian at aljex.com
Wed Jun 2 12:03:55 PDT 2010
On 6/1/2010 9:10 PM, John Esak wrote:
> That was it... Thanks.
>
> John
>
> Still it only puts it at 2^22 or something like that... And that is only
> about 2Gb... So no real help. I'll just use "rcp" if I can figure out how
> to make it work.
>
> I want to copy /hd1 from one box to another. You would think that:
>
> Rcp -r /hd1 host:/hd1
>
> Would work, of course, no joy. It seems like it will be one of those
> "learning" experieinces. :-)
>
> You may ask, why am I "out of retirement mode" and helping to do this..?
> The gentleman will be buying my old system... So it is just a means to an
> end. :-)
>
> I'm not going to fail retirement this time... I've failed it twice
> already... :-)
>
>
>
>
>> -----Original Message-----
>> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
>> Sent: Tuesday, June 01, 2010 8:56 PM
>> To: john at valar.com
>> Cc: filepro-list at lists.celestial.com
>> Subject: Re: Ulimit on 5.7 SCO ???? Need a quick answer...
>>
>> On 6/1/2010 5:44 PM, John Esak wrote:
>>
>>> I can not set the ulimit on a sco 5.7 system higher than
>>>
>> the 2Gb limit....
>> [...]
>>
>>> P.S - Oh yeah, the error if I try to set higher than 2Gb is
>>>
>> something like
>>
>>> "ulimit size exceeds maximum"...
>>>
>> I don't have a SCO box in front of me, but have you tried:
>>
>> ulimit unlimited
>>
>> --
>> Kenneth Brody
>>
>>
I think I'd like to hear a better explanation of what's wrong.
I don't ever remember having a ulimit problem on osr5 and I routinely
copied tens and later hundreds of gigs around.
But there were several forms of 2gig limits, not just the max size of a
single file, but certain command pipes using the default shell would
crap out after 2 gigs of data had passed through. Even on osr6, even
though the kernel and filesystem had limits way higher than 2gigs, pipes
would still die at 2 gigs unless you specifically used one of the
unixware shells and other commands which were included in the system but
not in the default path.
So perhaps an example command you are trying to do, and then maybe I can
spot what might be crapping out.
I almost only ever used rsync in the later years, direct rsync, not
rsync over rsh or ssh, which had no problem, but I know I used other
older mechanisms countless times before that too. Backing up or copying
a whole filesystem is a routine task that I had to do many different
ways and if there was ever a 2gig limit I never hit it except for like I
said, certain odd pipelines with certain old commands, probably just the
shell and tar. I think cpio was ok. I usually used newer 3rd party
binaries anyways like ksh93 (instead of /bin/sh) and star (instead of
tar) and rsync (instead of rcp)
--
bkw
More information about the Filepro-list
mailing list