• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux TFS - Lagging Please Help

rigatto

New Member
Joined
Sep 1, 2008
Messages
4
Reaction score
0
Hello...
Well, I have a Linux OTServer, using Debian Lenny (latest version), everything is up to date... and The Forgotten Server 0.3.5PL1... well I'm having a small problem: lag... but I think it's not any attack because I got more then 10 IPTable's rules for Syn flood, ICMP flood, Death Ping, Ping, TCP/UDP packets inspecion, etc... I think it's an wrong configuration, because look at this:
htop.jpg

http://img91.imageshack.us/i/htop.jpg/

Isn't the CPU usage high? ...

There is a global event for saving, 15 - 15 minutes, but I think that's not the problem because it's a fast machine
Phenom Quad-Core 2.6ghz
4096mb System RAM
100MB/s uplink

Here's my config.lua:
-- The Forgotten Server Configuration

-- Account Manager
accountManager = "no"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 32360
newPlayerSpawnPosY = 31782
newPlayerSpawnPosZ = 7
newPlayerTownId = 5
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"

-- Unjustified Kills
redSkullLength = 2 * 24 * 60 * 60
blackSkullLength = 5 * 24 * 60 * 60
dailyFragsToRedSkull = 5
weeklyFragsToRedSkull = 10
monthlyFragsToRedSkull = 30
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = "yes"
advancedFragList = "no"

-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "no"
maxViolationCommentSize = 200
autoBanishUnknownBytes = "no"

-- Battle
worldType = "pvp"
protectionLevel = 20
pvpTileIgnoreLevelAndVocationProtection = "yes"
pzLocked = 60 * 1000
criticalHitChance = 0
criticalHitMultiplier = 1
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "no"
removeWeaponCharges = "yes"
removeRuneCharges = "yes"
whiteSkullTime = 5 * 60 * 1000
noDamageToSameLookfeet = "no"
showHealingDamage = "no"
showHealingDamageForMonsters = "no"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "yes"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 9774
gainExperienceColor = 215
addManaSpentInPvPZone = "yes"
squareColor = 0

-- Experience From Players
experienceFromKilledPlayers = "no"
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

-- Connection Configuration
worldId = 0
ip = "201.82.162.169"
bindOnlyConfiguredIpAddress = "no"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 100
motd = "Welcome!"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Kalmera"
loginMessage = "Welcome!"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
premiumPlayerSkipWaitList = "yes"

-- Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "5hpwb7cn"
sqlDatabase = "theforgottenserver"
sqlFile = "schema.sql"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = "plain"

-- Deathlist
deathListEnabled = "yes"
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 5
maxDeathRecords = 5

-- Guilds
ingameGuildManagement = "no"
levelToFormGuild = 20
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
buyableAndSellableHouses = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
levelToBuyHouse = 20
housesPerAccount = 1
houseRentAsPrice = "no"
housePriceAsRent = "yes"
housePriceEachSquare = 2000
houseRentPeriod = "weekly"
guildHalls = "yes"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = "yes"
hotkeyAimbotEnabled = "yes"
maximumDoorLevel = 500

-- Map
mapName = "Wibera.8.5"
mapAuthor = "Kalmera Staff"
randomizeTiles = "yes"
useHouseDataStorage = "yes"
storeTrash = "no"
cleanProtectedZones = "yes"
mailboxDisabledTowns = "-1"

-- Startup
defaultPriority = "normal"
niceLevel = 0
coresUsed = "-1"
optimizeDatabaseAtStartup = "no"
removePremiumOnInit = "yes"
confirmOutdatedVersion = "no"

-- Muted Buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = "no"

-- Miscellaneous
dataDirectory = "data/"
allowChangeOutfit = "yes"
allowChangeColors = "yes"
allowChangeAddons = "yes"
disableOutfitsForPrivilegedPlayers = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "no"
promptExceptionTracerErrorBox = "yes"
storePlayerDirection = "yes"

-- Ghost Mode
ghostModeInvisibleEffect = "yes"
ghostModeSpellEffects = "yes"

-- Limits
idleWarningTime = 14 * 60 * 1000
idleKickTime = 999 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

-- Premium Related
freePremium = "no"
premiumForPromotion = "no"

-- Blessings
blessingsOnlyPremium = "no"
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

-- Rates
experienceStages = "yes"
rateExperience = 1.0
rateSkill = 25.0
rateMagic = 8.0
rateLoot = 3.0
rateSpawn = 1

-- Stamina
rateStaminaLoss = 1
rateStaminaGain = 1000 / 3
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = "yes"

-- Party
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 20
experienceShareActivity = 2 * 60 * 1000

-- Global Save
globalSaveEnabled = "yes"
globalSaveHour = 6
shutdownAtGlobalSave = "yes"
cleanMapAtGlobalSave = "no"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"

-- Status
ownerName = "Kalmera Staff"
ownerEmail = "[email protected]"
url = "www.kalmera.com.br"
location = "Brazil/USA"
displayGamemastersWithOnlineCommand = "no"

-- Logs
adminLogsEnabled = "no"
displayPlayersLogging = "no"
prefixChannelLogs = ""
runFile = ""
outLogName = "data/logs/server/out.log"
errorLogName = "data/logs/server/error.log"
truncateLogsOnStartup = "no"

Please help me!!!
Thanks.
 
Last edited:
Back
Top