forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocessor.ini-dist
491 lines (387 loc) · 17.1 KB
/
processor.ini-dist
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
# name: application
# doc: the fully qualified module or class of the application
# converter: configman.converters.class_converter
#application='ProcessorApp'
[destination]
# name: crashstorage_class
# doc: the destination storage class
# converter: configman.converters.class_converter
crashstorage_class='socorro.external.crashstorage_base.PolyCrashStorage'
# name: storage_classes
# doc: a comma delimited list of storage classes
# converter: configman.converters.class_list_converter
storage_classes='socorro.external.filesystem.crashstorage.FileSystemCrashStorage, socorro.external.postgresql.crashstorage.PostgreSQLCrashStorage'
[[storage0]]
# name: crashstorage_class
# doc: None
# converter: configman.converters.class_converter
crashstorage_class='socorro.external.postgresql.crashstorage.PostgreSQLCrashStorage'
# name: database_class
# doc: the class responsible for connecting toPostgres
# converter: configman.converters.class_converter
database_class='socorro.external.postgresql.connection_context.ConnectionContext'
# name: database_host
# doc: the hostname of the database
# converter: str
database_host='localhost'
# name: database_name
# doc: the name of the database
# converter: str
database_name='breakpad'
# name: database_password
# doc: the user's database password
# converter: str
database_password='aPassword'
# name: database_port
# doc: the port for the database
# converter: int
database_port='5432'
# name: database_user
# doc: the name of the user within the database
# converter: str
database_user='breakpad_rw'
# name: transaction_executor_class
# doc: a class that will manage transactions
# converter: configman.converters.class_converter
transaction_executor_class='socorro.database.transaction_executor.TransactionExecutor'
[[storage1]]
# name: crashstorage_class
# doc: None
# converter: configman.converters.class_converter
crashstorage_class='socorro.external.filesystem.crashstorage.FileSystemCrashStorage'
# name: date_name
# doc: the relative path to the top of the date storage tree from root parameter
# converter: str
date_name='date'
# name: def_fs_root
# doc: a path to a local file system
# converter: str
def_fs_root='./deferredCrashStore'
# name: dir_permissions
# doc: a number used for permissions for directories in the local file system
# converter: int
dir_permissions='504'
# name: dump_dir_count
# doc: the number of dumps to be stored in a single directory in the local file system
# converter: int
dump_dir_count='1024'
# name: dump_file_suffix
# doc: the suffix used to identify a dump file
# converter: str
dump_file_suffix='.dump'
# name: dump_gid
# doc: the group ID for saved crashes in local file system (optional)
# converter: str
dump_gid=''
# name: dump_permissions
# doc: a number used for permissions crash dump files in the local file system
# converter: int
dump_permissions='432'
# name: forbidden_keys
# doc: a comma delimited list of keys to not allowed in the processed crash
# converter: socorro.external.filesystem.crashstorage.<lambda>
forbidden_keys='url, email, user_id, exploitability'
# name: gzip_compression_level
# doc: the level of compression to use
# converter: int
gzip_compression_level='9'
# name: index_name
# doc: the relative path to the top of the name storage tree from root parameter
# converter: str
index_name='name'
# name: json_file_suffix
# doc: the suffix used to identify a json file
# converter: str
json_file_suffix='.json'
# name: minutes_per_slot
# doc: the number of minutes in the lowest date directory
# converter: int
minutes_per_slot='1'
# name: pro_fs_root
# doc: a path to a local file system for processed storage
# converter: str
pro_fs_root='./processedCrashStore'
# name: processed_crash_file_suffix
# doc: the processed crash filename suffix
# converter: str
processed_crash_file_suffix='.jsonz'
# name: std_fs_root
# doc: a path to a local file system
# converter: str
std_fs_root='./primaryCrashStore'
# name: storage_depth
# doc: the length of branches in the radix storage tree
# converter: int
storage_depth='2'
# name: sub_slot_count
# doc: distribute data evenly among this many sub timeslots
# converter: int
sub_slot_count='1'
[logging]
# name: stderr_error_logging_level
# doc: logging level for the logging to stderr (10 - DEBUG, 20 - INFO, 30 - WARNING, 40 - ERROR, 50 - CRITICAL)
# converter: int
stderr_error_logging_level='10'
# name: stderr_line_format_string
# doc: python logging system format for logging to stderr
# converter: str
stderr_line_format_string='{asctime} {levelname} - {threadName} - {message}'
# name: syslog_error_logging_level
# doc: logging level for the log file (10 - DEBUG, 20 - INFO, 30 - WARNING, 40 - ERROR, 50 - CRITICAL)
# converter: int
syslog_error_logging_level='40'
# name: syslog_facility_string
# doc: syslog facility string ("user", "local0", etc)
# converter: str
syslog_facility_string='user'
# name: syslog_host
# doc: syslog hostname
# converter: str
syslog_host='localhost'
# name: syslog_line_format_string
# doc: python logging system format for syslog entries
# converter: str
syslog_line_format_string='processor (pid {process}): {asctime} {levelname} - {threadName} - {message}'
# name: syslog_port
# doc: syslog port
# converter: int
syslog_port='514'
[new_crash_source]
# name: batchJobLimit
# doc: the number of jobs to pull in a time
# converter: int
batchJobLimit='10000'
# name: database_class
# doc: the class of the database
# converter: configman.converters.class_converter
database_class='socorro.external.postgresql.connection_context.ConnectionContext'
# name: database_host
# doc: the hostname of the database
# converter: str
database_host='localhost'
# name: database_name
# doc: the name of the database
# converter: str
database_name='breakpad'
# name: database_password
# doc: the user's database password
# converter: str
database_password='aPassword'
# name: database_port
# doc: the port for the database
# converter: int
database_port='5432'
# name: database_user
# doc: the name of the user within the database
# converter: str
database_user='breakpad_rw'
# name: new_crash_source_class
# doc: an iterable that will stream crash_ids needing processing
# converter: configman.converters.class_converter
new_crash_source_class='socorro.processor.legacy_new_crash_source.LegacyNewCrashSource'
# name: transaction_executor_class
# doc: a class that will manage transactions
# converter: configman.converters.class_converter
transaction_executor_class='socorro.database.transaction_executor.TransactionExecutor'
[processor]
# name: collect_addon
# doc: boolean indictating if information about add-ons should be collected
# converter: configman.converters.boolean_converter
collect_addon='True'
# name: collect_crash_process
# doc: boolean indictating if information about process type should be collected
# converter: configman.converters.boolean_converter
collect_crash_process='True'
# name: crashing_thread_frame_threshold
# doc: the number of frames to keep in the raw dump for the crashing thread
# converter: int
crashing_thread_frame_threshold='100'
# name: crashing_thread_tail_frame_threshold
# doc: the number of frames to keep in the raw dump at the tail of the frame list
# converter: int
crashing_thread_tail_frame_threshold='10'
# name: database_class
# doc: the class of the database
# converter: configman.converters.class_converter
database_class='socorro.external.postgresql.connection_context.ConnectionContext'
# name: database_host
# doc: the hostname of the database
# converter: str
database_host='localhost'
# name: database_name
# doc: the name of the database
# converter: str
database_name='breakpad'
# name: database_password
# doc: the user's database password
# converter: str
database_password='aPassword'
# name: database_port
# doc: the port for the database
# converter: int
database_port='5432'
# name: database_user
# doc: the name of the user within the database
# converter: str
database_user='breakpad_rw'
# name: dump_field
# doc: the default name of a dump
# converter: str
dump_field='upload_file_minidump'
# name: exploitability_tool_command_line
# doc: the template for the command to invoke the exploitability tool
# converter: str
exploitability_tool_command_line='$exploitability_tool_pathname $dumpfilePathname 2>/dev/null'
# name: exploitability_tool_pathname
# doc: the full pathname of the extern program exploitability tool (quote path with embedded spaces)
# converter: str
exploitability_tool_pathname='/data/socorro/stackwalk/bin/exploitability'
# name: known_flash_identifiers
# doc: A subset of the known "debug identifiers" for flash versions, associated to the version
# converter: json.loads
# NOTE: commented out to let the default stand without change
#known_flash_identifiers=''
# name: minidump_stackwalk_pathname
# doc: the full pathname of the extern program minidump_stackwalk (quote path with embedded spaces)
# converter: str
minidump_stackwalk_pathname='/data/socorro/stackwalk/bin/minidump_stackwalk'
# name: processor_class
# doc: the class that transforms raw crashes into processed crashes
# converter: configman.converters.class_converter
processor_class='socorro.processor.legacy_processor.LegacyCrashProcessor'
# name: processor_symbols_pathname_list
# doc: comma or space separated list of symbol files for minidump_stackwalk (quote paths with embedded spaces)
# converter: socorro.processor.legacy_processor.create_symbol_path_str
processor_symbols_pathname_list="/mnt/socorro/symbols/symbols_ffx,/mnt/socorro/symbols/symbols_sea,/mnt/socorro/symbols/symbols_tbrd,/mnt/socorro/symbols/symbols_mob,/mnt/socorro/symbols/symbols_penelope,/mnt/socorro/symbols/symbols_sbrd,/mnt/socorro/symbols/symbols_camino,/mnt/socorro/symbols/symbols_os,/mnt/socorro/symbols/symbols_solaris,/mnt/socorro/symbols/symbols_opensuse,/mnt/socorro/symbols/symbols_ubuntu,/mnt/socorro/symbols/symbols_fedora,/mnt/socorro/symbols/symbols_adobe,/mnt/socorro/symbols/symbols_b2g,/mnt/socorro/symbols/symbols_geeksphone,/mnt/socorro/symbols/symbols_zte,/mnt/socorro/symbols/symbols_tclpartner"
# name: stackwalk_command_line
# doc: the template for the command to invoke minidump_stackwalk
# converter: str
stackwalk_command_line='$minidump_stackwalk_pathname -m $dumpfilePathname $processor_symbols_pathname_list 2>/dev/null'
# name: symbol_cache_path
# doc: the path where the symbol cache is found (quote path with embedded spaces)
# converter: str
symbol_cache_path='/mnt/socorro/symbols'
# name: transaction_executor_class
# doc: a class that will manage transactions
# converter: configman.converters.class_converter
transaction_executor_class='socorro.database.transaction_executor.TransactionExecutor'
[[c_signature]]
# name: c_signature_tool_class
# doc: the class that can generate a C signature
# converter: configman.converters.class_converter
c_signature_tool_class='socorro.processor.signature_utilities.CSignatureTool'
# name: irrelevant_signature_re
# doc: a regular expression matching frame signatures that should be ignored when generating an overall signature
# converter: str
# NOTE: commented out to let the default stand without change
#irrelevant_signature_re=''
# name: prefix_signature_re
# doc: a regular expression matching frame signatures that should always be coupled with the following frame signature when generating an overall signature
# converter: str
# NOTE: commented out to let the default stand without change
#prefix_signature_re=''
# name: signature_sentinels
# doc: a list of frame signatures that should always be considered top of the stack if present in the stack
# converter: eval
# NOTE: commented out to let the default stand without change
#signature_sentinels=''
# name: signatures_with_line_numbers_re
# doc: any signatures that match this list should be combined with their associated source code line numbers
# converter: str
signatures_with_line_numbers_re='js_Interpret'
[[java_signature]]
# name: java_signature_tool_class
# doc: the class that can generate a Java signature
# converter: configman.converters.class_converter
java_signature_tool_class='socorro.processor.signature_utilities.JavaSignatureTool'
[producer_consumer]
# name: idle_delay
# doc: the delay in seconds if no job is found
# converter: int
idle_delay='7'
# name: maximum_queue_size
# doc: the maximum size of the internal queue
# converter: int
maximum_queue_size='8'
# name: number_of_threads
# doc: the number of threads
# converter: int
number_of_threads='4'
# name: producer_consumer_class
# doc: the class implements a threaded producer consumer queue
# converter: configman.converters.class_converter
producer_consumer_class='socorro.lib.threaded_task_manager.ThreadedTaskManager'
[registrar]
# name: check_in_frequency
# doc: how often the processor is required to reregister (hh:mm:ss)
# converter: configman.converters.timedelta_converter
check_in_frequency='00:00:01:00'
# name: database_class
# doc: the class of the registrar's database
# converter: configman.converters.class_converter
database_class='socorro.external.postgresql.connection_context.ConnectionContext'
# name: database_host
# doc: the hostname of the database
# converter: str
database_host='localhost'
# name: database_name
# doc: the name of the database
# converter: str
database_name='breakpad'
# name: database_password
# doc: the user's database password
# converter: str
database_password='aPassword'
# name: database_port
# doc: the port for the database
# converter: int
database_port='5432'
# name: database_user
# doc: the name of the user within the database
# converter: str
database_user='breakpad_rw'
# name: processor_id
# doc: the id number for the processor (must already exist) (0 for create new Id, "auto" for autodetection, "host" for same host, "forcehost" for hostile take over)
# converter: str
processor_id='forcehost'
# name: registrar_class
# doc: the class that registers and tracks processors
# converter: configman.converters.class_converter
registrar_class='socorro.processor.registration_client.ProcessorAppRegistrationClient'
# name: transaction_executor_class
# doc: a class that will manage transactions
# converter: configman.converters.class_converter
transaction_executor_class='socorro.database.transaction_executor.TransactionExecutor'
[source]
# name: crashstorage_class
# doc: the source storage class
# converter: configman.converters.class_converter
crashstorage_class='socorro.external.filesystem.crashstorage.FileSystemRawCrashStorage'
# name: dir_permissions
# doc: a number used for permissions for directories in the local file system
# converter: int
dir_permissions='504'
# name: dump_dir_count
# doc: the number of dumps to be stored in a single directory in the local file system
# converter: int
dump_dir_count='1024'
# name: dump_file_suffix
# doc: the suffix used to identify a dump file
# converter: str
dump_file_suffix='.dump'
# name: dump_gid
# doc: the group ID for saved crashes in local file system (optional)
# converter: str
dump_gid=''
# name: dump_permissions
# doc: a number used for permissions crash dump files in the local file system
# converter: int
dump_permissions='432'
# name: json_file_suffix
# doc: the suffix used to identify a json file
# converter: str
json_file_suffix='.json'
# name: std_fs_root
# doc: a path to a local file system
# converter: str
std_fs_root='./primaryCrashStore'