<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Why do you think that the process is stopped? It's probably sleeping which is its normal state if you're looking at the `ps`s output. About the thread pool, check the documentation. Anyways, here's what it looks like:<div><div># THREAD POOL CONFIGURATION</div><div>thread pool {</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>start_servers = 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>max_servers = 1 </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>min_spare_servers = 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>max_spare_servers = 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>max_requests_per_server = 0</div><div>}</div><div>Configure there according to the expected load.</div><div>rlm_perl (if you're using it at all) has options for configuring the number of Perl interpreters also but they are to be deprecated since 2.1.5 so don't use them:</div><div># MODULE CONFIGURATION</div><div>modules {</div><div> perl {</div><div> module = /Users/everlast/development/blah.pl</div><div> func_accounting = accounting</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>max_clones<span class="Apple-tab-span" style="white-space:pre"> </span>= 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>start_clones <span class="Apple-tab-span" style="white-space:pre"> </span>= 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>min_spare_clones<span class="Apple-tab-span" style="white-space:pre"> </span>= 0</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>max_spare_clones<span class="Apple-tab-span" style="white-space:pre"> </span>= 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>cleanup_delay<span class="Apple-tab-span" style="white-space:pre"> </span>= 5</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>max_requests_per_clone<span class="Apple-tab-span" style="white-space:pre"> </span>= 0</div><div>}</div><div>}</div><div>As you can see, it's similar to Apache's thread pool settings. Put higher numbers in the thread pool section (check the defaults in the docs also) and start FreeRADIUS without -X (debug mode) but just like that: radiusd &</div><div>If your setup requires loading a lot of setting (from a DB or something) on start-up setup things so that the started number of threads is static (like in the example) - so that it doesn't start/stop threads depending on the load because this (loading a huge configuration/user data database on start up) can cripple things up.</div><div><br></div><div><br></div><div><div>On 27.04.2009, at 11:36, ramesh p wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">And why the process is stopped automaticaly? any reasons.<br><br> <div class="gmail_quote">On Mon, Apr 27, 2009 at 2:05 PM, ramesh p <span dir="ltr"><<a href="mailto:rock786143@gmail.com">rock786143@gmail.com</a>></span> wrote:<br> <blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Thanks. How to configure it? <div> <div></div> <div class="h5"><br><br> <div class="gmail_quote">On Mon, Apr 27, 2009 at 1:29 PM, Borislav Dimitrov <span dir="ltr"><<a href="mailto:b.dimitrov@ngsystems.net" target="_blank">b.dimitrov@ngsystems.net</a>></span> wrote:<br> <blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"> <div style="WORD-WRAP: break-word">Hi there, <div><br></div> <div>I may be mistaken but... these are log message on the NAS aren't they?</div> <div>If this is the case, I've experienced similar behavior with Cisco VoIP routers (RADIUS Server DEAD and then... ALIVE). This happens if you haven't properly enabled concurrency in FreeRADIUS - the CPU usage stays low 0%-1%-2% but if the requests are many they are obviously waiting each other... This happens when you have stared FreeRADIUS with the -X key (I think it starts with a single thread then) or have too low values for the thread pool parameters (and/or the *_clones options of rlm_perl which are to be deprecated soon). If you configure proper values according to the expected usage (concurrent requests), then the request won't wait each other to finish while the CPU stays unused and you'll avoid this annoying message in your logs. A sure sing that something like that is going on is the Acct-Delay-Time parameter with values greater than 0 - that is for accounting not sure for auth etc. Anyways if the values of that parameter are high (they are in seconds I think) then the requests are waiting too long and hence the error messages.</div> <div> <div></div> <div> <div><br> <div> <div>On 27.04.2009, at 10:42, Nicolas Goutte wrote:</div><br> <blockquote type="cite"> <div style="WORD-WRAP: break-word"><br> <div> <div>Am 27.04.2009 um 09:08 schrieb ramesh p:</div><br> <blockquote type="cite"> <div>I'm seeing the following weirdness from my freeradiusserver and when i see the radiusd process its stopped status. why this happens. any valid reasons for this?</div> <div> </div> <div>Apr 26 00:18:44.498: %RADIUS-4-RADIUS_ALIVE: RADIUS server<br>X.X.X.X:0,1813 is being marked alive.<br><br>Apr 26 00:18:50.777: %RADIUS-4-RADIUS_DEAD: RADIUS server<br>X.X.X.X:0,1813 is not responding.<br><br>Apr 26 00:18:50.777: %RADIUS-4-RADIUS_ALIVE: RADIUS server<br> X.X.X.X:0,1813 is being marked alive.<br><br>Apr 26 00:18:59.133: %RADIUS-4-RADIUS_DEAD: RADIUS server<br>X.X.X.X:0,1813 is not responding.<br><br>Apr 26 00:18:59.133: %RADIUS-4-RADIUS_ALIVE: RADIUS server<br>X.X.X.X:0,1813 is being marked alive.<br> <br>Apr 26 00:19:04.765: %RADIUS-4-RADIUS_DEAD: RADIUS server<br>X.X.X.X:0,1813 is not responding.<br></div> <div>Thanks in advance.</div></blockquote> <div><br></div> <div><br></div> <div>Have you checked the output of radiusd -X if there is a reason given or any other hint?</div><br> <blockquote type="cite"> <div> </div> <div>Regards,</div> <div>Rams.</div> <div style="MARGIN: 0px">-</div> <div style="MARGIN: 0px">List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a></div></blockquote></div> <div><br></div> <div>Have a nice day!</div><br> <div><span style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-SPACING: 0px 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px"> <div>Nicolas Goutte</div> <div><br></div> <div> </div> <div style="MARGIN: 0px">extragroup GmbH - Karlsruhe</div> <div style="MARGIN: 0px">Waldstr. 49</div> <div style="MARGIN: 0px">76133 Karlsruhe</div> <div style="MARGIN: 0px">Germany</div> <div> </div> <div style="MARGIN: 0px">Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle</div> <div style="MARGIN: 0px">Registergericht: Amtsgericht Münster / HRB: 5624</div> <div style="MARGIN: 0px">Steuer Nr.: 337/5903/0421 / UstID: DE 204607841</div> <div style="MARGIN: 0px"><br></div><br></span></div><br></div>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a></blockquote> </div><br></div></div></div></div><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br></div> </div></blockquote></div><br> -<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></blockquote></div><br></div></body></html>