checking a thread has started

Deepak Sarda deepak.sarda at gmail.com
Mon Nov 8 02:12:20 EST 2004


On 7 Nov 2004 23:17:50 -0700, Michael Fuhr <mfuhr at fuhr.org> wrote:
> What do you get when you run the following script from the shell
> and then as a CGI program?
> 
> #!/bin/sh
> echo "Content-Type: text/plain"
> echo ""
> ulimit -a

This is the output as a cgi program:

core file size            (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size                    (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size            (512 bytes, -p) 8
stack size            (kbytes, -s) 262144
cpu time             (seconds, -t) unlimited
max user processes            (-u) 7168
virtual memory        (kbytes, -v) unlimited


The only difference is that when run from the shell, the stack size is
also unlimited

Deepak

-- 

Online: http://www.antrix.net/journal/



More information about the Python-list mailing list