approvedYou could approve this one in the meantime : http://www.dolserver.net/articles/?article=47
Hum i see catches missing ...it was an attempt to make you update your guide
#/bin/bash
cd `dirname $0`
mono-sgen --aot -O=all ./MySql.Data.dll
mono-sgen --aot -O=all ./lib/ICSharpCode.SharpZipLib.dll
mono-sgen --aot -O=all ./lib/MySql.Data.dll
mono-sgen --aot -O=all ./lib/DOLDatabase.dll
mono-sgen --aot -O=all ./lib/DOLBase.dll
mono-sgen --aot -O=all ./lib/GameServerScripts.dll
mono-sgen --aot -O=all ./lib/GameServer.dll
[mysqld]
thread_handling=pool-of-threads
thread_pool_size=2
thread_pool_max_threads=20
wait_timeout=604800
max_connections=15
query_cache_limit = 16M
query_cache_size = 256M
# Turn on disk-ordered reads
optimizer_switch='mrr=on'
optimizer_switch='mrr_sort_keys=on'
optimizer_switch='mrr_cost_based=off'
optimizer_switch='index_merge_sort_intersection=on'
# Size limit for the whole join
join_buffer_space_limit = 128M
# Limit for each individual table
join_buffer_size = 64M
# Turn on both Hash Join and Batched Key Access
# should be 8 here for mariadb > 5.5.34
join_cache_level = 2
lower_case_table_names=1
performance_schema
character-set-server = utf8
user = mysql
port = 3308
socket = /var/run/mysqld/mysqld3.sock
pid-file = /var/run/mysqld/mysqld3.pid
log-error = /var/log/mysql/mysqld3.err
basedir = /usr
datadir = /var/lib/mysql3
key_buffer = 8M
max_allowed_packet = 1M
table_cache = 128
sort_buffer_size = 4M
net_buffer_length = 32K
read_buffer_size = 2M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 16M
thread_stack = 192K
innodb_buffer_pool_size = 512M
innodb_use_sys_malloc = 1
innodb_buffer_pool_instances = 2
# this is the default, increase it if you have lots of tables
innodb_additional_mem_pool_size = 16M
# the max is there to avoid run-away growth on your machine
innodb_data_file_path = ibdata1:10M:autoextend:max:8G
# we keep this at around 25% of of innodb_buffer_pool_size
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
innodb_log_file_size = 256M
# this is the default, increase it if you have very large transactions going on
innodb_log_buffer_size = 16M
# this is the default and won't hurt you
# you shouldn't need to tweak it
# see the innodb config docs, the other options are not always safe
innodb_flush_log_at_trx_commit = 0
innodb_lock_wait_timeout = 50
innodb_flush_method=O_DIRECT
innodb_buffer_pool_size=3G
Return to “%s” DOL Development Discussion
Users browsing this forum: No registered users and 1 guest