Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PURE Perfect World 1.5.3 files + instruction

Night Gaming Network
Joined
Sep 13, 2014
Messages
728
Reaction score
46
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
 
Junior Spellweaver
Joined
Oct 16, 2012
Messages
136
Reaction score
46
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
______________total________used________free______shared__buff/cache___available
Mem:__________24078_______18354_________631_________230________5092________5043
Swap:_________30516___________3_______30513


top_-_15:05:53_up_34_days,__3:37,__4_users,__load_average:_48.38,_33.22,_29.55
Tasks:_210_total,___1_running,_209_sleeping,___0_stopped,___0_zombie
%Cpu(s):_15.6_us,_37.6_sy,__0.0_ni,_46.4_id,__0.0_wa,__0.0_hi,__0.5_si,__0.0_st
KiB_Mem_:_24656340_total,___648112_free,_18793804_used,__5214424_buff/cache
KiB_Swap:_31249404_total,_31245752_free,_____3652_used.__5166376_avail_Mem


USER________PID_%CPU_%MEM____VSZ___RSS_TTY______STAT_START___TIME_COMMAND
root_______1406__0.1__0.6_9844832_170576_pts/1__Sl___Jun02__67:08_java_-jar_authd.jar
root_______1448__0.0__0.0__98884_16040_pts/1____Sl___Jun02__13:00_./uniquenamed_gamesys.conf
root_______1459__0.1__0.7_346832_185832_pts/1___Sl___Jun02__83:04_./gamedbd_gamesys.conf
root_______1483__0.0__0.0_199936_20772_pts/1____S____Jun02___3:20_./gacd_gamesys.conf
root_______1485__0.0__0.7_178844_172604_pts/1___S____Jun02___7:18_./gfactiond_gamesys.conf
root_______1487__0.0__0.7_191384_184600_pts/1___S____Jun02__38:08_./gdeliveryd_gamesys.conf
root_______1489__0.0__0.6_169900_167164_pts/1___S____Jun02__35:58_./glinkd_gamesys.conf_1
root_______1491__0.0__0.6_169032_164804_pts/1___S____Jun02__18:37_./glinkd_gamesys.conf_2
root_______1493__0.0__0.6_169016_162632_pts/1___S____Jun02__16:38_./glinkd_gamesys.conf_3
root_______1495__0.0__0.6_169040_165336_pts/1___S____Jun02__16:21_./glinkd_gamesys.conf_4
root_______1528__2.9__2.2_757816_547152_pts/2___Sl___Jun02_1465:24_./gs_is01_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1529__3.1__2.3_779964_568564_pts/2___Sl___Jun02_1526:00_./gs_is20_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1532__2.9__2.6_858676_650300_pts/2___Sl___Jun02_1459:36_./gs_is21_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1534__4.6__5.3_1538136_1329136_pts/2_Sl___Jun02_2301:08_./gs_gs01_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1535__2.8__2.3_800408_591352_pts/2___Sl___Jun02_1421:10_./gs_is24_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1536__2.9__2.2_756464_547624_pts/2___Sl___Jun02_1449:04_./gs_is02_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1537__2.8__2.4_822684_609372_pts/2___Sl___Jun02_1420:10_./gs_is25_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1538__2.9__2.3_797280_583788_pts/2___Sl___Jun02_1431:10_./gs_is05_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1540__3.0__2.6_849164_644096_pts/2___Sl___Jun02_1509:13_./gs_is61_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1541__2.9__2.4_831028_616080_pts/2___Sl___Jun02_1431:38_./gs_is47_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1542__2.8__2.5_848736_629484_pts/2___Sl___Jun02_1422:51_./gs_is45_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1543__2.9__2.5_849600_630048_pts/2___Sl___Jun02_1427:41_./gs_is46_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1544__2.9__2.3_793980_578732_pts/2___Sl___Jun02_1428:49_./gs_is26_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1548__3.0__2.7_888596_672312_pts/2___Sl___Jun02_1492:22_./gs_is62_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1549__2.8__2.3_793084_578024_pts/2___Sl___Jun02_1423:13_./gs_is48_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1552__3.5__3.0_970048_763388_pts/2___Sl___Jun02_1736:26_./gs_is63_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1555__3.0__2.3_804496_589108_pts/2___Sl___Jun02_1475:32_./gs_is66_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1556__2.9__2.3_797968_580896_pts/2___Sl___Jun02_1435:44_./gs_is49_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1557__2.9__2.3_797444_584232_pts/2___Sl___Jun02_1428:04_./gs_is07_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1559__2.8__2.4_820920_612140_pts/2___Sl___Jun02_1423:30_./gs_is28_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1561__2.9__2.3_801968_586768_pts/2___Sl___Jun02_1441:00_./gs_is27_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1562__2.9__2.3_795160_579620_pts/2___Sl___Jun02_1436:48_./gs_is67_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1563__2.9__2.3_801088_589960_pts/2___Sl___Jun02_1438:15_./gs_is06_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1565__2.8__2.3_795532_578836_pts/2___Sl___Jun02_1420:03_./gs_is29_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1568__3.0__2.9_943740_737080_pts/2___Sl___Jun02_1510:22_./gs_is68_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1571__2.9__2.3_782676_577392_pts/2___Sl___Jun02_1434:46_./gs_is08_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1573__2.9__2.3_792164_580068_pts/2___Sl___Jun02_1430:49_./gs_is69_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1574__2.9__2.5_836024_624696_pts/2___Sl___Jun02_1446:47_./gs_is31_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1577__2.9__2.4_815404_605536_pts/2___Sl___Jun02_1440:36_./gs_is11_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1580__3.2__2.4_812668_598972_pts/2___Sl___Jun02_1597:31_./gs_is32_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1581__2.9__2.3_805072_589960_pts/2___Sl___Jun02_1436:51_./gs_is10_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1582__2.9__2.3_806256_591140_pts/2___Sl___Jun02_1441:18_./gs_is09_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1586__3.0__2.3_794324_578984_pts/2___Sl___Jun02_1486:02_./gs_is70_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1587__2.8__2.7_899020_685620_pts/2___Sl___Jun02_1416:17_./gs_is72_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1588__3.0__2.4_799620_600100_pts/2___Sl___Jun02_1516:33_./gs_is33_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1589__2.9__2.2_760852_551576_pts/2___Sl___Jun02_1447:42_./gs_is12_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1590__2.9__3.1_977712_767656_pts/2___Sl___Jun02_1426:25_./gs_is71_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1595__2.9__2.3_784104_569036_pts/2___Sl___Jun02_1433:32_./gs_is34_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1596__2.8__2.3_804696_585320_pts/2___Sl___Jun02_1423:30_./gs_is73_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1597__2.9__2.1_753796_536360_pts/2___Sl___Jun02_1447:13_./gs_is13_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1599__2.9__2.3_804628_587812_pts/2___Sl___Jun02_1429:37_./gs_is74_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1601__2.9__2.5_849148_636756_pts/2___Sl___Jun02_1462:38_./gs_is35_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1605__2.9__2.3_804636_589328_pts/2___Sl___Jun02_1437:37_./gs_is75_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1606__3.0__3.2_1022376_808352_pts/2__Sl___Jun02_1476:33_./gs_is37_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1607__2.9__2.4_813284_605780_pts/2___Sl___Jun02_1435:32_./gs_is14_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1611__2.9__2.4_823088_607200_pts/2___Sl___Jun02_1448:35_./gs_is15_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1612__2.9__2.5_834840_631040_pts/2___Sl___Jun02_1457:50_./gs_is38_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1613__3.0__2.4_827800_609804_pts/2___Sl___Jun02_1482:34_./gs_is39_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1614__3.2__2.3_794112_582276_pts/2___Sl___Jun02_1589:13_./gs_is40_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1616__2.9__2.4_807132_596136_pts/2___Sl___Jun02_1435:52_./gs_is16_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1619__2.9__2.3_797952_584564_pts/2___Sl___Jun02_1444:29_./gs_is41_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1620__2.9__2.3_799368_580624_pts/2___Sl___Jun02_1450:09_./gs_is42_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1623__3.5__2.2_774348_559548_pts/2___Sl___Jun02_1751:39_./gs_is18_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1624__2.9__2.4_815392_597992_pts/2___Sl___Jun02_1455:30_./gs_is17_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1626__2.9__2.2_778396_564352_pts/2___Sl___Jun02_1449:13_./gs_is19_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1630__2.9__2.4_845104_610984_pts/2___Sl___Jun02_1432:53_./gs_is44_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1631__2.9__2.3_833220_574528_pts/2___Sl___Jun02_1449:14_./gs_is23_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1632__2.9__4.1_1293336_1025572_pts/2_Sl___Jun02_1441:11_./gs_is43_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1633__3.0__2.4_850720_612108_pts/2___Sl___Jun02_1475:11_./gs_is22_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1743__2.9__2.1_777492_537644_pts/2___Sl___Jun02_1458:54_./gs_is50_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1746__2.8__2.2_778448_545344_pts/2___Sl___Jun02_1424:20_./gs_arena02_conf_gmserver.conf_gsalias_wallow.conf
root_______1748__2.9__2.1_781100_539292_pts/2___Sl___Jun02_1452:37_./gs_arena01_conf_gmserver.conf_gsalias_wallow.conf
root_______1750__2.9__2.1_779032_538588_pts/2___Sl___Jun02_1440:11_./gs_arena04_conf_gmserver.conf_gsalias_wallow.conf
root_______1751__2.9__2.1_778444_527288_pts/2___Sl___Jun02_1441:56_./gs_arena03_conf_gmserver.conf_gsalias_wallow.conf
root_______1753__2.9__2.1_775988_524988_pts/2___Sl___Jun02_1447:13_./gs_arena05_conf_gmserver.conf_gsalias_wallow.conf
root_______1757__2.9__2.1_773732_540008_pts/2___Sl___Jun02_1450:03_./gs_bg02_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1758__2.9__2.1_766380_530684_pts/2___Sl___Jun02_1447:33_./gs_bg01_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1760__2.9__2.1_767128_533480_pts/2___Sl___Jun02_1460:33_./gs_bg03_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1762__2.9__2.1_776592_532048_pts/2___Sl___Jun02_1440:10_./gs_bg04_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1764__2.9__2.1_766984_535592_pts/2___Sl___Jun02_1455:38_./gs_bg05_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1765__2.9__2.1_774892_527248_pts/2___Sl___Jun02_1439:37_./gs_bg06_gs.conf_gmserver.conf_gsalias_wallow.conf
root_______1768__3.0__3.0_1012480_743004_pts/2__Sl___Jun02_1488:13_./gs_rand03_.conf_gmserver.conf_gsalias_wallow.conf
root_______1769__2.9__2.8_975080_714220_pts/2___Sl___Jun02_1446:39_./gs_rand04_.conf_gmserver.conf_gsalias_wallow.conf

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.
 
Elite Diviner
Joined
Jan 5, 2017
Messages
476
Reaction score
348
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...
 
Junior Spellweaver
Joined
Oct 16, 2012
Messages
136
Reaction score
46
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
______________total________used________free______shared__buff/cache___available
Mem:__________24078_______18354_________631_________230________5092________5043
Swap:_________30516___________3_______30513

It isn't swapping a damn thing, (well okay its swapping a whopping 3mb)

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.
 
Elite Diviner
Joined
Jan 5, 2017
Messages
476
Reaction score
348
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...
 
Junior Spellweaver
Joined
Oct 16, 2012
Messages
136
Reaction score
46
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)
Code:
./gs gs01
./gs is21
./gs is22 
./gs is61

(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)

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
Code:
./gs gs01 gs.conf gmserver.conf gsalias_wallow.conf is21 is22 is61
* Note: add in the configs as well, wont work without it

This will chainload them and thus decrease memory usage

Full server config
Code:
./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 1: Disk usage will spike slightly due to it loading all the data for the maps
* 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)
 
Elite Diviner
Joined
Jan 5, 2017
Messages
476
Reaction score
348
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...



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...



full 72 maps with 1 account logged in, 14gb ram...

5 minute load avg a little higher, about 150...
 
Junior Spellweaver
Joined
Jan 6, 2012
Messages
117
Reaction score
1
current user map is offline, check xml code from user, to get map tag and start.

hahaha sorry i forget to run map hahaha

btw when i use pwAdmin or iWeb 1.5.1 cant start server why??



how to edit character template without pwAdmin in this version???



i am use id "16" in mysql its not work?? any idea for slove this??
 
Joined
Jul 17, 2007
Messages
665
Reaction score
104
hahaha sorry i forget to run map hahaha

btw when i use pwAdmin or iWeb 1.5.1 cant start server why??



how to edit character template without pwAdmin in this version???



i am use id "16" in mysql its not work?? any idea for slove this??

after edited with id 16, do u exported the clsconfig in ubuntu/debian?
 
Back
Top