Hi Scott,

Nice work! In the mean time, we need to add the code:

XMEM=0
while read TYPE VALUE UNITS; do
  case ${TYPE} in
    MemFree:|SwapFree:)
        XMEM=$((${XMEM} + ${VALUE}))
        ;;
  esac
done < /proc/meminfo
XMEM=$((${XMEM} * ${XRAMPERC:-90} / 100))

echo "**** X server limited to ${XMEM} kB RAM ****"
ulimit -v ${XMEM}

in ..lib/ltsp/screen.d/startx ourselves (for Francis :-)

Talking about screen.d scripts... in the mean time, would it be possible
for Gutsy to contain some more interesting things? Like ssh or startnx
scripts. I can provide them if anyone is interested...

Ondrej

Scott Balneaves wrote:
> Ondrej Valousek wrote:
>
>   
>> I do not understand why is this code not available in ltsp-5. It was
>> very useful thing!
>>     
>
> Because we forgot, or no one had time, to add it in.
>
>   
>> Increasing the swap is not a solution - bring the code I mentioned back!
>>     
>
> https://code.launchpad.net/~sbalneav/ltsp/scotts-gutsy
>
>   450         collapse expand          Added ram limiting from old 4.2, fixed 
> typo     Scott 
> Balneaves      2007-09-01, 17:27   (4 days ago)
>
> It was already done 4 days ago.  It will be in gutsy.
>
> Scott
>
>   


The information contained in this e-mail and in any attachments is confidential 
and is designated solely for the attention of the intended recipient(s). If you 
are not an intended recipient, you must not use, disclose, copy, distribute or 
retain this e-mail or any part thereof. If you have received this e-mail in 
error, please notify the sender by return e-mail and delete all copies of this 
e-mail from your computer system(s).
Please direct any additional queries to: [EMAIL PROTECTED]
Thank You.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to