make generally should suffice to create the executable in the top folder. The Makefile is different from vanilla but acts the same. The default scripts are written with a Unix environment in mind, so most probably they won't work under Windows. CompilationĬompilation has been tested with luajit, lua 5.2, lua 5.1, on Mac OS X, Windows and Linux. I solved the problem by using a low fragmentation implementation of malloc(), jemalloc: the memory usage at boot is now ~13 MB. This is particularly noticeable when the a script finds the GeoIP cvs databases and generates a fake geolocalized ip: a lot of tables are allocated, then freed, but the server still takes 60 MB. In my experience, Lua generates a lot of memory fragmentation together with the glibc implementation of malloc(), which means that memory may be deallocated but never returned to the system, and the server process will result to use much more memory than what is reported by collectgarbage"count". I run athe ZOMBIE OUTBREAK! server and even in crowded situations (~20 players, ~60 bots) it still takes only 10%-15% of cpu and 25-30 MB of memory, and since Lua is called for at least every N_POS message, performance in general should not be a concern. It is a heavily modded gamemode with up to 128 bots, and showcases a variety of event hooks. The ZOMBIE OUTBREAK! server ( /connect pisto.horse 6666) can be started with ZOMBIEVPS=1. Just /connect pisto.horse 1024 to check out the latest gadgets. a sports a more real life configuration, including map rotation, abuse protection, gamemode mods (quadarmours and flag switch). sauer_server), you will have a clone of the server that I run myself ( /connect pisto.horse 1024). If you start the server with the enviroment variable PISTOVPS set ( PISTOVPS=1. log, and execute a full restart on SIGUSR1 (updating to the latest revision is as easy as git pull & make & killall -s SIGUSR1 sauer_server).Īdditional assorted modules can be found in the ancillary repo spaghettimod-assorted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |