|
Dedicated Server Discuss technical issues related to hosting your own servers. |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
problem with server
ok lamster if your getting this you said i should only worry if i get the server hitch in the middle of game play right? well i did. ill show you a sample of the server launcher:23 Jul 2009 20:50:28,445] INFO: Changing map: ffa_hills
[23 Jul 2009 20:51:29,477] INFO: [Data Transfer Since Launch] Outgoing: 0.013 GB, Incoming: 0.010 GB [23 Jul 2009 20:51:29,630] INFO: Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 16.3 / 115.1 MB [23 Jul 2009 20:53:29,639] INFO: [Data Transfer Since Launch] Outgoing: 0.014 GB, Incoming: 0.010 GB [23 Jul 2009 20:53:29,795] INFO: Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 44.9 / 119.3 MB [23 Jul 2009 20:54:44,348] INFO: Handling join request from 121.253.35.220:27272 -> tf@52400d01<vaporId=46a498c6-0a06-4ec0-85ea-002f9b08dacb, nickName=donut, loggedIn=true, ip=121.253.35.220:27272, sessionId=f8595c94-58bc-44f9-bd4c-2e7118e69465> [23 Jul 2009 20:54:44,437] INFO: Adding client 'donut' from 121.253.35.220:27272, playerId=6 [23 Jul 2009 20:54:52,996] WARN: Server hitch detected: 447.0 milliseconds, free memory is 46.9 / 119.3 MB [23 Jul 2009 20:55:29,800] INFO: [Data Transfer Since Launch] Outgoing: 0.014 GB, Incoming: 0.011 GB [23 Jul 2009 20:55:29,953] INFO: Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 43.8 / 119.3 MB [23 Jul 2009 20:56:31,493] INFO: Server got disconnect request from Client[name=[J.C.]Technician, ip=192.168.1.103:27273, playerId=3] [23 Jul 2009 20:56:31,494] INFO: Removing client '[J.C.]Technician' from 192.168.1.103:27273, playerId=3, message: null [23 Jul 2009 20:56:45,942] INFO: Handling join request from 97.100.81.43:27272 -> tf@4c23807<vaporId=d345edf5-a4cb-41de-9355-2fade019b46e, nickName=yodaSidious, loggedIn=true, ip=97.100.81.43:27272, sessionId=f1528f4c-fbaf-4b6e-a75b-75b8e7436b71> [23 Jul 2009 20:56:46,027] INFO: Adding client 'yodaSidious' from 97.100.81.43:27272, playerId=4 [23 Jul 2009 20:57:29,956] INFO: [Data Transfer Since Launch] Outgoing: 0.015 GB, Incoming: 0.011 GB [23 Jul 2009 20:57:30,108] INFO: Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 26.1 / 119.3 MB [23 Jul 2009 20:57:41,414] INFO: Changing map: info_on_jc_servers [23 Jul 2009 20:57:41,764] INFO: Changing map: display_message [23 Jul 2009 20:57:41,775] ERROR: Failed to decompose: (4.0,0.0), (320.0,0.0), (348.0,-4.0), plus 28 more... java.lang.RuntimeException: VP_ErrorRight what do i do? |
#2
|
|||
|
|||
You should only worry if you see the warnings regularly. If you're doing anything else on the machine, like watching video or playing a game, that could cause the server to temporarily stutter; a single hitch is nothing to worry about. If you're seeing them regularly your machine is under too much load: you may be running too many servers/bots for your machine to handle. You should be especially wary of bots -- the bot code is very poorly optimized at the moment so you should keep your bot counts low.
|
#3
|
|||
|
|||
ok
thanks i have 10 servers and god knows how many bots running on those servers. |
#4
|
|||
|
|||
Server hitch detected and memory falling... why?
I have the same problem, and those things occur all the time.
As one can see, the free memory is falling all the time. Anyone knows why? CPU is close to idle - no load. 1 GB av free RAM. Running a dedicated DELL server in a server hall, 100/100Mbit. [port 27278] [29 jun 2010 22:57:41,390] WARN: Server hitch detected: 407.0 milliseconds, free memory is 30,2 / 103,7 MB [port 27276] [29 jun 2010 22:57:41,406] WARN: Server hitch detected: 416.0 milliseconds, free memory is 30,1 / 103,7 MB [port 27276] [29 jun 2010 22:57:42,078] WARN: Server hitch detected: 528.0 milliseconds, free memory is 29,6 / 103,7 MB [port 27276] [29 jun 2010 22:57:44,375] WARN: Server hitch detected: 587.0 milliseconds, free memory is 27,8 / 103,7 MB [port 27276] [29 jun 2010 22:57:46,765] WARN: Server hitch detected: 578.0 milliseconds, free memory is 25,5 / 103,7 MB [port 27278] [29 jun 2010 22:57:46,781] WARN: Server hitch detected: 462.0 milliseconds, free memory is 25,5 / 103,7 MB [port 27276] [29 jun 2010 22:57:48,265] WARN: Server hitch detected: 586.0 milliseconds, free memory is 24,4 / 103,7 MB [port 27276] [29 jun 2010 22:57:49,031] WARN: Server hitch detected: 555.0 milliseconds, free memory is 28,9 / 103,7 MB [port 27278] [29 jun 2010 22:57:53,812] WARN: Server hitch detected: 464.0 milliseconds, free memory is 24,8 / 103,7 MB [port 27276] [29 jun 2010 22:57:53,828] WARN: Server hitch detected: 472.0 milliseconds, free memory is 24,8 / 103,7 MB [port 27276] [29 jun 2010 22:57:57,781] WARN: Server hitch detected: 582.0 milliseconds, free memory is 26,8 / 103,7 MB [port 27278] [29 jun 2010 22:57:57,796] INFO: Unresponsive client Client[name=Artjom809, ip=87.164.72.207:27272, playerId=18]; 20098.0 milliseconds since keep-alive received [port 27278] [29 jun 2010 22:57:57,796] INFO: Removing client 'Artjom809' from 87.164.72.207:27272, playerId=18, message: Connection to game server timed out [port 27276] [29 jun 2010 22:58:03,671] WARN: Server hitch detected: 516.0 milliseconds, free memory is 25,7 / 103,7 MB [port 27276] [29 jun 2010 22:58:04,218] WARN: Server hitch detected: 482.0 milliseconds, free memory is 25,3 / 103,7 MB [port 27276] [29 jun 2010 22:58:04,781] WARN: Server hitch detected: 401.0 milliseconds, free memory is 25,0 / 103,7 MB [port 27276] [29 jun 2010 22:58:07,593] WARN: Server hitch detected: 494.0 milliseconds, free memory is 23,1 / 103,7 MB [port 27278] [29 jun 2010 22:58:07,593] WARN: Server hitch detected: 497.0 milliseconds, free memory is 23,1 / 103,7 MB [29 jun 2010 22:58:08,921] INFO: [Data Transfer Since Launch] Outgoing: 0,932 GB, Incoming: 0,519 GB [port 27278] [29 jun 2010 22:58:08,937] WARN: Server hitch detected: 573.0 milliseconds, free memory is 22,2 / 103,7 MB [port 27276] [29 jun 2010 22:58:08,953] WARN: Server hitch detected: 582.0 milliseconds, free memory is 22,1 / 103,7 MB [29 jun 2010 22:58:09,234] INFO: Update check result: LOCAL_VERSION_IS_UP_TO_DATE, free memory: 21,9 / 103,7 MB [port 27278] [29 jun 2010 22:58:09,609] WARN: Server hitch detected: 566.0 milliseconds, free memory is 21,8 / 103,7 MB [port 27276] [29 jun 2010 22:58:09,625] WARN: Server hitch detected: 576.0 milliseconds, free memory is 21,7 / 103,7 MB [port 27278] [29 jun 2010 22:58:10,343] WARN: Server hitch detected: 628.0 milliseconds, free memory is 21,4 / 103,7 MB [port 27276] [29 jun 2010 22:58:10,359] WARN: Server hitch detected: 641.0 milliseconds, free memory is 21,1 / 103,7 MB [port 27276] [29 jun 2010 22:58:16,109] WARN: Server hitch detected: 539.0 milliseconds, free memory is 20,4 / 103,7 MB [port 27276] [29 jun 2010 22:58:18,593] WARN: Server hitch detected: 537.0 milliseconds, free memory is 23,1 / 103,7 MB [port 27278] [29 jun 2010 22:58:20,640] WARN: Server hitch detected: 564.0 milliseconds, free memory is 21,9 / 103,7 MB [port 27276] [29 jun 2010 22:58:20,656] WARN: Server hitch detected: 578.0 milliseconds, free memory is 21,7 / 103,7 MB [port 27278] [29 jun 2010 22:58:20,656] INFO: Server got disconnect request from Client[name=Honn, ip=85.5.177.253:58144, playerId=8] [port 27278] [29 jun 2010 22:58:20,656] INFO: Removing client 'Honn' from 85.5.177.253:58144, playerId=8, message: null [port 27276] [29 jun 2010 22:58:24,937] WARN: Server hitch detected: 573.0 milliseconds, free memory is 23,3 / 103,7 MB [port 27278] [29 jun 2010 22:58:24,937] WARN: Server hitch detected: 579.0 milliseconds, free memory is 23,2 / 103,7 MB [port 27278] [29 jun 2010 22:58:28,109] WARN: Server hitch detected: 583.0 milliseconds, free memory is 20,3 / 103,7 MB [port 27278] [29 jun 2010 22:58:28,109] INFO: Unresponsive client Client[name=BURP, ip=24.79.17.147:27272, playerId=17]; 151 updates written without response [port 27278] [29 jun 2010 22:58:28,109] INFO: Removing client 'BURP' from 24.79.17.147:27272, playerId=17, message: Connection to game server timed out [port 27276] [29 jun 2010 22:58:28,109] WARN: Server hitch detected: 593.0 milliseconds, free memory is 20,1 / 103,7 MB [port 27276] [29 jun 2010 22:58:37,453] WARN: Server hitch detected: 407.0 milliseconds, free memory is 19,0 / 103,7 MB [port 27278] [29 jun 2010 22:58:37,453] WARN: Server hitch detected: 411.0 milliseconds, free memory is 19,0 / 103,7 MB [port 27276] [29 jun 2010 22:58:39,203] WARN: Server hitch detected: 580.0 milliseconds, free memory is 17,6 / 103,7 MB [port 27278] [29 jun 2010 22:58:39,203] WARN: Server hitch detected: 581.0 milliseconds, free memory is 17,5 / 103,7 MB [port 27276] [29 jun 2010 22:58:39,937] WARN: Server hitch detected: 575.0 milliseconds, free memory is 17,2 / 103,7 MB [port 27278] [29 jun 2010 22:58:39,953] WARN: Server hitch detected: 577.0 milliseconds, free memory is 17,1 / 103,7 MB [port 27278] [29 jun 2010 22:58:41,421] WARN: Server hitch detected: 410.0 milliseconds, free memory is 21,6 / 103,7 MB [port 27276] [29 jun 2010 22:58:41,437] WARN: Server hitch detected: 415.0 milliseconds, free memory is 21,4 / 103,7 MB [port 27276] [29 jun 2010 22:58:51,390] WARN: Server hitch detected: 568.0 milliseconds, free memory is 19,4 / 103,7 MB [port 27278] [29 jun 2010 22:58:51,390] WARN: Server hitch detected: 572.0 milliseconds, free memory is 19,4 / 103,7 MB [port 27278] [29 jun 2010 22:58:53,390] WARN: Server hitch detected: 512.0 milliseconds, free memory is 18,0 / 103,7 MB [port 27276] [29 jun 2010 22:58:53,406] WARN: Server hitch detected: 522.0 milliseconds, free memory is 17,9 / 103,7 MB [port 27278] [29 jun 2010 22:59:00,703] WARN: Server hitch detected: 574.0 milliseconds, free memory is 17,1 / 103,7 MB [port 27276] [29 jun 2010 22:59:00,718] WARN: Server hitch detected: 578.0 milliseconds, free memory is 17,0 / 103,7 MB [port 27278] [29 jun 2010 22:59:02,171] WARN: Server hitch detected: 574.0 milliseconds, free memory is 16,3 / 103,7 MB [port 27276] [29 jun 2010 22:59:02,171] WARN: Server hitch detected: 584.0 milliseconds, free memory is 16,3 / 103,7 MB [port 27278] [29 jun 2010 22:59:15,468] WARN: Server hitch detected: 460.0 milliseconds, free memory is 16,0 / 103,7 MB [port 27276] [29 jun 2010 22:59:15,484] WARN: Server hitch detected: 466.0 milliseconds, free memory is 15,9 / 103,7 MB [port 27278] [29 jun 2010 22:59:16,765] WARN: Server hitch detected: 515.0 milliseconds, free memory is 15,1 / 103,7 MB [port 27276] [29 jun 2010 22:59:16,781] WARN: Server hitch detected: 527.0 milliseconds, free memory is 14,9 / 103,7 MB [port 27278] [29 jun 2010 22:59:21,906] WARN: Server hitch detected: 440.0 milliseconds, free memory is 15,1 / 103,7 MB [port 27276] [29 jun 2010 22:59:21,921] WARN: Server hitch detected: 444.0 milliseconds, free memory is 15,1 / 103,7 MB [port 27278] [29 jun 2010 22:59:24,484] WARN: Server hitch detected: 476.0 milliseconds, free memory is 12,9 / 103,7 MB [port 27276] [29 jun 2010 22:59:24,500] WARN: Server hitch detected: 483.0 milliseconds, free memory is 12,8 / 103,7 MB [port 27276] [29 jun 2010 22:59:25,250] WARN: Server hitch detected: 467.0 milliseconds, free memory is 12,4 / 103,7 MB [port 27278] [29 jun 2010 22:59:25,250] WARN: Server hitch detected: 471.0 milliseconds, free memory is 12,4 / 103,7 MB [port 27278] [29 jun 2010 22:59:26,625] INFO: Handling join request from 82.224.22.137:27272 -> vT@69942fa5<vaporId=1c642580-7a82-4e14-af45-90e5a037d4f7, nickName=*STO* moulette, loggedIn=true, ip=82.224.22.137:27272> [port 27278] [29 jun 2010 22:59:26,734] INFO: Adding client '*STO* moulette' from 82.224.22.137:27272, playerId=8 [port 27276] [29 jun 2010 22:59:37,015] WARN: Server hitch detected: 467.0 milliseconds, free memory is 13,6 / 103,7 MB [port 27278] [29 jun 2010 22:59:37,015] WARN: Server hitch detected: 472.0 milliseconds, free memory is 13,5 / 103,7 MB [port 27278] [29 jun 2010 22:59:39,296] INFO: Handling join request from 137.164.121.66:27272 -> vT@dfcb957e<vaporId=792385d8-1c5d-468d-b02a-15150a9f431f, nickName=IL|{ball} tgleaf, loggedIn=true, ip=137.164.121.66:27272> [port 27278] [29 jun 2010 22:59:39,546] INFO: Adding client 'IL|{ball} tgleaf' from 137.164.121.66:27272, playerId=14 [port 27278] [29 jun 2010 22:59:40,265] INFO: Server got disconnect request from Client[name=MANHILL, ip=79.212.134.42:27272, playerId=7] [port 27278] [29 jun 2010 22:59:40,265] INFO: Removing client 'MANHILL' from 79.212.134.42:27272, playerId=7, message: null [port 27278] [29 jun 2010 22:59:45,828] WARN: Server hitch detected: 530.0 milliseconds, free memory is 11,9 / 103,7 MB [port 27276] [29 jun 2010 22:59:45,828] WARN: Server hitch detected: 539.0 milliseconds, free memory is 11,8 / 103,7 MB [port 27276] [29 jun 2010 22:59:46,390] WARN: Server hitch detected: 414.0 milliseconds, free memory is 11,3 / 103,7 MB [port 27278] [29 jun 2010 22:59:47,203] WARN: Server hitch detected: 489.0 milliseconds, free memory is 10,9 / 103,7 MB [port 27276] [29 jun 2010 22:59:47,218] WARN: Server hitch detected: 501.0 milliseconds, free memory is 10,7 / 103,7 MB [port 27276] [29 jun 2010 22:59:47,890] WARN: Server hitch detected: 415.0 milliseconds, free memory is 10,2 / 103,7 MB |
#5
|
|||
|
|||
Could be way too many bots and/or server instances running in the allocated space (by default the server_launcher restricts itself to 128 MB of game-related memory). How many servers/bots are you running, and which maps are the servers running when the problems occur?
|
#6
|
|||
|
|||
Quote:
The bot settings are at default, so thats 6 max per server - right? I havent noticed any special map, but I will look out for it. But three servers, running on a dedicated rack server (dell), in a server hall with 100/100, no CPU-usage and 1.1GB of free ram should be able to handle it? |
#7
|
|||
|
|||
I think the default bot count is 2 per server -- you might want to set it back to see if that helps.
Generally speaking, your setup should be more than enough for 3 12-man servers. Do the servers eventually run out of memory altogether and stop? Have you checked the status of the machines when the server hitches occur? Are all 3 servers full at those times? Are any other applications running on the server at those times? To increase the memory available to your server: Use notepad to create a file with a single line -Xmx512m and save this file to C:/Program Files/Altitude/altitude.vmoptions |
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
Unfortunately I don't think the .vmoptions files work on Mac. I'll let you know if that changes.
|
#10
|
|||
|
|||
fail 1k post
|
#11
|
|||
|
|||
Crossover games I suppose could work with vmoptions but I like to run servers with Palp so I'm not sure it'd be worth it for the extra memory :_
|
#12
|
|||
|
|||
By any chance, is there a file inside the .app that I can edit or in the jar, etc. Im stupid with this kind of stuff but isnt there another file that I can edit to change the memory for mac?
|
#13
|
|||
|
|||
Lone Wolf sent along this helpful VM configuration info for Mac users:
To make the server launcher run as headless: Edit the default info.plist inside of the server launcher app package. /Applications/Altitude/server_launcher.app/info.plist look for a <key>Properties</key> <dict> section add this underneath it: <key>java.awt.headless</key> <string>true</string> With these changes you can execute the following without a GUI popping up: /Applications/Altitude/server_launcher.app/Contents/MacOS/JavaApplicationStub To adjust the memory available to the server process on Mac: look for the string: <key>VMOptions</key> <string>-Xms64M -Xmx128M</string> change it like you would in the windows vm options. I use a launch daemon to automatically start the servers and it works flawlessly: screen -dmS 'altiserver' /Applications/Altitude/server_launcher.app/Contents/MacOS/JavaApplicationStub Launched this way the server won't flood the console and runs in the background. |
|
|