You be the server admin

Post your tips, ideas for improvements, requests for new features, etc. here
Locked
Lokey
-2 Penalty in Daylight
Posts: 3094
Joined: Mon Dec 16, 2002 6:49 pm
Contact:

You be the server admin

Post by Lokey »

Since we really don't want to wait the two years or so it'll take for mining to get a system architecture class, shopping around for some knowledge lacking among the team.

NS4 is on a linux server. We're good there, plenty of knowledge for using stuff and tracking down issues, plenty of knowledge of what happens after it leaves that system. Lacking for system architecture/application knowledge, and shopping for answers to a few questions.

We use a screen tty to run nwserver and ld_preload a network handler and nwnx onto that (standard procedure), stdin/out is suppressed through nwserver flag--not sure if that really works or helps much, new screen version has problems reattaching usefully. Rare for a game nwserver is compiled with debug (well that was a happy accident I think). We use the standard ulimit = nothing and sic gdb on the process if we really need to track something down (rarely), because we can't make heads or tails of a stack dump anyway :)

Nutshell server info:
OS: Ubuntu 10.04LTS. 2.6.32pae kernel (last I checked don't think 3 is in general release yet).
Hardware was checked for linux friendliness, I can find the details if needed, just mobo/cpu/disks, nothing exciting.

So specific questions that are plaguing us:
- If you loop a script to that involves setting ld_preload, do you need to unset it for the next loop or will it die with the process? (Note this is in a screen session.) Would it hurt to just throw in an unset LD_PRELOAD before setting it in the script that starts the server?

- Does chase smell bad when wet?

- Elven has some new magic here we want to investigate http://www.nwnx.org/phpBB2/viewtopic.php?t=1775 cmake project for things nwnx compiled on debian. We use some of his compiles (leto is old and should be replaced but...) now. Is there a reason beyond mysql linker that things could explode? Beyond gdb, and app specific logs, what kinds of places or apps should we use to collect info to figure out why something is exploding?

There's a few more niggling details, that I'll ask when I remember them. Thx for helping ns run smoother.

Oh, nwserver was compiled on some ancient red hat install with out of date libraries for 2006. It's only available as binary, but generally runs not horribly excepting file i/o and the general shoddy game code (that's normal for a game).
Tep wrote:I login and there's a dwarf to kill. You can't ask for much more than that.
Alkapwn wrote:NC has the most amazing melee build there is. Its a friggin unstopable juggernaut of pain.

Lokey
-2 Penalty in Daylight
Posts: 3094
Joined: Mon Dec 16, 2002 6:49 pm
Contact:

Re: You be the server admin

Post by Lokey »

chase suggests

LD_DEBUG=ALL
LD_DEBUG_OUTPUT=<file location>

for netting errors, should grab everything process related.
Tep wrote:I login and there's a dwarf to kill. You can't ask for much more than that.
Alkapwn wrote:NC has the most amazing melee build there is. Its a friggin unstopable juggernaut of pain.

Rufio
PKer
Posts: 1046
Joined: Fri Jul 18, 2008 3:00 pm

Re: You be the server admin

Post by Rufio »

Hmmm... yeah, I know some of these words.
Sebastian (TSS) Doc - Rufio of (TSS) - Dagr (TSS)
Raijin {FoN} - Arcadia {FoN} - Geb {FoN}

Ryddwillow
Spamalot
Posts: 676
Joined: Mon May 17, 2004 9:31 pm

Re: You be the server admin

Post by Ryddwillow »


mining
Absentee Ballot Dev
Posts: 2411
Joined: Wed Oct 14, 2009 5:09 am

Re: You be the server admin

Post by mining »

Ryddwillow wrote:and the point?
The point is that server lag is a bad thing so we like to fix it. And when we don't know the required skillset, we outsource.
Bargeld wrote:Overall, I think most would agree that a pure rogue is probably the worst build on the server.

Locked

Return to “NS4 Ideas and Suggestions”