This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
maglev_stone.conf.template
139 lines (125 loc) · 5.7 KB
/
maglev_stone.conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#=========================================================================
# Copyright (C) GemStone Systems, Inc. 1986-2008. All Rights Reserved.
#
# Name - system.conf
#
# Purpose - Default System-wide MagLev Configuration File
#
# Note: Configuration option strings are case-INSENSITIVE.
#
# This file has been shortened. The full version is in $GEMSTONE/data/
#=========================================================================
# DBF_SCRATCH_DIR: A scratch directory that the stone process can use to
# create "scratch" DBFs, used during pageaudit and page repair. The file
# name is appended to the directory name WITHOUT an intervening delimiter,
# so a trailing delimiter is necessary here.
# Default: $GEMSTONE/data/ $MAGLEV_HOME/data/;
DBF_SCRATCH_DIR = <%= scratch_directory %>;
#=========================================================================
# DUMP_OPTIONS: Dump summary of all configuration options applicable to
# the executable reading the config file.
#
# Used by all executables.
# Default: TRUE
# DUMP_OPTIONS = TRUE;
#=========================================================================
# GEM_MAX_SMALLTALK_STACK_DEPTH
# Size of GemStone Smalltalk execution stack space allocated at GciLogin time,
# in units of approximate number of method activations.
# Causes heap memory allocation of approximately 64 bytes per activation.
# Default: 1000 min: 100 max: 1000000
# GEM_MAX_SMALLTALK_STACK_DEPTH = 1000;
#=========================================================================
# GEM_NATIVE_CODE_ENABLED
#
# If true, enables the generation and use of native code.
#
# Runtime equivalent: #GemNativeCodeEnabled can be used
# to disable native code, cannot be used to reenable
# native code once it has been disabled during a session .
#
GEM_NATIVE_CODE_ENABLED = TRUE;
#=========================================================================
# STN_HALT_ON_FATAL_ERR: If TRUE, stone will halt and dump core if it
# receives a notification from a gem that the gem died with a fatal error.
# The value FALSE will cause stone to attempt to keep running if
# a gem encounters a fatal error.
# Runtime equivalent: #StnHaltOnFatalErr
# Default: TRUE
# STN_HALT_ON_FATAL_ERR = TRUE;
# do not checkin, Ruby demo default
STN_HALT_ON_FATAL_ERR = FALSE;
#=========================================================================
# STN_TRAN_FULL_LOGGING
# If TRUE, all transactions are logged, and log files are not deleted
# by the system. A given log file must be archived to tape before that
# position in the circular list of log directories (STN_TRAN_LOG_DIRECTORIES)
# is needed again.
# If FALSE, only transactions smaller than STN_TRAN_LOG_LIMIT are logged;
# larger transactions become checkpoints, and log files are deleted by
# the system when the circular list of log directories wraps around.
#
# Once stone has been started on a repository with
# STN_TRAN_FULL_LOGGING = TRUE, then the TRUE state
# will persist in the repository and subsequent changes to this parameter
# in the config file will be ignored. To change the repository back to
# partial logging you must do a full backup and then restore the backup into
# a copy of $GEMSTONE/bin/extent0.ruby.dbf .
#
# Default: NONE, a value must be provided.
# A value for this option is provided at the end of this file.
#=========================================================================
# STN_TRAN_LOG_DIRECTORIES
# List of directories or raw disk partitions used for transaction
# logging. This list defines the maximum number of log files that will
# be on-line at once.
#
# An individual raw Unix disk partition may only occur once in this list.
# A directory may occur multiple times, if the file system containing the
# directory contains enough space for multiple logs .
#
# This list must contain at least two entries.
#
# On UNIX systems, the null device /dev/null may be specified to prevent
# tranlogs from being written.
#
# EXTREME CARE SHOULD BE TAKEN WHEN OPERATING THE REPOSITORY IN THIS MODE!!
#
# If the system crashes while operating in this mode, all
# transactions after the last completed checkpoint will be
# lost.
#
# Default: NONE
# A value for this option is provided at the end of this file.
#=========================================================================
# STN_TRAN_LOG_SIZES
# Maximum size of log files, must have same number of elements as
# STN_TRAN_LOG_DIRECTORIES.
# Units: Megabytes , Min: 3, Max: 16384 (1 Megabyte = 1048576 bytes) .
# This list must contain at least two entries.
# Default: NONE
# Recommended value >= 100 .
# A value for this option is provided at the end of this file.
#=========================================================================
# End of Default GemStone Configuration Options
#=========================================================================
#=========================================================================
# Following options _must_ be set for proper database operation; no defaults
# are provided.
#=========================================================================
DBF_EXTENT_NAMES = <%= extent_filename %>;
STN_TRAN_FULL_LOGGING = TRUE;
STN_TRAN_LOG_DIRECTORIES = <%= tranlog_directories.join(",") %>;
STN_TRAN_LOG_SIZES = 100, 100;
#=========================================================================
# Options below here have been added, either by the GemStone system
# administrator, or automatically by the database monitor (Stone).
#=========================================================================
#
# Settings for Ruby development
#
GEM_MAX_SMALLTALK_STACK_DEPTH = 15000;
GEM_TEMPOBJ_SCOPES_SIZE = 20000;
GEM_TEMPOBJ_CACHE_SIZE = 200000;
SHR_PAGE_CACHE_SIZE_KB = 200000;
KEYFILE = <%= key_file %>;