Jump to content
  • 0

scoria pack - gameserver freezes


Question

Posted

My problem is that I launch login server, game server and after like 2-3 hours gameserver freezes, shows as online but doesn't let to connect, needs restarting. It happens even when I test it, like i am the only one connected. Telnet still works, navicat can connect to mysql fine. Do you know what could the problem be? I found one similar problem on google and the problem was with my.cnf not sure though. I use centOS 6.4 mysql 5.5.

 

My.cnf:

 

##  _______________________________________________________________________ 
## / Rackspace MySQL 5.5 Terse Configuration File                          \
## |                                                                       |
## | This is a base configuration file containing the most frequently used |
## | settings with reasonably defined default values for configuring and   |
## | tuning MySQL. Note that these settings can likely be further tuned in |
## | order to get optimum performance from MySQL based upon the database   |
## | configuration and hardware platform.                                  |
## |                                                                       |
## | While the settings provided are likely sufficient for most            |
## | situations, an exhaustive list of settings (with descriptions) can be |
## | found at:                                                             |
## | http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html   |
## |                                                                       |
## | Take care to only add/remove/change a setting if you are comfortable  |
## | doing so! For Rackspace customers, if you have any questions or       |
## | concerns, please contact the MySQL Database Services Team. Be aware   |
## | that some work performed by this team can involve additional billable |
## \ fees.                                                                 /
##  ----------------------------------------------------------------------- 
##         \   ^__^
##          \  (oo)\_______
##             (__)\       )\/\
##                 ||----w |
##                 ||     ||

[mysqld]
## General
datadir                         = /var/lib/mysql
tmpdir                          = /var/lib/mysqltmp
socket                          = /var/lib/mysql/mysql.sock
skip-name-resolve
sql-mode                        = NO_ENGINE_SUBSTITUTION
#event-scheduler                = 1

## Cache
thread-cache-size               = 16
table-open-cache                = 4096
table-definition-cache          = 2048
query-cache-size                = 32M 
query-cache-limit               = 1M

## Per-thread Buffers
sort-buffer-size                = 1M
read-buffer-size                = 1M
read-rnd-buffer-size            = 1M
join-buffer-size                = 1M

## Temp Tables
tmp-table-size                  = 128M
max-heap-table-size             = 128M

## Networking
back-log                        = 100
max-connections                 = 300
max-connect-errors              = 10000
max-allowed-packet              = 16M
#interactive-timeout             = 3600
wait-timeout                    = 28800

### Storage Engines
#default-storage-engine         = InnoDB
innodb                          = FORCE

## MyISAM
key-buffer-size                 = 128M
myisam-sort-buffer-size         = 100M

## InnoDB
innodb-buffer-pool-size        = 2G
innodb-log-file-size           = 1G
innodb-log-buffer-size         = 1G
innodb-file-per-table          = 1
innodb-open-files              = 300
innodb_flush_log_at_trx_commit = 2

## Replication
server-id                       = 1
#log-bin                        = /var/log/mysql/bin-log
#relay-log                      = /var/log/mysql/relay-log
relay-log-space-limit           = 16G
expire-logs-days                = 7
#read-only                      = 1
#sync-binlog                    = 1
#log-slave-updates              = 1
#binlog-format                  = STATEMENT
#auto-increment-offset          = 1
#auto-increment-increment       = 2

## Logging
#log-output                      = FILE
#slow-query-log                  = 1
#slow-query-log-file             = /var/log/mysql/slow-log
#log-slow-slave-statements
#long-query-time                 = 2

[mysqld_safe]
log-error                       = /var/log/mysqld.log
open-files-limit                = 65535

[mysql]
no-auto-rehash

 

I start my server with:

cd /folder/folder/folder && ./login_loop.sh &

cd /folder/folder/folder && ./GameServer_loop.sh &

 

Games/login server shows no errors

Recommended Posts

  • 0
Posted

It's because the cow got 5 legs.

 

##         \   ^__^
##          \  (oo)\_______
##             (__)\       )\/\
##                 ||----w |
##                 ||     ||

 

And so far it's a recurrent problem than Frozen had too. You should ask in their forums if they found a solution, speak directly with Nefer or Shyla.

  • 0
Posted

It's because the cow got 5 legs.

 

##         \   ^__^
##          \  (oo)\_______
##             (__)\       )\/\
##                 ||----w |
##                 ||     ||

 

And so far it's a recurrent problem than Frozen had too. You should ask in their forums if they found a solution, speak directly with Nefer or Shyla.

 

Ahaha :D

  • 0
Posted

I found out that it's not server pack problem. Some guy also uses this pack and has no problems. What else could be the problem then?

After doing some testing, yerstoday I found out that MySQL becomes inactive after 1h, 30 min. Although it can still be connected to, it stops running more processes. Could anyone test their my.cnf please

  • 0
Posted

Downloaded fresh pack, same problem. Tried connecting to remote mysql same problem. Also the MySQL reaches 104 process and it freezes, all the processes are sleeping

  • 0
Posted

Downloaded fresh pack, same problem. Tried connecting to remote mysql same problem. Also the MySQL reaches 104 process and it freezes, all the processes are sleeping

 

I don't know scoria pack - gameserver but you may try this:

server.properties

# Default: 100
MaximumDbConnections = 100

to

# Default: 100
MaximumDbConnections = 1000

  • 0
Posted

it does support mysql 5.5

Also just found the solution, took about 20 different tests which lasted 2-3 days

 

Can you tell solution to make this post not useless...

  • 0
Posted

Will tell the exact solution tommorow/monday changed numerous things so not sure which specific thing helped. Will test them 1 by 1 tommorow. However, I think I know what solved it, but can't say it 100% now.

  • 0
Posted

Will tell the exact solution tommorow/monday changed numerous things so not sure which specific thing helped. Will test them 1 by 1 tommorow. However, I think I know what solved it, but can't say it 100% now.

 

Is your pack based on L2J?

  • 0
Posted

The problem was due to scoria not closing sleeping connections. When it reaches maximum connections, gameserver stops accepting new connections. How could this be fixed? I am using default scoria pack, no add-ons.

This wait_timeout doesn't seem to close sleeping connections also.

 

Any ideas? For now I increased the connection limit

 

Also these processes don't have any 'state' & 'info'.

Some of these connections time is: 3110

Guest
This topic is now closed to further replies.


  • Posts

    • its not imagination we skip that on this topic my offer still stands i am accepting a house Mr. @ERROR501 for more information please contact me
    • Sell ready interlude server files, with all popular features and tested, stable source + fully functional premium geodata for free.   Features include: Events: DM CTF TVT LM Dressme system Custom Buffer GM Shop Custom community board Donation manager  Auto Farm   Album: sell c6 — ImgBB   Test Server online: Patch link: https://drive.google.com/file/d/1mvEbv9XESsvfWwc638xFyyzyESeE2U95/view?usp=drive_link Auto acc create and auto admin   Price: 300$. Discord: l2retro
    • Faltan demasiados archivos,  y lógicas en clases claves como L2pcInstance, entre otras. si bien muchas cosas están y el flujo es valorable.  Gracias por tu esfuerzo es bastante... pero realmente no esta completo el código, falta que subas todas las modificaciones en clases colaterales... podrías intentar subir un diff de todo el mod  completo de tu pack y bueno ahí si que cada uno adapte... pero faltan muchas cosas, dudo que haya gente que lo haya echo funcionar con esto... 
    • I know people who have fully bypassed and reversed AAC. One day, they might even release the full source code, but for now, they’re still making money off it. I won’t name anyone, but it’s clear that there aren’t any truly solid anticheats for Lineage2. As I’ve said before, kernel level anticheats are the only real solution. Anything that runs as Internal and injects gets flagged, and your account ends up getting kicked or banned. That’s just how most games handle it nowadays. To TL;DR the whole thing cheating will always exist because there are people out there smart enough to bypass any protection and run private cheats. Public cheats are always detected eventually, so I don’t see any point in buying AAC, especially when they claim it blocks adr, which simply isn’t true.
    • 🌐 Website: https://l2adonis.com 📅 GRAND OPENING: July 18, 2025 – 20:00 (UTC+2) 💬 Discord: https://discord.com/invite/tZBj8JxAwx 🚫 No auto-farm • No auto-macro • No pay-to-win • No custom   Some Basic Info's (More detalied info's on website)  EXP/SP: x25  Adena: x15  Drop: x15  Spoil: x15  Seal Stones: x15  Raid Boss Drop: x10  Epic Boss Drop: x1  Manor: x10  Safe Enchant: +4  Max Enchant: +16  Normal Scroll Chance: 50%  Blessed Scroll Chance: 66% (If enchant fail item remain +4)  Buff Slots (30+4 extra with Divine Inspiration)  Dances/Songs Slots 14  Auto-learn skills  ⚔️ Real PvP • Real Progression • Retail-like experience JOIN NOW and relive the real L2 experience!
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock