On Dec 20, 2007, at 6:47 AM, Charles Oliver Nutter wrote:

I think we need to accept that Bamboo (or Bamboo on jruby.thresher.com) is not serving us well as a CI server. Currently, the normal JRuby Ant test-all run fails to complete due to the dreaded "not enough space" error that seems to be Solaris- specific. I added some complexity to this run to support testing full forced

Perhaps up'ing the process' shared mem privilege might help Ant complete. Check the current limits of the user. Assuming user foo ...

  $ id -p foo

... will display foo's project. If the user hasn't been already tweaked, the project name is probably "default". Assuming that, you can check current shared memory limit ...

  $ prctl -n project.max-shm-memory -i project default

... on my system, the default project's max was 228MB.

If the limit looks small, create a project for the user ...

$ projadd -U foo -K "project.max-shm-memory=(priv,4096MB,deny)" user.foo

... this example sets the limit at 4GB, another value may be better for you. Check it using:

  $ prctl -n project.max-shm-memory -i project user.foo

... and you should see the new value. Log back in as the build user and...

  $ id -p

... should show foo's project as 'user.foo'.

--clc




---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to