download and copy the website from this image and put to this, change the password and what needed in pwadmin folder .pwadmin.conf
http://forum.ragezone.com/f751/share...erver-1112491/
download and copy the website from this image and put to this, change the password and what needed in pwadmin folder .pwadmin.conf
http://forum.ragezone.com/f751/share...erver-1112491/
...free upload image
..?
Db user, password,database, server path
In account.jsp the password checking.
how much ram need for using 10 map in version 1.5.3?
I not know but I guess 6gb, if no player or very few but I guess more player = more ram...
The bigger the map the more ram it takes i can run all maps but the ms01 (idk what it is so i dont turn it on) and it takes 58gig of ram (running 128gig of ram
.....58gigs?
Okay in all seriousness now, I have seen comments on other threads aswell about people using 30+ gigs of memory for PW.
How the hell are you people booting your damn servers.
I can run entire 1.5.3 on 24gigs of memory with only 18.4gb in use.
Here, see my server log
Spoiler:
How you people boot pw and get it to fill your entire memory is beyond me, because it really doesn't need to if you boot it properly.
I'm using 43gb with 3gb leftover free out of 48gb... :)
That's with 6-8 accounts logged in at the same time...
Sure I could setup a huge swap and run it on 10gb ram, but unless I was using a high quality SSD hard drive it would be laggy as **ll...
Just to clarify, peeps are using server based boards that have high ram capabilities... The Tyan s7012 is cheap and can hold 288gb ram...
Look at this part i posted again
It isn't swapping a damn thing, (well okay its swapping a whopping 3mb)______________total________used________free______shared__buff/cache___available
Mem:__________24078_______18354_________631_________230________5092________5043
Swap:_________30516___________3_______30513
there's still 5gb of ram free
also, for your information, this was on a testsetup with a mere 20 accounts online. But I have done this in the past aswell back when I had well over 200+ accounts online.
Just need to chainload the maps properly through 1 GS instead of booting every map off a new GS instance.
Ok, I'm willing to learn something new... Instead of boasting about what you can do, or there is a proper way (chain loading)... Why not share or explain... Because every where I look, it's pretty much the same way of starting the maps by new instances... No pun intended...
Fair enough
It's actually quite easy
for instance, lets say we want to start a server with the following 4 maps:
The worldmap, the starting map, heaven and hell. this nets us: gs01, is21, is22 and is61
Most, if not all guides, and also iweb do it as follow (correct me if im wrong)
(if you feel fancy, you can add the > gs01.log, etc behind to write the output to a log file, or /dev/null if you simply dont want to see any of it)Code:./gs gs01 ./gs is21 ./gs is22 ./gs is61
Now, whilst that works, it starts a new instance every time. consuming your memory.
So how do you chainload it?
Instead of the above lines you put them in 1 line
* Note: add in the configs as well, wont work without itCode:./gs gs01 gs.conf gmserver.conf gsalias_wallow.conf is21 is22 is61
This will chainload them and thus decrease memory usage
Full server config
* Note 1: Disk usage will spike slightly due to it loading all the data for the mapsCode:./gs gs01 gs.conf gmserver.conf gsalias_wallow.conf is01 is02 is05 is06 is07 is08 is09 is10 is11 is12 is13 is14 is15 is16 is17 is18 is19 is20 is22 is21 is23 is24 is25 is26 is27 is28 is29 is31 is32 is33 is34 is35 is37 is38 is39 is40 is41 is42 is43 is44 is45 is46 is47 is48 is49 is61 is62 is63 is66 is67 is68 is69 is70 is71 is72 is73 is74 is75
* Note 2: Adding a '> output.log' behind the command results all the logs from all the maps getting written to 1 file
Give it a whirl i suppose, this trick has worked for me for years. no reason it shouldn't work with anyone else's setup but you never know. (Oh for your information, I am running Ubuntu 16.04 with the 4.12 kernel)
thank you for explanation...
it makes sense, never crossed my mind that gs accepted multiple arguments... knowing a little bit of programming, multiple arguments had to be implemented into the coding... so i agree that this would be one proper way of loading the server... i like the idea of less instances, gonna try it right away... only downfall i can see at the moment would be the ability to start and stop individual maps while the server is running... but that is something i only do when editing individual maps...
- - - Updated - - -
just a follow up, GiantAxe's method does work... i just wanted to pint out a couple adjustments i had to make...
in gs.conf my Root variable needed a trailing backslash...
i don't have gsalias_wallow.conf, but have gsalias.conf... so made the adjustment in cmd line argument mentioned...
in my test environment running 9 of the bigger maps, only using 4.2gb ram, and 5min load avg about 2... the loading time seems a lot less too... i'll update when i run full maps...
thanx again GiantAxe...
- - - Updated - - -
full 72 maps with 1 account logged in, 14gb ram...
5 minute load avg a little higher, about 150...
I run all maps at 56 gig of ram
fixed.
Last edited by Exodus1; 07-08-17 at 06:32 AM.
can solve this problem???