On Wed, Mar 10, 2010 at 10:27 PM, Jason Grout
<jason-s...@creativetrax.com> wrote:
> When I start up my class Sage server notebook, I pass the ulimit option to
> the notebook command with the following option:
>
> ulimit='-u 100 -t 3600 -v 500000'
>
> According to the notebook? docs, this should limit a worksheet process to
> using 3600 seconds of *wall* time and 500MB of virtual memory. However, it
> seems that several times I've come in and a single maxima process is taking
> several gigs of memory, loading the system well-beyond normal capacity, and
> taking about 70-80% of the CPU, with the time measured in hundreds of
> minutes.  Is there something wrong with my ulimit statement above?

I think there may simply be a bug in the ulimit part of the notebook.
  For sagenb.org I put the following in the actual "sage" startup
script:

if [ `whoami` = "sagenbws" ]; then
    echo "User sagenbws"
    ulimit -v 3000000 -u 1000 -n 128
    export DOT_SAGE="/tmp/sagenbws/"
fi


> I am using the server_pool option, so I believe the ulimit conditions above
> should take effect.
>
> Thanks,
>
> Jason
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to