1; General purpose server parameters
2[server]
3
4; maximum number of simultaneous connections
5; Default: 500
6max_connections=500
7
8; maximum number of processing threads
9; Default: 50
10max_threads=30
11
12; initial number of threads created for incoming requests
13; Default: 10
14init_threads=10
15
16; TCP/IP port number server responds on
17; Recommended ports range: 9800 - 9809
18; Default: none
19port=9808
20
21; Network inactivity timeout in seconds
22; Default: 10
23network_timeout=1000
24
25; Server side logging
26; Default: true
27log=true
28
29; Default: false
30; Switching to true will have effect only if log == true
31log_timing=true
32
33; A list of client names which can execute commands requiring administrative
34; privileges. The separators for the client names are: ';', ',', space.
35; Default: empty list which means that nobody will be able to execute
36;          administrative commands.
37admin_client_name=a,GRIDDashboard
38
39[netstorage_api]
40; Choice of available storage backends.
41backend_storage=netcache
42netcache=netcache_api
43filetrack=filetrack
44
45[filetrack]
46; FileTrack site to use.
47; Available values: "prod" (submit.ncbi), "qa" (qsubmit.ncbi),
48; and "dev" (dsubmit.ncbi). Default value: "prod"
49site=dev
50; FileTrack API key. Required to upload data to FileTrack.
51api_key=bqyMqDEHsQ3foORxBO87FMNhXjv9LxuzF9Rbs4HLuiaf2pHOku7D9jDRxxyiCtp2
52
53[netcache_api]
54; NetCache service to use by default (that is, if NetCache
55; service name is omitted by the user).
56service_name=NC_Test
57; ICache name to use by default.
58cache_name=user_data
59
60[Log]
61; File name where the server stores the log messages.
62;file=netstoraged.log
63
64
65[Diag]
66; do not strip any request-start messages
67AppLog_Rate_Limit=4294967295
68
69
70[database]
71; Server name where attributes DB is stored
72; Default: empty string, i.e. no attributes stored
73service=NETSTORAGE_DEV
74; User name to get access to the attributes DB
75; Default: empty string
76user_name=netstorage_write
77; Password to get access to the attributes DB
78; Default: empty string
79password=allowed_write
80; Database name for the user attributes
81; Default: empty string
82database=NETSTORAGE_DEV
83
84[NETSTORAGE_TEST.dbservice]
85use_conn_pool=false
86
87[metadata_conf]
88services=S
89ttl=30d
90prolong_on_read=1d
91prolong_on_write=1d
92
93[service_S]
94metadata=true
95ttl=30d
96prolong_on_read=1d
97prolong_on_write=1d
98
99