Re: I have to be missing something REALLY simple...
On Tue, 08 Jul 2003 around 15:32:59 -0500, [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote on 07/08/2003 11:09:31 AM: > > > [EMAIL PROTECTED] wrote: > > > > How are you determining that it only launches one thread? > > > > > > ps -aef (tsunami is currently running working system, tidalwave is > the > > > rebuilt system...) > > > > You are aware that on newer Linux kernels, 'ps' only reports one > > thread, even if there are many? > > See? Told you I was missing something simple! No, I wasn't aware they > had made that change. Guess I'm OK on the box. :) use ps -axfm (the m does the trick) Met vriendelijke groet, Pauline Middelink -- GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA BD3B 9A50 B416 E2D0 C3C2 For more details look at my website http://www.polyware.nl/~middelink smime.p7s Description: S/MIME cryptographic signature
Re: I have to be missing something REALLY simple...
[EMAIL PROTECTED] wrote on 07/08/2003 11:09:31 AM: > [EMAIL PROTECTED] wrote: > > > How are you determining that it only launches one thread? > > > > ps -aef (tsunami is currently running working system, tidalwave is the > > rebuilt system...) > > You are aware that on newer Linux kernels, 'ps' only reports one > thread, even if there are many? See? Told you I was missing something simple! No, I wasn't aware they had made that change. Guess I'm OK on the box. :) Thanks! Vincent Giovannone Network Infrastructure Group Information Services Division Rush - Presbyterian St. Luke's Medical Center "Dereferencing the .NET pointer reveals its value to be NULL." -- TheRegister.co.uk - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: I have to be missing something REALLY simple...
[EMAIL PROTECTED] wrote: > > How are you determining that it only launches one thread? > > ps -aef (tsunami is currently running working system, tidalwave is the > rebuilt system...) You are aware that on newer Linux kernels, 'ps' only reports one thread, even if there are many? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: I have to be missing something REALLY simple...
[EMAIL PROTECTED] wrote on 07/08/2003 02:42:28 PM: > At 02:23 PM 7/8/2003 -0500, [EMAIL PROTECTED] wrote: > >Then I copied over my existing config files (clients.conf, and users... > >pretty simple config, eh??) to the new machine, and started up radiusd. It > >runs and authenticates, but for some reason on the new machine it will > >only launch _one_ thread when run as a daemon. > > How are you determining that it only launches one thread? ps -aef (tsunami is currently running working system, tidalwave is the rebuilt system...) [EMAIL PROTECTED] vgiovann]$ ps -aef | grep radiusd root 4154 1 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd root 4155 4154 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd root 4156 4155 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd root 4157 4155 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd root 4158 4155 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd root 4159 4155 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd root 4160 4155 0 Jul07 ?00:00:00 /opt/local/radius/sbin/radiusd vgiovann 7942 7919 0 14:45 pts/200:00:00 grep radiusd [EMAIL PROTECTED] vgiovann]# /opt/local/radius/sbin/radiusd Tue Jul 8 14:44:34 2003 : Info: Starting - reading configuration files ... [EMAIL PROTECTED] vgiovann]# ps -aef | grep radiusd root 29320 1 0 14:44 ?00:00:00 /opt/local/radius/sbin/radiusd root 29328 29296 0 14:44 pts/100:00:00 grep radiusd > >I HAVE to be missing something simple here, but for the life of me I can't > >figure out what it is. Configure doesn't complain about any missing > >thread libraries, and running with full debug ( -X ), I don't see anything > >enlightening. > > -X is a combination of multiple args. One of which puts it in singlethreaded > mode. d'oh!... :) > A better combination if you want to debug threadedness, is to run the > server with one or more -x ( lowercase! ) flags. This enables debugging > messages, without disabling threads. Ok, second try. /opt/local/radius/sbin/radiusd -fxxyz (snip) Initializing the thread pool... thread: start_servers = 5 thread: max_servers = 32 thread: min_spare_servers = 3 thread: max_spare_servers = 10 thread: max_requests_per_server = 0 thread: cleanup_delay = 5 Thread 1 waiting to be assigned a request Thread spawned new child 1. Total threads in pool: 1 Thread 2 waiting to be assigned a request Thread spawned new child 2. Total threads in pool: 2 Thread 3 waiting to be assigned a request Thread spawned new child 3. Total threads in pool: 3 Thread 4 waiting to be assigned a request Thread spawned new child 4. Total threads in pool: 4 Thread 5 waiting to be assigned a request Thread spawned new child 5. Total threads in pool: 5 (snip) So why don't I see the processes when I do a ps? (Am I correct in reading that they're not really running?) Vincent Giovannone Network Infrastructure Group Information Services Division Rush - Presbyterian St. Luke's Medical Center "Dereferencing the .NET pointer reveals its value to be NULL." -- TheRegister.co.uk - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: I have to be missing something REALLY simple...
At 02:23 PM 7/8/2003 -0500, [EMAIL PROTECTED] wrote: Then I copied over my existing config files (clients.conf, and users... pretty simple config, eh??) to the new machine, and started up radiusd. It runs and authenticates, but for some reason on the new machine it will only launch _one_ thread when run as a daemon. How are you determining that it only launches one thread? I HAVE to be missing something simple here, but for the life of me I can't figure out what it is. Configure doesn't complain about any missing thread libraries, and running with full debug ( -X ), I don't see anything enlightening. -X is a combination of multiple args. One of which puts it in singlethreaded mode. A better combination if you want to debug threadedness, is to run the server with one or more -x ( lowercase! ) flags. This enables debugging messages, without disabling threads. -Chris -- \\\|||/// \ StarNet Inc. \ Chris Parker \ ~ ~ / \ WX *is* Wireless!\ Director, Engineering | @ @ |\ http://www.starnetwx.net \ (847) 963-0116 oOo---(_)---oOo--\-- \ Wholesale Internet Services - http://www.megapop.net - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: I have to be missing something REALLY simple...(correction)
Correction -- we're moving to RedHat 9, not RedHat 8. Vincent Giovannone Network Infrastructure Group Information Services Division Rush - Presbyterian St. Luke's Medical Center "Dereferencing the .NET pointer reveals its value to be NULL." -- TheRegister.co.uk [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/08/2003 02:23 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject I have to be missing something REALLY simple... I have two production freeradius 0.8.1 boxes running under redhat 7. We've decided to upgrade the freeradius servers to new hardware and redhat 8. I downloaded fr 0.8.1 to the new machines, did a ./configure --with-snmp=no --with-threads=yes --prefix=(some directory on the machine), then a make, then a make install. (all as root) Then I copied over my existing config files (clients.conf, and users... pretty simple config, eh??) to the new machine, and started up radiusd. It runs and authenticates, but for some reason on the new machine it will only launch _one_ thread when run as a daemon. I HAVE to be missing something simple here, but for the life of me I can't figure out what it is. Configure doesn't complain about any missing thread libraries, and running with full debug ( -X ), I don't see anything enlightening. Any ideas? I'm stumped, but it sure feels like I missed something simple! Thanks! Vincent Giovannone Network Infrastructure Group Information Services Division Rush - Presbyterian St. Luke's Medical Center "Dereferencing the .NET pointer reveals its value to be NULL." -- TheRegister.co.uk - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I have to be missing something REALLY simple...
I have two production freeradius 0.8.1 boxes running under redhat 7. We've decided to upgrade the freeradius servers to new hardware and redhat 8. I downloaded fr 0.8.1 to the new machines, did a ./configure --with-snmp=no --with-threads=yes --prefix=(some directory on the machine), then a make, then a make install. (all as root) Then I copied over my existing config files (clients.conf, and users... pretty simple config, eh??) to the new machine, and started up radiusd. It runs and authenticates, but for some reason on the new machine it will only launch _one_ thread when run as a daemon. I HAVE to be missing something simple here, but for the life of me I can't figure out what it is. Configure doesn't complain about any missing thread libraries, and running with full debug ( -X ), I don't see anything enlightening. Any ideas? I'm stumped, but it sure feels like I missed something simple! Thanks! Vincent Giovannone Network Infrastructure Group Information Services Division Rush - Presbyterian St. Luke's Medical Center "Dereferencing the .NET pointer reveals its value to be NULL." -- TheRegister.co.uk - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html