[SCM] build.samba.org - branch master updated

Jelmer Vernooij jelmer at samba.org
Wed Nov 24 04:31:24 MST 2010


The branch, master has been updated
       via  0b542dc Move resource limiting to import-and-analyse script itself.
      from  38eeb91 Add debuging symbols to the build so that we have meaningfull backtraces

http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0b542dca50c987631b870cce927b7dc92d835842
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Nov 24 12:28:12 2010 +0100

    Move resource limiting to import-and-analyse script itself.

-----------------------------------------------------------------------

Summary of changes:
 import-and-analyse.py |    4 ++++
 revs.sh               |    8 --------
 2 files changed, 4 insertions(+), 8 deletions(-)
 delete mode 100755 revs.sh


Changeset truncated at 500 lines:

diff --git a/import-and-analyse.py b/import-and-analyse.py
index 758707a..39ab3a8 100755
--- a/import-and-analyse.py
+++ b/import-and-analyse.py
@@ -19,6 +19,7 @@ from buildfarm.web import build_uri
 from email.mime.text import MIMEText
 import logging
 import optparse
+import resource
 import smtplib
 
 parser = optparse.OptionParser("import-and-analyse [options]")
@@ -27,6 +28,9 @@ parser.add_option("--verbose", help="Be verbose", action="count")
 
 (opts, args) = parser.parse_args()
 
+resource.setrlimit(resource.RLIMIT_RSS, (300000, 300000))
+resource.setrlimit(resource.RLIMIT_DATA, (300000, 300000))
+
 buildfarm = StormCachingBuildFarm(timeout=40.0)
 
 smtp = smtplib.SMTP()
diff --git a/revs.sh b/revs.sh
deleted file mode 100755
index e8733d9..0000000
--- a/revs.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-export PATH=$PATH:/usr/local/bin
-
-ulimit -v 300000
-ulimit -m 300000
-
-./import-and-analyse.py


-- 
build.samba.org


More information about the samba-cvs mailing list