daemonize no port <%= port %> logfile <%= log_file %> dir <%= working_directory %> vm-swap-file <%= vm_swap_file %> vm-max-memory <%= vm_max_memory %> vm-pages <%= vm_pages %> vm-page-size <%= vm_page_size %> dbfilename <%= db_file_name %> appendfilename <%= aof_file_name %> # slaveof <% if password %> requirepass <%= password %> <% end %> timeout 300 loglevel notice databases 2048 save 900 1 save 300 10 save 60 10000 rdbcompression yes # maxclients 128 # maxmemory appendonly no # The name of the append only file (default: "appendonly.aof") # appendfsync always appendfsync everysec # appendfsync no vm-enabled yes vm-max-threads 4 glueoutputbuf yes hash-max-zipmap-entries 64 hash-max-zipmap-value 512 activerehashing yes include <%= common_config_path %>