[Python-Dev] stack check on Unix: any suggestions?
Charles G Waldman
cgw@fnal.gov
Thu, 31 Aug 2000 16:45:15 -0500
Skip Montanaro writes:
> 211MB swap
> Mandrake Linux 7.1
>
> It spits out 2400 as the last successful test, even fresh after a reboot
> with no swap space in use and lots of free memory and nothing else running
> besides boot-time daemons.
I get the exact same value. Of course the amount of other stuff
running makes no differemce, you get the core dump because you've hit
the RLIMIT for stack usage, not because you've exhausted memory.
Amount of RAM in the machine, or swap space in use has nothing to do
with it. Do "ulimit -s unlimited" and see what happens...
There can be no universally applicable default value here because
different people will have different rlimits depending on how their
sysadmins chose to set this up.