RE: [hlds_linux] Which distro / How many servers?

2003-03-13 Thread Marius
> On Thu, 2003-03-13 at 16:21, Kevin J. Anderson wrote:
> > hmmm, almost all of my nics use intel's e100 driver, IE not mii
> dependant ;/
> > anyone have any idea on how to get the said info? I dont really need it,
> but
> > just for knowledges sake ; )
> >
> > kev
> >
>
> No idea sorry.
>
>
> Specifying media type with ifconfig work?

Here is the readme for the e100 driver:
ftp://aiedownload.intel.com/df-support/2896/ENG/e100.txt

There is also a SNMP agent and some vlan stuff (iANS)

---
marius

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Mad Scientist

Andy Hodges said:
> Settle down batman.

LOL! Never been called *that* before!

> It's a test server. I don't care if it's hacked. I
> am trying to get my CPU usage fixed.

Still, a bad habit... my test boxes are identical to prod.  The problem
may be that the root user has special logging causing excess CPU. You
should test in a world that looks just like the final. Otherwise, what are
you testing?


___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Stefan Huszics
Andy Hodges wrote:

Settle down batman. It's a test server. I don't care if it's hacked. I am
trying to get my CPU usage fixed.

But the people being victimes of a DOS attack involving your hacked
server might care a bit ;)
--
/Stefan
Software never has bugs. It just develops random features. =)

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Jeremy Brooking
On Thu, 2003-03-13 at 14:59, Andy Hodges wrote:
> Settle down batman. It's a test server. I don't care if it's hacked. I am
> trying to get my CPU usage fixed.
>


You are missing the point regarding insecure servers though. I dont care
if you get hacked either, I do care however when some form of DoS is
launched against networks services I use, or my network services, come
from your hacked machine.

Its a 'courtesy' thing more than anything, that OC48 has the potential
to take down a lot. Remember you are sharing the net with millions of
us.

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Andy Hodges
Settle down batman. It's a test server. I don't care if it's hacked. I am
trying to get my CPU usage fixed.

-Andy

- Original Message -
From: "Mad Scientist" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 8:55 PM
Subject: Re: [hlds_linux] Which distro / How many servers?


> >  1374 root  19   0 63452  61M  4448 S19.2 28.1   1:02 hlds
>
> Christ. How many times have we talked about the danger of running hlds as
> root on this list? This is not just academic, it is a real threat. Within
> the past couple of months people once again found ways to compromise very
> common plugins and take over the box. ARGH!
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Mad Scientist
>  1374 root  19   0 63452  61M  4448 S19.2 28.1   1:02 hlds

Christ. How many times have we talked about the danger of running hlds as
root on this list? This is not just academic, it is a real threat. Within
the past couple of months people once again found ways to compromise very
common plugins and take over the box. ARGH!


___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Andy Hodges
Thanks Jeremy. I ran those mii-tool parameters..

I'll report back on what I find.

-Andy

- Original Message -
From: "Jeremy Brooking" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 8:49 PM
Subject: Re: [hlds_linux] Which distro / How many servers?


> On Thu, 2003-03-13 at 14:30, Andy Hodges wrote:
> > Ok, this is a copy from the TOP program in Linux.  There are 8 people on
the
> > CS server, and the CPU is at 19% right now.
>
> First off, run hlds as a user :)
>
> Also, id get rid of bind, if its not 'needed'
>
> Both are potential security issues.
>
> Other than that it 'appears' normal.
>
>
> mii-tool
>
> Check the output of that. Often you will find that cards negotiate at
> half duplex. mii-tool should output something along the lines of
>
> eth0: 100 Mbit, full duplex, link ok
>
> Of course depending on what card/link speed you have.
>
>
> mii-tool -F 100baseTx-FD
>
> Will force your card into 100meg full duplex.
>
> If theres a speed/duplex mismatch on your link from the server, cpu use
> can increase drastically as network traffic goes up. Common sign of
> mismatch is lots of carrier errors on the output of ifconfig.
>
>
> Now I am not saying this is the answer, its simply some input based on
> experience :)
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Jeremy Brooking
On Thu, 2003-03-13 at 14:30, Andy Hodges wrote:
> Ok, this is a copy from the TOP program in Linux.  There are 8 people on the
> CS server, and the CPU is at 19% right now.

First off, run hlds as a user :)

Also, id get rid of bind, if its not 'needed'

Both are potential security issues.

Other than that it 'appears' normal.


mii-tool

Check the output of that. Often you will find that cards negotiate at
half duplex. mii-tool should output something along the lines of

eth0: 100 Mbit, full duplex, link ok

Of course depending on what card/link speed you have.


mii-tool -F 100baseTx-FD

Will force your card into 100meg full duplex.

If theres a speed/duplex mismatch on your link from the server, cpu use
can increase drastically as network traffic goes up. Common sign of
mismatch is lots of carrier errors on the output of ifconfig.


Now I am not saying this is the answer, its simply some input based on
experience :)

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Which distro / How many servers?

2003-03-12 Thread Andy Hodges
You know, I'm gonna try Kernel 2.4.9 because everyone is saying it was
better. I'll post results.

-Andy

- Original Message -
From: "Ronin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 8:25 PM
Subject: Re: [hlds_linux] Which distro / How many servers?


> I currently run, under Windows *ducks on the Linux list* a P4 1.8GHz with
> 1.3GB of RAM 5 servers (4 18 player servers, and 1 12 player server), and
> even with 4 of the 5 servers full, I see about 65% CPU usage.  This is
> running Win2k Adv Server, btw.  Seems something strange is going on with
the
> kernel compile, or as was suggested, some are more optimized than others
to
> run the HLDS thread better.
> - Original Message -
> From: "Phillip Meents" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 5:20 PM
> Subject: Re: [hlds_linux] Which distro / How many servers?
>
>
> >
> > You may actually want to try heading back a couple of kernels, I have
> > noticed that the 2.4.9 kernel seems to have better optimized code for
> > the hlds. Also, part of the problem could be the Celeron 1.7, I have run
> > p4 1.7s, Celeron 1.7s and p4 2.0s. The p4 2.0 was considerably better
> > than the two 1.7s with the ability to support 2 32 person servers
> > comfortably. The P4 1.7 I have been using has held up well with 2 20
> > person servers, comfortably. I say comfortably because there are small
> > lag increases as the servers get full, but they don't spike. The 2
> > celeron 1.7s we run can barely handle a single 20 person server with
> > other small processes running (httpd for psychostats). The operating
> > system could have also played a part in the problems with the Celeron
> > 1.7s, our Celeron 1.7s run redhat 8.0 and the p4s run redhat 7.2. If
> > moving back to an older operating system is an option, I would say give
> > it a shot, Our RH 7.2 servers run better than our RH 8.0 servers.
> >
> > Phillip Meents
> > V4hosting.net
> > [EMAIL PROTECTED]
> >
> > P.S. Area 51 was a nice set of servers, used to play on them a couple of
> > years ago. Hope everything is still cool with Area51live. Hope to see
> > you on this list a bit more often.
> >
> >
> > From: "Andy Hodges" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Subject: Re: [hlds_linux] Which distro / How many servers?
> > Date: Wed, 12 Mar 2003 19:59:34 -0500
> > Reply-To: [EMAIL PROTECTED]
> >
> > Also - It runs fine with TFC.. CPU usage for 20 people is about 15%.
> >
> > However, CS.. CPU usage spikes all the way to 95% with 20 people.
> >
> > Strange.
> >
> > -Andy
> >
> > - Original Message -
> > From: "DaiTengu" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 12, 2003 7:43 PM
> > Subject: Re: [hlds_linux] Which distro / How many servers?
> >
> >
> > > On Wednesday 12 March 2003 06:16 pm, Andy Hodges wrote:
> > > > For years many admins have stated, "I can't believe that you're
> > using a
> > > > Windows server for HLDS! You are crazy!" and "Linux is so much
> > faster
> > than
> > > > Windows. You're dumb."
> > > >
> > > > Ok, so I tried Linux. Linux is running slower than Windows. Running
> > either
> > > > TFC or CS, it's plain slower. I had one fellow email me and say,
> > "That's
> > > > impossible! I can run 4 servers on one of my Linux boxes and it's
> > only a
> > > > 1.3 ghz Celeron! My CPU only reaches 20% at the most when all 4 are
> > full!"
> > > >
> > > > I can run 2, 20 player servers on one Windows 950mhz machine. With
> > CPU
> > > > usage being steady at around 50% - 70% which is very reasonable.
> > > >
> > > > However, on my Linux, CPU usage goes up to 60% with 18 people on it!
> > 1
> > > > server running! What is the deal?
> > > >
> > > > So as a last resort, I thought I would ask you Linux gurus if
> > there's
> > > > something I am doing wrong. I've tried this with 2
> > seperate/different
> > > > systems, different data centers, and different ISPs.
> > > >
> > > > 1.7 GHZ Celeron
> > > > RedHat 7.3
> > > > 256 mb (I only want to run 1 server for now, but can't even get 20
> > people
> > > > playable without