Jump to content


  • Content Count

  • Joined

  • Days Won


LHammonds last won the day on January 12 2016

LHammonds had the most liked content!

Community Reputation

0 Neutral

About LHammonds

  • Rank

Personal Information

  • Location
    Behind you!
  • Interests
    Modding, Hosting game servers
  1. Same problem here. Server was working fine and latest update on the latest experimental (alpha 18.1 b5) shows the error on my PC and everyone else. Tried disabling EAC but that was not the issue. Had to roll back to Alpha 18.0 stable build. LHammonds
  2. I noticed the release notes for Alpha 18 build 155 and noticed this line: So I updated the server and now I am seeing much better performance after 7dtd starts and settles down (no players connected): top - 11:31:04 up 2 days, 8:00, 2 users, load average: 0.06, 0.27, 0.49 Tasks: 180 total, 1 running, 103 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.5 us, 0.3 sy, 0.0 ni, 97.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 8168488 total, 128192 free, 3135580 used, 4904716 buff/cache KiB Swap: 1048500 total, 971700 free, 76800 used. 4734960 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3928 sdtd 20 0 5259720 2.717g 63412 S 11.6 34.9 1:30.84 7DaysToDie+ 12920 root 20 0 44076 3912 3268 R 0.7 0.0 0:00.06 top 1216 root 20 0 1187216 17380 5608 S 0.3 0.2 4:43.75 fail2ban-s+ 15782 root 20 0 0 0 0 I 0.3 0.0 0:24.63 kworker/3:1 1 root 20 0 225352 5836 4184 S 0.0 0.1 0:03.43 systemd Once some players connect tonight, I will try and remember to update this post with stats under a small load. EDIT: With 3 players connected, I so see a marginal (and expected) increase in CPU usage but it certainly is not bad. top - 20:06:13 up 2 days, 16:35, 1 user, load average: 0.79, 0.91, 0.75 Tasks: 174 total, 1 running, 97 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.2 us, 1.4 sy, 0.0 ni, 87.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 8168488 total, 579948 free, 3500628 used, 4087912 buff/cache KiB Swap: 1048500 total, 974260 free, 74240 used. 4363432 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3928 sdtd 20 0 5679048 3.062g 66052 S 50.5 39.3 141:57.46 7DaysToDie+ 4466 root 20 0 0 0 0 I 0.3 0.0 0:08.19 kworker/0:1 1 root 20 0 225352 5844 4184 S 0.0 0.1 0:03.66 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kthreadd 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:+ Thanks TFP! LHammonds
  3. If by mature, you mean old, I have an unadvertised / invisible PvE server with old, but immature guys on it. Hehehe. Unsure how long I will be hosting the server since the CPU usage is quite staggering even if nobody is connected but in-game, it is quite smooth.
  4. I run a lot of virtual servers (across many Nutanix and ESXi hosts) including many high-use database and application servers but none of them even come close to the amount of CPU usage that 7dtd is using for 2 instances (even when nobody is online). 6,500 MHz being used is ridiculous. I have a large database application spread out over 8 servers and all of them together are only using about 2,000 MHz when servicing 100 clients. There has to be something I'm doing wrong with the server but I just do not see where I have it mis-configured. If this is "normal" then I will be shutting it down as soon as I'm done testing it out. LHammonds
  5. EDIT (2019-10-24): Build 155 has fixed the high CPU usage issue noted below. I recently installed 7 Days to Die on a dedicated Ubuntu Server 18.04.3 LTS (documenting steps here) and have seen it consistently taking around 60% of the CPU all the time even when no players are connected. Is this normal? Is there something I need to change? Here is a sample of the top command which is fairly typical. There are currently 2 people online right now but if I only looked at the htop monitoring tool, I wouldn't really see a difference regarding CPU if there was nobody connected or 4 connected. top - 17:30:58 up 6 days, 7:12, 1 user, load average: 3.24, 3.26, 3.11 Tasks: 185 total, 2 running, 107 sleeping, 0 stopped, 0 zombie %Cpu(s): 37.4 us, 18.0 sy, 0.1 ni, 44.5 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 8168476 total, 357480 free, 5835256 used, 1975740 buff/cache KiB Swap: 1048500 total, 883380 free, 165120 used. 2033344 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 26992 sdtd 20 0 5703696 3.116g 62208 R 187.5 40.0 168:12.34 7DaysToDie+ 9772 sdtd 20 0 4989164 2.263g 31628 S 87.5 29.0 3323:35 7DaysToDie+ Graphics Info # lspci -nnk | grep VGA -A1 00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405] Subsystem: VMware SVGA II Adapter [15ad:0405] Kernel driver in use: vmwgfx Network adapter # lspci -nnk | grep net -A2 02:00.0 Ethernet controller [0200]: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) [8086:100f] (rev 01) Subsystem: VMware PRO/1000 MT Single Port Adapter [15ad:0750] Kernel driver in use: e1000 CPU Info: # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz Stepping: 1 CPU MHz: 2099.998 BogoMIPS: 4199.99 Hypervisor vendor: VMware Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 20480K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx hypervisor lahf_lm 3dnowprefetch epb pti dtherm ida arat pln pts RAM info: # free -h total used free shared buff/cache available Mem: 7.8G 5.6G 285M 13M 1.9G 1.9G Swap: 1.0G 160M 863M Kernel info: # uname -a Linux srv-7dtd 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Thanks, LHammonds
  6. LHammonds

    Server Tools

    EDIT: Moved post to this thread.
  7. Depends on how you have your server setup. I don't know about AWS or other hosted solutions...just the one where I installed it on Ubuntu Server 18.04 LTS and use Alloc's Server Management Scripts. The process should be the same though...cleanly shutdown all instances you have running and THEN reboot the operating system. With Alloc's scripts, this is basically what I do (however, I have it all scripted with in-game warnings, backups and automated): 7dtd.sh kill game1 7dtd.sh kill game2 shutdown -R now If you are looking at the game console itself, you would issue these commands: saveworld shutdown LHammonds
  8. Are you recording performance data so you know what is happening on our server? Such as the CPU usage, network, disk, etc.? I use nmon which comes with Ubuntu Server. I also use a kornshell script called nmonchart which looks at the raw data and outputs it to an HTML file that utilizes google's charts and javascript. If interested, here is a quick list of what you can do (assuming Ubuntu Server): If you don't have ksh, you will need to install it for the nmonchart script. apt install ksh Download the nmonchart from SourceForge: /usr/bin/wget http://sourceforge.net/projects/nmon/files/nmonchart38.tar -O /tmp/nmonchart38.tar Extract the contents of the archive: /bin/tar -xf /tmp/nmonchart38.tar Collect a small sample set of data (this will take a sample every 10 seconds, 12 times which is just 2 minutes of data): /usr/bin/nmon -F unsorted.nmon -t -s 10 -c 12 -m /tmp Sort the raw data: /usr/bin/sort /tmp/unsorted.nmon > /tmp/nmon.csv Process the nmon data and output the HTML file to your website folder: /tmp/nmonchart /tmp/nmon.csv /var/www/yourdomain.com/nmon/index.htm chown -R www-data:www-data /var/www/yourdomain.com/nmon chmod 644 /var/www/yourdomain.com/nmon/* I have only recently re-installed 7 Days to Die on my server and have noticed Alpha 18 is chewing up my CPUs constantly even when nobody is connected...but have yet to actually start playing it. LHammonds
  9. I don't have any survival stories. Every character I have ever had has died. LHammonds (2,037 hours on record)
  10. If you do "sudo su" to switch into the root, doing "crontab -e" should show you the root crontab schedule. If you are having problems with scripts not running in the schedule, it might be due to the reduced environment (not having a search path to find programs when the full path is not explicit). Try adding the following in root's crontab schedule: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # # Crontab SYNTAX: # minute(0-59) hour(0-23) day-of-month(1-31) month(1-12) day-of-week(0-6) command-to-execute # 5 * * * * /usr/local/bin/7dtd.sh start "!" NOTE: You didn't include a full path to where 7dtd.sh was located which means the root crontab simply could not execute it because the default schedule does not have a search path environment variable defined. You could specify the full path like I did but if there are any programs in the script that do not explicitly specify the full path, they would also fail. Having the environment path variable defined helps prevent failure like this but also increases the security risk for hijacked commands but it is a low risk. Reference Post LHammonds
  11. LHammonds

    A16 Valmod Pack

    @Valmod, on your first post, you have a photobucket image that will not display in the section called "Example Install Photo:" You'll need to transfer that image to a different image host or upload it directly to this forum. I run a dedicated 7dtd server on Ubuntu Server 16.04 and have ValMod Overhaul + Compopack installed. Works just fine. When you connect to the server, each client must also have ValMod Overhaul installed. If using Compopack, that does not need to be installed on the client. LHammonds
  12. Awesome. Thanks for sharing Starvation with us. Got it installed, seems to be working. Died in 1st 5 minutes of the game. * Realistic (checked off) Sincerely, LHammonds
  13. What version of the scripts are you running? What version was the server? What operating system is the scripts running on? I did not have an issue running "7dtd.sh upgradeengine" when going from 16.2 to 16.3. LHammonds
  14. No sir. If I wrote an install script, it would likely only work for this one specific version and only in the exact way I would set it up. Since this is something VERY few people would do, I'd kinda be wasting my time doing it. This was more of an exercise in seeing if I could do it. But in a real-world scenario, I'd rather not maintain manual installs like this. I'd much rather just have a 2nd instance of the server running so that my "vanilla" server could be mostly hands-free when it comes to running and updating it. The modded server will still need to be manually updated with the mods but at least the upgrade process of the game engine would still be handled by alloc's scripts making it less complicated. The notes I made should help you with a 2nd, 3rd, etc. instance though. Keep in mind that there is no RAM/CPU performance gains having multiple engines on the same server...it will still consume every bit as much RAM/CPU for each version of the engine you are running as if it were running individually. Meaning, if each server engine needs 6 GB to run smoothly, you will need at least 12 GB for two running, or at least 18 GB for three, etc. LHammonds EDIT 1: Could have swore there was another script conversation going on. I must be going senile in my old age. EDIT 2: Yep, senile. Was a different thread.
  15. I wonder if it would be possible at some point to "link" servers together similar to how Spigot does for Minecraft. Imagine joining a single server from the server list and it is a "hub world" where you can jump into multiple other servers via teleportation...such as one with PVP, one with PVE, etc. but everyone can chit-chat on the screen between the servers. Admins/Moderators able to handle multiple servers at one time. :-) EDIT: Sorry, thought I was in the PC "multiplayer"...good luck. LHammonds
  • Create New...