Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Re: [SM-Sorcery] Sorcery API

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Hamish Greig <hgreig AT bigpond.net.au>
  • To: Geoffrey Derber <Geoffrey.Derber AT Trinity.edu>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] Re: [SM-Sorcery] Sorcery API
  • Date: Mon, 30 Jun 2003 17:32:50 +1000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 29 Jun 2003 07:36, Geoffrey Derber wrote:
> Hamish Greig wrote:
> > TMPFS needs to be turned off (from the spell IMHO) for j2sdk or
> > openoffice and others in the future ?
>
> Shouldn't be nesissary, look at the
>
> mk_source_dir line for OO (j2sdk is similar)
>
> 'mk_source_dir $SOURCE_DIRECTORY 4g &&'
>
> from http://bugs.sourcemage.org/show_bug.cgi?id=1517#c79 by Eric Sandall
>
> This will create the normal source directory under /usr/src, but will
> have TMPFS set to use 4Gb.
>
> Here's the info from /var/lib/sorcery/modules/libgrimoire:334
>
> #---------------------------------------------------------------------
> ##=item mk_source_dir <directory name> [<size>]
> ##
> ## Creates a tmpfs filesystem. By default, the size is 1GB.
> ## The caller may optionally supply a size argument.
> ##
> ## Example1: Create a 2GB mount at $SOURCE_DIRECTORY
> ##
> ## mk_source_dir $SOURCE_DIRECTORY 2g
> ##
> ## Example2: Create a mount at /tmp/newdir, defaults to 1GB size
> ##
> ## mk_source_dir /tmp/newdir
> ##
> #---------------------------------------------------------------------
>
> Geoff
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
In a quick discussion yesterday ( i think Geoffrey might have been there?) i
discovered that this only works if you have 4GB swap/RAM combined available.
It will infact try to make a 4GB TMPFS part but if you only have 1.5GB
swap+RAM it will fill it up , the kernel will start killing of processes and
then the cast will fail... this is not a long term solution.
Hamish
- --
Do You SMuGL!?
# Linux so advanced it may as well be magic!
# http://www.sourcemage.org/
# A onestop guide to Defenestration!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+/+ei8fSufZR6424RAkt7AJ9UemdhKawyTMonfHEAS1o4amuXfwCggcuG
dSY/TPGjURHkfCYhoJuHP7Q=
=OvV2
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page