Register for your free account! | Forgot your password?

You last visited: Today at 18:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



GS problem

Discussion on GS problem within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 45
Join Date: Apr 2013
Posts: 37
Received Thanks: 4
GS problem

hello
i have problem in my gs after the server go online everything working welll for 8 to 12 hour after that start gs ms coming high same the pic if i restart only gs work good again after how many hour become high again even i change the host and i change the vps still same the problem
Attached Images
File Type: jpg 20251105_011708.jpg (899.0 KB, 21 views)
herocrazy is offline  
Old 11/09/2025, 19:21   #2
 
elite*gold: 0
Join Date: May 2021
Posts: 75
Received Thanks: 12
memory leak

The game server (GS) continuously consumes RAM without releasing it.

If you open Task Manager, you will notice that the memory usage of the GameServer.exe process increases over time (for example, from 200 MB to 2 GB).

This is caused by the accumulation of in-game objects (monsters/dropped items/NPCs).
romio100 is offline  
Old 11/09/2025, 19:38   #3
 
elite*gold: 45
Join Date: Apr 2013
Posts: 37
Received Thanks: 4
so there is way to fix that
herocrazy is offline  
Old 11/10/2025, 02:42   #4
 
Worshiper's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 1,081
Received Thanks: 224
Use a 3 GS or reduce the object of the GS
Worshiper is offline  
Old 11/10/2025, 06:53   #5
 
elite*gold: 45
Join Date: Apr 2013
Posts: 37
Received Thanks: 4
thankes for your reply bro but the point is the same file same number of mob same number of player and i didn't add anything new in game that's why i can't understand why the problem happen
if you don't mind there is any way to know where the problem
herocrazy is offline  
Old 11/10/2025, 08:58   #6
 
elite*gold: 0
Join Date: May 2021
Posts: 75
Received Thanks: 12
a screenshot of the Task Manager after 10 hours of operation?

and the GameServer.log file from the last hour before the lag occurred?

then I can accurately determine if it's a memory leak or a database overload and prepare a complete automated maintenance script for you.



Create the file:
- Open Notepad.
- Paste the BAT code above.
- Save as: romio100.bat
- Save as type: All Files
- Encoding: UTF-8 or ANSI
- Place the file in the same folder as GameServer.exe (e.g. D:\Silkroad\Server\GameServer\)

Run the file:
- Right-click romio100.bat → Run as administrator.
- Enter the password when prompted (input is hidden). Default password: romio100_secret
- You have 3 attempts. On success the script will start GameServer.exe and automatically restart it every 6 hours.


Change restart interval:
- Edit the script and set SLEEP_SECONDS to:
- 3 hours = 10800
- 6 hours = 21600 (default)
- 12 hours = 43200


@ off
title romio100 - Protected AutoRestart GameServer
color 0a
setlocal enabledelayedexpansion

:: ================================================
:: romio100.bat - Script to auto-restart GameServer
:: Protected by a password stored as a SHA-256 hash
:: ================================================

:: ----- CONFIG -----
set "EXPECTED_HASH=d6a66a2bd6d9380652c6d026d7b302e6adb 723a006df0deff58e78dfce66a239"
:: ↑ SHA-256 hash for the default password: romio100_secret
:: To change it, generate a new SHA-256 hash (see instructions below) and replace this value.
set "ATTEMPTS=3" :: Allowed password attempts
set "SLEEP_SECONDS=21600" :: 21600 seconds = 6 hours before restart
:: ------------------

echo ===============================================
echo romio100 - Protected AutoRestart GameServer
echo ===============================================
echo.

:: ----- Password check -----
set /a "tries=0"
rompt_loop
set /a "tries+=1"
if %tries% gtr %ATTEMPTS% (
echo Too many failed attempts. Exiting.
timeout /t 3 >nul
exit /b 1
)

:: Ask for password securely and compute SHA-256 via PowerShell
for /f "usebackq delims=" %%H in (`powershell -NoProfile -Command ^
"$p = Read-Host -AsSecureString 'Enter password'; ^
$bstr = [Runtime.InteropServices.Marshal]::SecureStringToBSTR($p); ^
$plain = [Runtime.InteropServices.Marshal]::PtrToStringAuto($bstr); ^
[Runtime.InteropServices.Marshal]::ZeroFreeBSTR($bstr); ^
$hash = [System.BitConverter]::ToString([System.Security.Cryptography.SHA256]::Create().ComputeHash([System.Text.Encoding]::UTF8.GetBytes($plain))).Replace('-','').ToLower(); ^
Write-Output $hash"`) do set "INPUT_HASH=%%H"

if /i "%INPUT_HASH%"=="%EXPECTED_HASH%" (
echo Authentication successful.
goto :auth_ok
) else (
echo Wrong password. Attempts left: %ATTEMPTS% - %tries%
echo.
goto rompt_loop
)

:auth_ok
echo.
echo Starting protected AutoRestart loop for GameServer...
echo.

:: ----- Auto-restart loop -----
:loop
echo [%date% %time%] Starting GameServer...
start "" "GameServer.exe"

echo [%date% %time%] Waiting %SLEEP_SECONDS% seconds before restart...
timeout /t %SLEEP_SECONDS% >nul

echo [%date% %time%] Restarting GameServer...
taskkill /im GameServer.exe /f 2>nul

goto loop
:: ================================================

Place the patch and the game server in the same folder and run them as administrator.



you won't have to do anything; the patch will do everything. All you have to do is run the patch as an administrator, and it will restart the game server every 6 hours. This is a temporary solution.
romio100 is offline  
Reply


Similar Threads Similar Threads
[PROBLEM]HATCHERY PROBLEM[PROBLEM]
07/27/2013 - Facebook - 8 Replies
GUYS I HAVE 3 HATCHERY IN MY ISLAND I WANT TO DELETE THE 2 I CLICK THE REMOVE TOOL THEN CLICK ON THE HATCHERY THEN NOTHING HAPPENS HELP?? THANKS =)
[problem] IB problem
05/11/2008 - Flyff - 2 Replies
Hi , i have problem with IB when i click on this its load the game guard and then Disappear , someone know what the problem? its in the flyff folder i just dont know what the problem whay its disappear , Thnx.
[Problem] Server Inspection Problem
05/01/2008 - Silkroad Online - 1 Replies
Hi, By the update of 1.145 I get the error "The servers is undergoing inspection or updates. Connect to htpp://www.silkroadonline.net for more information." I reinstall the game but I get the same error. And the servers are open! Who can help me. Thank You
Problem with Infinty/ Problem mit Infinity
04/14/2008 - Dekaron - 1 Replies
Hey guys, i donwloadet Infinity from this site http://www.gametribe.com/. K i installed this game and now if i try to start is i get an error message: The game security module update has failed How i can fix this problem, i wont to play it. Ps. I postet it here becoz its the same producer like Dekaronīs Hi Leute, ich hab mir Infinty gedownloadet von http://www.gametribe.com/ und hab es auch installiert, doch jedes mal wenn ich das spiel starten will bekomm ich diesen Fehler: The...



All times are GMT +1. The time now is 18:33.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.