Re: [hlds_linux] Multiple srcds processes starting

2005-12-08 Thread Martin Zwickel
--
On Thu, 8 Dec 2005 00:14:59 +0100
Manuel Mausz [EMAIL PROTECTED] bubbled:

 ever heard of threads? - one thread is used for vac.
 the third (the first is the main proc) is the default glibc thread
 which comes up as soon as you fire up a thread.

libc thread? WTF? There is no libc thread...

--
MyExcuse:
Daemons did it

Martin Zwickel [EMAIL PROTECTED]
Research  Development

TechnoTrend AG http://www.technotrend.de
--
[ signature.asc of type application/pgp-signature deleted ]
--

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


Re: [hlds_linux] Multiple srcds processes starting

2005-12-08 Thread glenn
The problem is as follows ... uhm ... first i'll try to explain the
foretime behaviour:

We already had three processes in one server:

First proc.: we launched a screen to attach and detach the console
Second proc.: srcds_run was fired up by screen
Third proc.: the main process: srcds_amd was fired up by the srcds_run
script due to the detection auf the processor architecture.

Quite simple to boost the main process using renice to get a higher
process priority.

From now on something has changed to get five processes:

First proc.: we launched a screen to attach and detach the console
Second proc.: srcds_run was fired up by screen
Third proc.: one of three main processes: srcds_amd was fired up by the
srcds_run script due to the detection auf the processor architecture.
Fourth proc.: fired up by third proc. ... don't know why and what ... it's a
real process, not only a thread
Fifth proc.: fired up by fourth proc. ... don't know why and what ... it's a
real process, not only a thread

I don't know which process to renice ... that's the problem.

- Original Message -
 Date: Thu, 8 Dec 2005 09:09:42 +0100
 From: Martin Zwickel [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Cc: [EMAIL PROTECTED]
 Subject: Re: [hlds_linux] Multiple srcds processes starting
 Organization: Technotrend AG
 Reply-To: hlds_linux@list.valvesoftware.com


 What's the problem with 3 processes??
 I don't get the point!



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


Re: [hlds_linux] Multiple srcds processes starting

2005-12-08 Thread Martin Zwickel
--
On Thu, 8 Dec 2005 13:47:02 +0100
[EMAIL PROTECTED] bubbled:

 The problem is as follows ... uhm ... first i'll try to explain the
 foretime behaviour:

 We already had three processes in one server:

 First proc.: we launched a screen to attach and detach the console
 Second proc.: srcds_run was fired up by screen
 Third proc.: the main process: srcds_amd was fired up by the srcds_run
 script due to the detection auf the processor architecture.

 Quite simple to boost the main process using renice to get a higher
 process priority.

 From now on something has changed to get five processes:

 First proc.: we launched a screen to attach and detach the console
 Second proc.: srcds_run was fired up by screen
 Third proc.: one of three main processes: srcds_amd was fired up by
 the srcds_run script due to the detection auf the processor
 architecture. Fourth proc.: fired up by third proc. ... don't know
 why and what ... it's a real process, not only a thread
 Fifth proc.: fired up by fourth proc. ... don't know why and what ...
 it's a real process, not only a thread

 I don't know which process to renice ... that's the problem.

What about nice?! Like set prio of -10:
nice -n -10 ./srcds_run ...
That whould give also the childs the prio.

Another way:
ps + grep + sed, or awk...

So there is no real problem if you know the power of linux/unix!


Martin

--
MyExcuse:
Temporal anomaly

Martin Zwickel [EMAIL PROTECTED]
Research  Development

TechnoTrend AG http://www.technotrend.de
--
[ signature.asc of type application/pgp-signature deleted ]
--

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


[hlds_linux] Multiple srcds processes starting

2005-12-07 Thread glenn
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Alread posted in steam forum:
--- http://forums.steampowered.com/forums/showthread.php?s=threadid=374038
--- http://forums.steampowered.com/forums/showthread.php?s=threadid=375796

Same here running in a Debian Woody environment using updated glibc 2.3.2.

Starting srcds will raise three server processes instead of only one. RCON quit 
will close all three processes. Next start will fire them up again.

Second scrds is a child of first proc ... third is a child of second.

Never seen this before in history. I guess only on process is enough and will 
not waste computing power.
--



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


RE: [hlds_linux] Multiple srcds processes starting

2005-12-07 Thread Manuel Mausz
ever heard of threads? - one thread is used for vac.
the third (the first is the main proc) is the default glibc thread which comes 
up as soon as you fire up a thread.

manuel

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Thursday, December 08, 2005 12:05 AM
 To: hlds_linux@list.valvesoftware.com
 Subject: [hlds_linux] Multiple srcds processes starting


 This is a multi-part message in MIME format.
 --
 [ Picked text/plain from multipart/alternative ]
 Alread posted in steam forum:
 --- http://forums.steampowered.com/forums/showthread.php?s=threadid=374038
 --- http://forums.steampowered.com/forums/showthread.php?s=threadid=375796

 Same here running in a Debian Woody environment using updated glibc 2.3.2.

 Starting srcds will raise three server processes instead of only one. RCON 
 quit will close all three processes. Next
 start will fire them up again.

 Second scrds is a child of first proc ... third is a child of second.

 Never seen this before in history. I guess only on process is enough and will 
 not waste computing power.
 --



 ___
 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] Multiple srcds processes starting

2005-12-07 Thread JCHost.net - Support

Every single hlds1 server I ahve ever ran takes 3 process ID's including
the screen I run it on.

JC

[EMAIL PROTECTED] wrote:


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Alread posted in steam forum:
--- http://forums.steampowered.com/forums/showthread.php?s=threadid=374038
--- http://forums.steampowered.com/forums/showthread.php?s=threadid=375796

Same here running in a Debian Woody environment using updated glibc 2.3.2.

Starting srcds will raise three server processes instead of only one. RCON quit 
will close all three processes. Next start will fire them up again.

Second scrds is a child of first proc ... third is a child of second.

Never seen this before in history. I guess only on process is enough and will 
not waste computing power.
--



___
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] Multiple srcds processes starting

2005-12-07 Thread glenn
I'm not sure if threads are visible as processes.

This behaviour of multiple (three) processes is completely new and is not
concerning each and every srcds installation.

As far as i understand (after viewing the board threads in valve's forum) it
seems to be an issue regarding to the installed linux version.

I'm quite sure i had only one process in the foretime ... despite to the
VAC2 launch.

Cheers, Glenn.

- Original Message -
 From: Manuel Mausz [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Subject: RE: [hlds_linux] Multiple srcds processes starting
 Date: Thu, 8 Dec 2005 00:14:59 +0100
 Reply-To: hlds_linux@list.valvesoftware.com

 ever heard of threads? - one thread is used for vac.
 the third (the first is the main proc) is the default glibc thread which
comes up as soon as you fire up a thread.

 manuel

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  [EMAIL PROTECTED]
  Sent: Thursday, December 08, 2005 12:05 AM
  To: hlds_linux@list.valvesoftware.com
  Subject: [hlds_linux] Multiple srcds processes starting
 
 
  This is a multi-part message in MIME format.
  --
  [ Picked text/plain from multipart/alternative ]
  Alread posted in steam forum:
  ---
http://forums.steampowered.com/forums/showthread.php?s=threadid=374038
  ---
http://forums.steampowered.com/forums/showthread.php?s=threadid=375796
 
  Same here running in a Debian Woody environment using updated glibc
2.3.2.
 
  Starting srcds will raise three server processes instead of only one.
RCON quit will close all three processes. Next
  start will fire them up again.
 
  Second scrds is a child of first proc ... third is a child of second.
 
  Never seen this before in history. I guess only on process is enough and
will not waste computing power.
  --



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


RE: [hlds_linux] Multiple srcds processes starting

2005-12-07 Thread Alfred Reynolds
The number of srcds entries returned by tools such as ps depends on
the details of your kernel and threading library. SRCDS runs 2 threads,
a main thread for all the game processing and a separate Steam
communications thread. Most pthread implementations use a kernel process
per thread, and internally use one process (thread) for internal thread
management. So for srcds this would show up as 3 processes per game
server instance. Other OS's (FreeBSD?) and newer kernels may change this
threading model to not represent threads as full processes.

- Alfred

[EMAIL PROTECTED] wrote:
 I'm not sure if threads are visible as processes.

 This behaviour of multiple (three) processes is completely new and is
 not concerning each and every srcds installation.

 As far as i understand (after viewing the board threads in valve's
 forum) it
 seems to be an issue regarding to the installed linux version.

 I'm quite sure i had only one process in the foretime ... despite to
 the
 VAC2 launch.

 Cheers, Glenn.

 - Original Message -
 From: Manuel Mausz [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Subject: RE: [hlds_linux] Multiple srcds processes starting
 Date: Thu, 8 Dec 2005 00:14:59 +0100
 Reply-To: hlds_linux@list.valvesoftware.com

 ever heard of threads? - one thread is used for vac.
 the third (the first is the main proc) is the default glibc thread
 which
 comes up as soon as you fire up a thread.

 manuel

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED] Sent: Thursday, December 08, 2005 12:05 AM
 To: hlds_linux@list.valvesoftware.com
 Subject: [hlds_linux] Multiple srcds processes starting


 This is a multi-part message in MIME format.
 --
 [ Picked text/plain from multipart/alternative ]
 Alread posted in steam forum:
 ---

http://forums.steampowered.com/forums/showthread.php?s=threadid=374038
 ---

http://forums.steampowered.com/forums/showthread.php?s=threadid=375796

 Same here running in a Debian Woody environment using updated glibc
 2.3.2.

 Starting srcds will raise three server processes instead of only
 one.
 RCON quit will close all three processes. Next
 start will fire them up again.

 Second scrds is a child of first proc ... third is a child of
 second.

 Never seen this before in history. I guess only on process is
 enough and
 will not waste computing power.
 --



 ___
 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] Multiple srcds processes starting

2005-12-07 Thread Gary

fbsd will always display threads.. i don't think core@ will allow a
change in that behavior. :)

At 12:08 AM 12/8/2005, Alfred Reynolds wrote:

The number of srcds entries returned by tools such as ps depends on
the details of your kernel and threading library. SRCDS runs 2 threads,
a main thread for all the game processing and a separate Steam
communications thread. Most pthread implementations use a kernel process
per thread, and internally use one process (thread) for internal thread
management. So for srcds this would show up as 3 processes per game
server instance. Other OS's (FreeBSD?) and newer kernels may change this
threading model to not represent threads as full processes.

- Alfred

[EMAIL PROTECTED] wrote:
 I'm not sure if threads are visible as processes.

 This behaviour of multiple (three) processes is completely new and is
 not concerning each and every srcds installation.

 As far as i understand (after viewing the board threads in valve's
 forum) it
 seems to be an issue regarding to the installed linux version.

 I'm quite sure i had only one process in the foretime ... despite to
 the
 VAC2 launch.

 Cheers, Glenn.

 - Original Message -
 From: Manuel Mausz [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Subject: RE: [hlds_linux] Multiple srcds processes starting
 Date: Thu, 8 Dec 2005 00:14:59 +0100
 Reply-To: hlds_linux@list.valvesoftware.com

 ever heard of threads? - one thread is used for vac.
 the third (the first is the main proc) is the default glibc thread
 which
 comes up as soon as you fire up a thread.

 manuel

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED] Sent: Thursday, December 08, 2005 12:05 AM
 To: hlds_linux@list.valvesoftware.com
 Subject: [hlds_linux] Multiple srcds processes starting


 This is a multi-part message in MIME format.
 --
 [ Picked text/plain from multipart/alternative ]
 Alread posted in steam forum:
 ---

http://forums.steampowered.com/forums/showthread.php?s=threadid=374038
 ---

http://forums.steampowered.com/forums/showthread.php?s=threadid=375796

 Same here running in a Debian Woody environment using updated glibc
 2.3.2.

 Starting srcds will raise three server processes instead of only
 one.
 RCON quit will close all three processes. Next
 start will fire them up again.

 Second scrds is a child of first proc ... third is a child of
 second.

 Never seen this before in history. I guess only on process is
 enough and
 will not waste computing power.
 --



 ___
 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




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