Apologies me if I'm asking such newbie questions. I did some searching in rAthena and Hercules regarding my issue, but seems none and found one (almost same issue) but already in archived, and some links from eAthena (ya, no longer accessible). At first, I feel bad to post this question into rAthena forum, because this might unappropriate questions to be asked, but since my VPS provider no longer reply my several tickets to them (ya, they ain't wrong, they are human being too, might be something going on behind), I've lost my source to ask, since this is beyond my expertise and knowledge. And I believe rAthena having such a great friendly supportive teams. So I decide to ask my questions here (remind me if this is inappropriate).
Actually, My VPS experiencing 90% RAM usage (512 Mb, bought this package just for trial, I'm using this package as for beta phase, and planning to upgrade as soon as I got a few players, prompting these questions if there are any other way instead of upgrading RAM). Only less than 5 players join in-game. Most of it was used by Map-server. Crashes at some certain time.
Some infos regarding my VPS: a. CPU Cores : 1 vCore b. Memory: 512 MB c. Burstable RAM: 1024 MB
d. Storage 10 GB SSD
e. Bandwidth: 200 GB (1Gbit)
f. CentOS 6
g. Renewal: 2013-07-08
Changes I did in src (most probably max. RAM usage from src):
aa. Renewal.h = //#define RENEWAL_CAST
bb. Map.h = #define MAX_LEVEL 500
cc. Some Custom NPCs as provided in scripts_custom.conf
dd. No custom items
My questions are: 1. Can this changes (aa, bb) cause heavily RAM usage? 2. How can I reduce RAM usage?
3. Some say about optimized scripts, how to optimize it? How to determine optimized scripts?
4. I've read something regarding swap memory, how to do it? Can I do swaping? (I would like to follow Cydh method, bout I don't know how specifically target the /swapfile: https://rathena.org/board/topic/91695-ram-problem/?p=240876) I want my map-server to be swapped. My server file located in /root/desktop/rAthena/<map-server,etc> or they automatically swapped to Burstable Memory if Guaranteed Memory is fulled? I attached image from Terminal, incase required some infos.
5. Is there by reducing/limiting player join in, it can reduce RAM usage?
Thank you so much rAthena, really sorry for such long questions. I'm really someone not in computer/it/network field. Making and playing RO is my passion. I'm starting from zero, and reading so much in rAthena forums, really help me much in improving my skills. Thank you rAthena.
And subsequently, I believe this can be great shares for other newbies to start venturing ROs private server.
Question
Tafsir
Hi, Rathena.
Apologies me if I'm asking such newbie questions. I did some searching in rAthena and Hercules regarding my issue, but seems none and found one (almost same issue) but already in archived, and some links from eAthena (ya, no longer accessible). At first, I feel bad to post this question into rAthena forum, because this might unappropriate questions to be asked, but since my VPS provider no longer reply my several tickets to them (ya, they ain't wrong, they are human being too, might be something going on behind), I've lost my source to ask, since this is beyond my expertise and knowledge. And I believe rAthena having such a great friendly supportive teams. So I decide to ask my questions here (remind me if this is inappropriate).
Actually, My VPS experiencing 90% RAM usage (512 Mb, bought this package just for trial, I'm using this package as for beta phase, and planning to upgrade as soon as I got a few players, prompting these questions if there are any other way instead of upgrading RAM). Only less than 5 players join in-game. Most of it was used by Map-server. Crashes at some certain time.
Some infos regarding my VPS:
a. CPU Cores : 1 vCore
b. Memory: 512 MB
c. Burstable RAM: 1024 MB
d. Storage 10 GB SSD
e. Bandwidth: 200 GB (1Gbit)
f. CentOS 6
g. Renewal: 2013-07-08
Changes I did in src (most probably max. RAM usage from src):
aa. Renewal.h = //#define RENEWAL_CAST
bb. Map.h = #define MAX_LEVEL 500
cc. Some Custom NPCs as provided in scripts_custom.conf
dd. No custom items
My questions are:
1. Can this changes (aa, bb) cause heavily RAM usage?
2. How can I reduce RAM usage?
3. Some say about optimized scripts, how to optimize it? How to determine optimized scripts?
4. I've read something regarding swap memory, how to do it? Can I do swaping? (I would like to follow Cydh method, bout I don't know how specifically target the /swapfile: https://rathena.org/board/topic/91695-ram-problem/?p=240876) I want my map-server to be swapped. My server file located in /root/desktop/rAthena/<map-server,etc> or they automatically swapped to Burstable Memory if Guaranteed Memory is fulled? I attached image from Terminal, incase required some infos.
5. Is there by reducing/limiting player join in, it can reduce RAM usage?
Thank you so much rAthena, really sorry for such long questions. I'm really someone not in computer/it/network field. Making and playing RO is my passion. I'm starting from zero, and reading so much in rAthena forums, really help me much in improving my skills. Thank you rAthena.
And subsequently, I believe this can be great shares for other newbies to start venturing ROs private server.

Edited by TafsirLink to comment
Share on other sites
4 answers 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.