Jump to content
  • 0

Server dedicated, with 24 gb ram


Question

Posted

Well I wanted to ask here to advise me the best settings for my server .. since I have seen 2 or 3 guides .. but I was enough .. if anyone can contribute best, would be grateful and to use those 24 gb and serve!

 

Dedicated:

AMD Opteron 3280

24 GB DDR3-RAM

2x 2,000 GB SATA II HDD

Unlimited traffic

 

Gameserver.sh

#!/bin/bash

# exit codes of GameServer:
#  0 normal shutdown
#  2 reboot attempt

while :; do
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xmx8192m -Xms4096m -Xmn2048m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -cp ./../libs/*:l2jserver_server.jar com.l2jserver.gameserver.GameServer > log/stdout.log 2>&1
[ $? -ne 2 ] && break
#	/etc/init.d/mysql restart
sleep 10
done

 

Mysql Config:

#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/serve ... ables.html

# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[client]
port            = 3306
socket          = /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket          = /var/run/mysqld/mysqld.sock
nice            = 0
open-files-limit = 8192

[mysqld]
#
# * Basic Settings
#
user            = mysql
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
port            = 3306
basedir         = /usr
datadir         = /var/lib/mysql
tmpdir          = /tmp
language        = /usr/share/mysql/english
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address            = 0

# 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 = 800

table_cache = 3000
query_cache_size = 0
query_cache_type = 0
tmp_table_size = 64M
max_heap_table_size = 64M
memlock
thread_concurrency = 8
thread_cache_size = 200
log_slow_queries
thread_concurrency = 8
max_allowed_packet = 16M
read_buffer_size = 128K
read_rnd_buffer_size = 10M
join_buffer_size = 10M
sort_buffer_size = 10M
transaction_isolation = READ-COMMITTED

#*** MyISAM Specific options

myisam_max_sort_file_size = 1G
myisam_max_extra_sort_file_size = 1G
myisam_sort_buffer_size = 128M
key_buffer_size = 187M


# #*** INNODB Specific options ***
innodb_additional_mem_pool_size =256M
innodb_buffer_pool_size = 2048M
innodb_data_file_path = ibdata1:10M:autoextend
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size= 16M
innodb_max_dirty_pages_pct = 90
innodb_thread_concurrency = 16
innodb_file_per_table = 1
innodb_open_files = 3000
innodb_flush_method = O_DIRECT

skip-federated

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[mysqlhotcopy]
interactive-timeout

#
# * IMPORTANT: Additional settings that can override those from this file!
#   The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • LOKAGAMERS - BANNER L2ETERNITY - ANIMATED BORDER
    • aha okay. If you dont have anything productive to contribute, then just dont comment, thanks!   I didnt ask for your opinion!
    • If you worry about such a thing then just don't start building one.    
    • Hello friends, I need help compiling the Skill.usk file, is there anyone experienced in this who can help me with this error?
    • Hi Community, I’m looking for an experienced game designer (not a developer) who can help me draft and balance custom professions/archetypes for my future Lineage 2 custom server. Here’s what I’m planning: 🔍 Overview of the project: ✅ I want to rebalance the existing professions (Grand Crusade chronicle) by: Merging similar classes into one Archetype per role (e.g., 1 tank, 1 Bard(BD + SWS), 1 LDD, 1 HDD, 1 Healer, etc.) Selecting skills from multiple existing professions to create these Archetypes Rebalancing skills (adjusting power, level availability, etc.) to fit new gameplay Keeping active gameplay roles in PvP without “mandatory buff windows” 📝 Example: ➡️ Tanks: Currently: Paladin, Dark Avenger, Shillien Knight, Temple Knight My goal: merge some of their skills into 1 unified tank class Possibly unlock some high-level skills (e.g., Hook, mass control) earlier, at level 20+ ➡️ Support: Currently: Blade Dancer + Sword Singer (classes mostly used as buff-windows) My goal: Merge BD + SWS into 1 support Archetype Reduce Dance/Song bonuses (e.g., -70%) Add some debuffs (e.g., Overlord’s debuffs) Make it an active PvP support role rather than a passive buffer (This is just a rough example – I have more details and drafts to share in private.) 🎯 What I need from you: ✅ Help me: Decide which skills to keep, combine, or remove Adjust power coefficients, cooldowns, and effectiveness Determine at which level skills should become available Prepare a documented skill list & balancing plan (usable for future development) ✅ You need to: Know how skill mechanics work in L2 (especially Grand Crusade chronicle) Understand how skills scale by level, their impact in PvP/PvE Be able to balance skills for PvP gameplay (1v1, party, mass) 💰 Important Notes: This is a game design consulting job, not a coding/development task. I’m at the concept & documentation stage, no dev has started yet. I can pay upfront if you have solid recommendations/reputation on this forum. I won’t pay upfront if you’re new or lack recommendations. Yes, I know balance is tricky – that’s why I’m building it from scratch, keeping fewer professions to simplify the process. Yes, I know the idea is unconventional – I welcome critical feedback, but please no empty “it won’t work” comments unless backed with constructive insight. 💬 Let’s discuss details privately or via call (I can explain the full concept). ✅ If you’re interested, please send me your portfolio or examples of similar work. ✅ Open to negotiation on price. Thanks in advance!   CONTACT ME:    Discord: ekv1l   Telegram: @Drunk_Chineese    Or Here on the  Forum  
  • Topics

×
×
  • Create New...