Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
dfa91953
Commit
dfa91953
authored
Aug 26, 2003
by
Mike Hibler
Browse files
Use less memory for frisbee, still running out once in a while
parent
2d07e371
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/rc.frisbee
View file @
dfa91953
...
...
@@ -67,8 +67,8 @@ fi
# in frisbee
#
HOSTMEM
=
`
dmesg |
grep
'avail memory'
|
sed
-e
's/.* (\([0-9]*\)K bytes.*/\1/'
`
if
[
$HOSTMEM
-ge
18432
]
;
then
HOSTMEM
=
`
expr
$HOSTMEM
-
16384
`
if
[
$HOSTMEM
-ge
26624
]
;
then
HOSTMEM
=
`
expr
$HOSTMEM
-
24576
`
ulimit
-v
$HOSTMEM
HOSTMEM
=
`
expr
$HOSTMEM
/ 1024
`
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment