So I've been noticing "lag" and holdups coming from my SQL database. The database is hosted on the local machine and connecting via localhost and a custom user (not root).
What ends up happening eventually is the server is unable to pull information from the SQL server in a decent amount of time and times out. Safes unlock slow, character information retrieval is very slow and often times unsuccessful.
The SQL server is set up as a service that starts with the computer, and continues to run. Epoch Server, and BEC are both run as services through the machine as well, BEC and Epoch tasks are both killed and restarted every 3 hours.
I've been trying to find "Good" settings for the my.ini, but it is not a well documented part of Epoch. I have attached my.ini and basic.cfg below.
[client] port=XXXX [mysql] default-character-set=UTF8 [mysqld] event_scheduler=on # The TCP/IP Port the MySQL Server will listen on port=XXXX #Path to installation directory. All paths are usually resolved relative to this. basedir="C:/Program Files/MySQL/MySQL Server 5.5/" #Path to the database root datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/" # The default character set that will be used when a new schema or table is # created and no character set is defined character-set-server=UTF8 # The default storage engine that will be used when create new tables when default-storage-engine=INNODB # Set the SQL mode to strict sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" max_connections=100 query_cache_size=0 # section [mysqld_safe] table_cache=256 tmp_table_size=35M thread_cache_size=8 #*** MyISAM Specific options myisam_max_sort_file_size=100G myisam_sort_buffer_size=128M key_buffer_size=64M read_buffer_size=64K read_rnd_buffer_size=256K sort_buffer_size=256K max_allowed_packet = 4M net_buffer_length = 8K #*** INNODB Specific options *** innodb_additional_mem_pool_size=32M innodb_flush_log_at_trx_commit=1 innodb_log_buffer_size=10M innodb_buffer_pool_size=2048M innodb_log_file_size = 512M innodb_thread_concurrency=18 innodb_fast_shutdown = 1 innodb_lock_wait_timeout = 50
MinBandwidth=1030798; MaxBandwidth=1073741824; MaxMsgSend=192; MaxSizeGuaranteed=512; MaxSizeNonguaranteed=156; MinErrorToSendNear=0.04999999; MinErrorToSend=0.0039999988; MaxCustomFileSize=0; Windowed=0; adapter=-1; 3D_Performance=1; Resolution_W=800; Resolution_H=600; Resolution_Bpp=32; serverLongitude=-79; serverLatitude=43; serverLongitudeAuto=-79; serverLatitudeAuto=43;