Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-26 Thread Vincent Knight
I think I've got it all working now! Thanks so much P! I had got it working but wasn't checking the right thing! Running 'ulimit -a' shows a throttled limit! I REALLY appreciate your patience and help :) Vince On 26 November 2013 09:50, P Purkayastha wrote: > On 11/26/2013 04:59 PM, Vincent K

[sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-26 Thread P Purkayastha
On 11/26/2013 04:59 PM, Vincent Knight wrote: Thanks P, I have that setup as you suggested but I'm not entirely sure the sage users are being limited (I seemed to be able to go over the limit): Running: import os os.system('ulimit') in the notebook returns: unlimited 0 Assuming the username

Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-26 Thread Vincent Knight
I'm pretty sure my bash scripting is now ok (have checked and rechecked): if [ vince != $USER ]; then ulimit -u 100 -t 3600 -v 150 fi The problem seems to be with ulimit itself not working... I'm running this on redhat could that have anything to do with it? Running the following in a no

Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-26 Thread Vincent Knight
Should it be: if [ "vince" != "$USER" ]; then ... ? -- Dr Vincent Knight Cardiff School of Mathematics Senghennydd Road, Cardiff CF24 4AG (+44) 29 2087 5548 www.vincent-knight.com +Vincent Knight @drvinceknight Skype: drvinceknight -- You received this message because you are subscribed to t

Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-26 Thread Vincent Knight
Thanks P, I have that setup as you suggested but I'm not entirely sure the sage users are being limited (I seemed to be able to go over the limit): Running: import os os.system('ulimit') in the notebook returns: unlimited 0 Assuming the username running Sage is 'vince' (it's not but I'm not s

[sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-25 Thread P Purkayastha
On 11/26/2013 02:04 AM, Vincent Knight wrote: Thanks P, That's very useful (it probably explains the problems we were having). Just to clarify (before I restart our server again as I have quite a few active users on right now), would the following in a bash script do the job: ulimit -u 100 -t 3

Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-25 Thread Vincent Knight
(Our server has 4GBs of Ram currently but about to go up to 8GBs) On 25 November 2013 18:04, Vincent Knight wrote: > Thanks P, > > That's very useful (it probably explains the problems we were having). > Just to clarify (before I restart our server again as I have quite a few > active users on

Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-25 Thread Vincent Knight
Thanks P, That's very useful (it probably explains the problems we were having). Just to clarify (before I restart our server again as I have quite a few active users on right now), would the following in a bash script do the job: ulimit -u 100 -t 36000 -v 50 sage notebook(interface='localhos

[sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-25 Thread P Purkayastha
On 11/25/2013 09:36 PM, Vince wrote: Apologies for bringing up an old question (very neat how the google group pointed me to it before I asked my question). We have a sage server that has been hanging a bit recently and I had to restart it for the first time today (completely unresponsive until I

Re: [sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-25 Thread Sergi Blanch-Torné
Would be an issue of memory in the server? Many students with their own access, perhaps you can check the ulimit. I'm not an expert, this is only my guess. Maybe the '-v' can be reviewed. /Sergi. "Yo no pongo mi ignorancia en un altar y le llamo dios." Mijaíl Bakunin On Mon, Nov 25, 2013 at 2:

[sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2013-11-25 Thread Vince
Apologies for bringing up an old question (very neat how the google group pointed me to it before I asked my question). We have a sage server that has been hanging a bit recently and I had to restart it for the first time today (completely unresponsive until I did at which point it was good as

[sage-support] Re: Not rebooting notebook server constantly leaves too many notebooks active?

2011-05-26 Thread Jason Grout
On 5/26/11 12:19 PM, Chris Seberino wrote: Suppose different students sign into the same Sage server at different times. Won't that cause EVERY STUDENT's notebook to be in memory bogging down the server? I've been rebooting but maybe the smartest thing is to either... 1. Make students sign out