Mapchange

HypergripHypergrip SuspectGermany Join Date: 2002-11-23 Member: 9689Members, NS1 Playtester, Contributor
<div class="IPBDescription">server need over a minute!</div> Hi pll.

Our new server has very nice pings and is as good as lag free even when full (max 18 slots).
But the server needs a lot of time for mapchange (i stopped 64 sec.).. doesn't give that annoying "Connection Problem detected" but the long loading time causes some players go to another server.
I don't have access to the server logs (not yet... didn't reach a supporter, cause they're busy migrating to a new RZ), only thing i can tell you is that NS runs quite smoothly and server takes the save ammount of time for mapchange no matter how many players ore currently on the server.

I hope i get gather a bit more of information, but right now I'm just interessted if anybody encoutered such a problem, too.

Server-IP: 212.20.133.49:27010
Password: public
NS 1.04
Clanmod: 1.81.11 beta
Cheating-Death: 2.8.0
Server-Location: Hamburg, Germany

Note: the server will be down from 17.4. to 19.4. and will get a new IP, i'll post it here once i get it.

thx for any comment/help

Hyper

Comments

  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    Check for a file called <b>custom.hpk</b> in your NS directory.

    It's the collection of custom spraypaints that people playing on your server have used. If it gets big (over a meg or so) it can seriously slow down map changes. Feel free to delete this file, as HL doesn't actually need it. However, it will recreate it when people with custom sprays connect to ya.

    I know there's a server variable that limits the size of custom.hpk, but I can't remember it right now. It's something like hpk_sizelimit or something. you follow it up with how many megs you want to let your hpk grow to, and when it hits the limit, HL deletes it for you. I have mine set to .5
  • HypergripHypergrip Suspect Germany Join Date: 2002-11-23 Member: 9689Members, NS1 Playtester, Contributor
    thx for the hint, but my custom.hpk is only 274kb so i think there must be another problem <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    Well, you're right about that! 274kb shouldn't give you any problems at all.

    Do you have access to the server itself? ...as in can you get to the desktop and tell if the processor is pegged out at 100%?

    Also, try fiddling with your plugins. drop metamod and see if it still takes forever. Then add it back in, but no plugins. Then add CD, then add Clanmod. See where the problem is.

    If you're getting the long mapchanges with a bare HL/NS installation, then something is wrong with the server itself.

    I know these are things you've probably already done, but on the offchance that you haven't I'd love to hear the results. I do tech support, so I'm used to dealing with folks who don't know anything about troubleshooting . <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • HypergripHypergrip Suspect Germany Join Date: 2002-11-23 Member: 9689Members, NS1 Playtester, Contributor
    I don't have access to the server itself, just FTP and rcon.

    My first thought was, that i could be the .res files i put in the map directory (put a few custom sounds into Clanmod that players had to download when they first connect to our server... about 200k), but after removing them, the server still takes that long to change the map <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->

    I'll see how the server reacts without any plugins now and report back then.
    btw: what is the default place/filename for the server's logfile when setting "log on"?
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    I don't know how much RAM you have but I wouldn't suggest anything under 256Mb on a server.
  • CoREJayFiveCoREJayFive Join Date: 2003-02-12 Member: 13479Members, Constellation
    <!--QuoteBegin--Hypergrip+Apr 16 2003, 11:49 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hypergrip @ Apr 16 2003, 11:49 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> btw: what is the default place/filename for the server's logfile when setting "log on"? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    ns/logs
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    You can also redirect the log files across the net to another PC. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • HypergripHypergrip Suspect Germany Join Date: 2002-11-23 Member: 9689Members, NS1 Playtester, Contributor
    According to the Server-Admin the RAM usage is about 0,8%.. i don't think that's the Problem.

    I tested the server with and without MetaMod+Clanmod+CheathingDeath.
    Here are the results (Time stopped from the appearing of the "Loading" on screen until spawning in the Readyroom):

    liblist.gam -> gamedll_linus "dlls/ns_i386.so":
    0:57 Min.
    Because somehow (maybe a bug in ns??) when i use "rcon map ns_something" i have to reconnect manually to the server, i used rcon mp_timelimit 3 and waited to get a porper result.

    liblist.gam -> gamedll_linus "addons/metamod/dlls/metamod_i386.so":
    1:01 Min.
    Here iI used the ClanMod "Change Map" to change.


    As you can see the time are both close to each other.. and very high!!
    On another Server (running MetaMod, Clanmod and CD, too) the mapchange took me only:
    0:21 Min.
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    edited April 2003
    if you use "rcon changelevel ns_bast" instead of "rcon map ns_bast" it won't disconnect you.

    Um, I dunno. At this point it may be something that you want to take up with your server host. Try a reinstall of HL/NS?

    Anyone else? Ideas?
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    edited April 2003
    <!--QuoteBegin--Hypergrip+Apr 16 2003, 01:44 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Hypergrip @ Apr 16 2003, 01:44 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Because somehow (maybe a bug in ns??) when i use "rcon map ns_something" i have to reconnect manually to the server, i used rcon mp_timelimit 3 and waited to get a porper result. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Use the command "changelevel" when changing maps on the server. This will keep connections.
    The command "map" will kick all clients and then proceed to change map.

    EDIT: PetitMorte beat me by a few seconds....
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    <!--QuoteBegin--[MOM]Boris+Apr 16 2003, 02:36 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([MOM]Boris @ Apr 16 2003, 02:36 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> EDIT: PetitMorte beat me by a few seconds.... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Neener neener neener!

    postcount++
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    It would help immensly to be able to view the console output when the map changes. That way, you can see exactly what HLDS is doing when the delay takes place. Any chance you can convicne your admin to give you access, or have your admin watch the console output?

    What kind of hard drive is it? There's a lot of reads taking place at a map change, so if you server has a slow or busy hard drive, the change will take a long time.
  • Scum_of_the_UniverseScum_of_the_Universe Join Date: 2003-02-06 Member: 13174Members
    <!--QuoteBegin--verbose+Apr 16 2003, 11:36 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (verbose @ Apr 16 2003, 11:36 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> It would help immensly to be able to view the console output when the map changes. That way, you can see exactly what HLDS is doing when the delay takes place. Any chance you can convicne your admin to give you access, or have your admin watch the console output?

    What kind of hard drive is it? There's a lot of reads taking place at a map change, so if you server has a slow or busy hard drive, the change will take a long time. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Also a fragmented file system would slow things down. Is the server running windows?
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    <!--QuoteBegin--Scum of the Universe+Apr 16 2003, 06:52 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Scum of the Universe @ Apr 16 2003, 06:52 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Also a fragmented file system would slow things down. Is the server running windows?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Nope:
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->liblist.gam -> gamedll_linus "dlls/ns_i386.so":<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I assume the actual file has "gamedll_linux" and not "gamedll_linus" (go Torvalds!) <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • Scum_of_the_UniverseScum_of_the_Universe Join Date: 2003-02-06 Member: 13174Members
    <!--QuoteBegin--verbose+Apr 16 2003, 11:59 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (verbose @ Apr 16 2003, 11:59 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Scum of the Universe+Apr 16 2003, 06:52 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Scum of the Universe @ Apr 16 2003, 06:52 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Also a fragmented file system would slow things down. Is the server running windows?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Nope:
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->liblist.gam -> gamedll_linus "dlls/ns_i386.so":<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I assume the actual file has "gamedll_linux" and not "gamedll_linus" (go Torvalds!) <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    whoops!
  • HypergripHypergrip Suspect Germany Join Date: 2002-11-23 Member: 9689Members, NS1 Playtester, Contributor
    First: yes the original file has "linuX" in it, not "linus" *g*
    Right now i could only provide a copy of what rcom says when doing "rcon changelevel"... but i thin i could convince an admin to watch/copy the console output for me when changing maps... but afaik this output is not timestamped and mebe useless or what?

    About the harddrive i can't tell much, but i copied the technical information from their website for you:

    AMD Systeme
    Dual AMD MP 2000+ 1,66 Ghz
    1,5 GB PC 266 RAM ECC Reg. (Kingston)
    2x IBM SCSI Platten (Raid 1)
    Adaptec SCSI Raid Controller
    Tyan Server-Dual-Mainboard
    Intel 1 GBit PCI Fast Ethernet Adapter
    2HE Gehäuse mit je 4 Lüftern
    Linux-Distribution von SuSe
    Autoreboot-Sicherheit
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    correct, the console output is not timestamped. However, the admin can see what the last thing printed to the console before the delay is, which may give us a hint as to what the server is doing.

    Do you know how many other game servers are running on this computer?
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    <!--QuoteBegin--verbose+Apr 16 2003, 10:18 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (verbose @ Apr 16 2003, 10:18 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> the admin can see what the last thing printed to the console before the delay is, which may give us a hint as to what the server is doing.
    <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Exactly!

    My server has massive long map changes. It's more than a minute each time, and I DO get the connection problem message.

    My console shows HL loading, then meta, then my plugins, then adminmod, then it says "loading /maps/bast.wpt" It sits there for a minute or two just loading up the freaking waypoint files for the rcbot that I'm running. I know this because I can see the console.
Sign In or Register to comment.