Subject: Re: history limit in pdksh
To: Greywolf <greywolf@starwolf.com>
From: Denis Lagno <dlagno@mail.ru>
List: tech-userlevel
Date: 02/18/2005 10:38:14
On Thu, Feb 17, 2005 at 04:58:41PM -0800, Greywolf scribed:
> [Thus spake Denis Lagno ("DL: ") 10:52pm...]
>
> DL: Hi,
> DL:
> DL: I get a feeling that pdksh has a limit on the size of history
> DL: file 700kb. However quick grepping does not reveal any
> DL: hard coded magic numbers. Does anybody know if such
> DL: a limit exists?
>
> have you used ulimit -a to see the extents of your resource limits?
> My bets are the answer is there.
$ ulimit -a
time(cpu-seconds) unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 2048
lockedmem(kbytes) 79264
memory(kbytes) 237792
nofiles(descriptors) 64
processes 1000
sbsize(bytes) unlimited
What values do you think I should rise? Don't know, 700kb seems
to be very innocuous value to break into any of the limits above..