[sage-support] Re: lost connection to maxima

2009-01-19 Thread mabshoff
On Jan 19, 10:07 am, "ma...@mendelu.cz" wrote: > On 14 Led, 08:50, mabshoff Hi Robert, > To finish this thread: I had another lecture in computer lab today. We > had 2GB RAM, very  very big swap and 15 rather slow students with > allmost no experiences with computer algebra systems ( = short

[sage-support] Re: lost connection to maxima

2009-01-19 Thread ma...@mendelu.cz
On 14 Led, 08:50, mabshoff wrote: > > Your server calls Maxima and without taking a closer look it is > unclear to me if you start a Maxima process per user or not. Overall > Maxima is lighter than Sage primarily because it is all common lisp > and does not use any external libraries per defaul

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
> > In the text "The calculators are divided into several groups, the > desription is available", the word "description" is missing the "c". > Fixed, thanks. Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscr

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 11:28 pm, "ma...@mendelu.cz" wrote: Hi Robert, > Thank you for all your answers. I will upgrade my hardware > > > 512MB is very very piddly for a server. > > Yes. I thought that this could be enough, because another my server, > Mathematical Assistant on Web > (http://user.mendelu

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
ma...@mendelu.cz wrote: > Thank you for all your answers. I will upgrade my hardware > > >> 512MB is very very piddly for a server. >> > > Yes. I thought that this could be enough, because another my server, > Mathematical Assistant on Web ( > http://user.mendelu.cz/marik/maw/index.php?lang=en

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Thank you for all your answers. I will upgrade my hardware > 512MB is very very piddly for a server. > Yes. I thought that this could be enough, because another my server, Mathematical Assistant on Web ( http://user.mendelu.cz/marik/maw/index.php?lang=en&form=derivace ) runs pretty well with m

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 6:04 PM, mabshoff wrote: > On Jan 13, 5:50 pm, Jason Grout wrote: >> Jason Grout wrote: > > > >>> I noticed that for my Sage server, each open worksheet took about >>> 140MB >>> of RAM. When I ran out of memory, the server froze and lots of >>> errors >>> happened. To

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 5:50 pm, Jason Grout wrote: > Jason Grout wrote: > > I noticed that for my Sage server, each open worksheet took about 140MB > > of RAM.  When I ran out of memory, the server froze and lots of errors > > happened.  To me, it sounds like you probably ran out of memory if you > > ha

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 5:00 pm, "William Stein" wrote: > > Either way, the result of get_memory_usage() should be consistent > > across platforms and not return a string in some cases and something > > else on Linux. It should be a float of the memory used in MB. > > +1  Create a trac ticket.  This will

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
Jason Grout wrote: > ma...@mendelu.cz wrote: >> >> On 13 Led, 17:47, "William Stein" wrote: >>> On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: >>> Dear all, I had a lecture in computer lab. There were about 15 students on one sage server. After about 20 minutes we got m

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
> sage: get_memory_usage() > '81M' > > While there should be a difference between 32 and 64 bit, i.e 64 bit > code is larger and consumes more memory, the result from Linux is not > even close to the truth, i.e. I don't think 32 bit Solaris is roughly > a magnitude more efficient than 64 bit Linux

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 3:50 pm, "William Stein" wrote: > On Tue, Jan 13, 2009 at 3:42 PM, mabshoff > > In general we are using crappy interfaces to measure memory > > consumption from Sage, i.e. get_memory_usage(). We are even parsing > > the output from "top" on non-Linux platforms! > > Sage uses /proc

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 3:42 PM, mabshoff wrote: > > > > On Jan 13, 3:05 pm, Jason Grout wrote: >> mabshoff wrote: > > > >> > This is not how this works, i.e. a lot of the memory Sage uses is >> > shared mappings between libraries, so the first notebook process is >> > much, much more expensive

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 3:05 pm, Jason Grout wrote: > mabshoff wrote: > > This is not how this works, i.e. a lot of the memory Sage uses is > > shared mappings between libraries, so the first notebook process is > > much, much more expensive than subsequent ones. top and the default > > interface it uses

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 11:39 AM, ma...@mendelu.cz wrote: > > Many thanks, memory seems to be a big problem on my server (I did > tests you suggested on my laptop and each worksheet is consumig a lot > of memory). I have seen that sagenb.org has 2GB memory - like my PC. > How many users wirk simu

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
mabshoff wrote: > > > On Jan 13, 10:52 am, Jason Grout wrote: >> ma...@mendelu.cz wrote: > > > >> I noticed that for my Sage server, each open worksheet took about 140MB >> of RAM. When I ran out of memory, the server froze and lots of errors >> happened. To me, it sounds like you probably

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 10:52 am, Jason Grout wrote: > ma...@mendelu.cz wrote: > I noticed that for my Sage server, each open worksheet took about 140MB > of RAM.  When I ran out of memory, the server froze and lots of errors > happened.  To me, it sounds like you probably ran out of memory if you > had

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 11:39 AM, ma...@mendelu.cz wrote: > Many thanks, memory seems to be a big problem on my server (I did > tests you suggested on my laptop and each worksheet is consumig a lot > of memory). I have seen that sagenb.org has 2GB memory - like my PC. > How many users wirk simultaneo

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Many thanks, memory seems to be a big problem on my server (I did tests you suggested on my laptop and each worksheet is consumig a lot of memory). I have seen that sagenb.org has 2GB memory - like my PC. How many users wirk simultaneously on sagenb.org? * I think that I can set up my personal co

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
ma...@mendelu.cz wrote: > > > On 13 Led, 17:47, "William Stein" wrote: >> On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: >> >>> Dear all, >>> I had a lecture in computer lab. There were about 15 students on one >>> sage server. After about 20 minutes we got messages, that Sage lost

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
On 13 Led, 17:47, "William Stein" wrote: > On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: > > > Dear all, > > > I had a lecture in computer lab. There were about 15 students on one > > sage server.  After about 20 minutes we got messages, that Sage lost > > connection to Maxima. I di

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: > > Dear all, > > I had a lecture in computer lab. There were about 15 students on one > sage server. After about 20 minutes we got messages, that Sage lost > connection to Maxima. I did not know how to establish the connection > again and