On 8/1/11 10:21 AM, Ondřej Čertík wrote:
On Sun, Jul 31, 2011 at 12:37 AM, Jason Grout
<jason-s...@creativetrax.com>  wrote:
On 7/29/11 5:11 PM, Jason Grout wrote:

Hi everyone,

I'd like to announce a trial beta run of a public single cell server:

http://sagemath.org:5467/

The idea is that this is a single cell that can very easily be embedded
in any webpage. This is the start of a comprehensive Sage web service as
well, and lays a piece of the ground work for a much more scalable model
for doing computations in the normal notebook.

It's ready to be hammered by the larger community at this point. I will
be mentioning this next week at Mathfest, so please try to break it :).


I posted a log of all commands that have been run on the singlecell server.

http://sage.math.washington.edu/home/jason/commands.html

Of particular note are the commands around 2011-07-31 03:03:07.436000
(search for that string), where someone is apparently testing the security
of the setup.  Whoever did it, how did the security and infinite loop tests
go?

I would be interested in that too. How do you handle such infinite
loops on the server? Do you have some limit on the CPU time allowed
per evaluation?

We setrlimit a CPU time limit (currently 100 seconds) for the process before we execute the user code. We also set a memory limit of 2500M. These are passed in the configuration for launching user code, and the setrlimit happens here: https://github.com/jasongrout/simple-python-db-compute/blob/master/device_process.py#L518


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

Reply via email to