Lower memory requirements to prevent crashes
This commit is contained in:
parent
9cf4e945d1
commit
41a8cea873
|
@ -31,7 +31,7 @@ services:
|
||||||
- tmp
|
- tmp
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: manticoresearch/manticore:dev
|
image: manticoresearch/manticore:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9308
|
- 9308
|
||||||
|
|
|
@ -102,7 +102,7 @@ searchd {
|
||||||
# max_filter_values = 4096
|
# max_filter_values = 4096
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#max_open_files
|
# https://manual.manticoresearch.com/Server_settings/Searchd#max_open_files
|
||||||
max_open_files = max
|
# max_open_files = max
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#max_packet_size
|
# https://manual.manticoresearch.com/Server_settings/Searchd#max_packet_size
|
||||||
max_packet_size = 128M
|
max_packet_size = 128M
|
||||||
|
@ -141,10 +141,10 @@ searchd {
|
||||||
# preopen_indexes = 1
|
# preopen_indexes = 1
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#qcache_max_bytes
|
# https://manual.manticoresearch.com/Server_settings/Searchd#qcache_max_bytes
|
||||||
qcache_max_bytes = 2048Mb
|
qcache_max_bytes = 128Mb
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#qcache_thresh_msec
|
# https://manual.manticoresearch.com/Server_settings/Searchd#qcache_thresh_msec
|
||||||
qcache_thresh_msec = 100
|
qcache_thresh_msec = 150
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#qcache_ttl_sec
|
# https://manual.manticoresearch.com/Server_settings/Searchd#qcache_ttl_sec
|
||||||
qcache_ttl_sec = 120
|
qcache_ttl_sec = 120
|
||||||
|
|
|
@ -153,10 +153,10 @@ searchd {
|
||||||
query_log_format = sphinxql
|
query_log_format = sphinxql
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#query_log_min_msec
|
# https://manual.manticoresearch.com/Server_settings/Searchd#query_log_min_msec
|
||||||
# query_log_min_msec = 0
|
query_log_min_msec = 0
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#query_log
|
# https://manual.manticoresearch.com/Server_settings/Searchd#query_log
|
||||||
# query_log = /var/log/manticore/query.log
|
query_log = /var/log/manticore/query.log
|
||||||
|
|
||||||
# https://manual.manticoresearch.com/Server_settings/Searchd#query_log_mode
|
# https://manual.manticoresearch.com/Server_settings/Searchd#query_log_mode
|
||||||
# query_log_mode = 600
|
# query_log_mode = 600
|
||||||
|
|
Loading…
Reference in New Issue