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 <ppu...@gmail.com> wrote:

> 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 running Sage is 'vince' (it's not but I'm not sure
>> what info is safe to put out there) I have typed (just copying what you
>> had, at the top of the sage file just after comments about the license):
>>
>> if [ "${vince/sage}" != "$vince" ]; then
>>      # put a limit per user of 1.5G; you can change the other limits too.
>>      # 3D plots might need more than 1G iirc, otherwise for light
>>      # computation 1-1.2G should be ok.
>>      ulimit -u 100 -t 3600 -v 1500000
>> fi
>>
>
> Oh no! $USER is an environment variable. When you use server_pool, your
> ssh command is logging in as sage_ where _ is a number between 0 and 99.
> Depending on the number being used, USER will automatically take that
> value. Use the "if" line exactly as I have written and it will work fine.
> :-)
>
> basu.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
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 the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to