summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoryellow <yellow@10gen.com>2008-02-17 16:27:57 +0000
committeryellow <yellow@10gen.com>2008-02-17 16:27:57 +0000
commit175cfcc70b03ab99411cfae9d8bffc3b7740bebf (patch)
treecc503aba769142ba7050f2ec4b80f9cf5145c00e /bin
parent9eb797ca4dba77225ce700d25007b39e37663e10 (diff)
downloadmongo-175cfcc70b03ab99411cfae9d8bffc3b7740bebf.tar.gz
more files
Diffstat (limited to 'bin')
-rw-r--r--bin/run.tcsh15
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/run.tcsh b/bin/run.tcsh
index 95b79bb81f2..7f0bd6c5973 100644
--- a/bin/run.tcsh
+++ b/bin/run.tcsh
@@ -1,12 +1,15 @@
+limit coredumpsize 1000000
+
while ( 1 == 1 )
+
+ if ( -f log/run.log6 ) mv log/run.log6 log/run.log.7
+ if ( -f log/run.log5 ) mv log/run.log5 log/run.log.6
+ if ( -f log/run.log4 ) mv log/run.log4 log/run.log.5
+ if ( -f log/run.log3 ) mv log/run.log3 log/run.log.4
+ if ( -f log/run.log2 ) mv log/run.log2 log/run.log.3
+ if ( -f log/run.log1 ) mv log/run.log1 log/run.log.2
if ( -f log/run.log ) mv log/run.log log/run.log.1
- if ( -f log/run.log1 ) mv log/run.log log/run.log.2
- if ( -f log/run.log2 ) mv log/run.log log/run.log.3
- if ( -f log/run.log3 ) mv log/run.log log/run.log.4
- if ( -f log/run.log4 ) mv log/run.log log/run.log.5
- if ( -f log/run.log5 ) mv log/run.log log/run.log.6
- if ( -f log/run.log6 ) mv log/run.log log/run.log.7
./db/db run >& log/run.log
sleep 2