<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>i write a likely rlm_sql module.</FONT></DIV>
<DIV><FONT face=Calibri>test radius by the below shell, the auth_test
file contain 8000 users.</FONT></DIV>
<DIV><FONT face=Calibri>
<DIV><FONT face=Calibri>---------------------------</FONT></DIV>
<DIV><FONT face=Calibri>#!/bin/bash<BR>i=0<BR>while true<BR>do <BR>date<BR>time
../radclient -p 16 -q -s -f auth_test 127.0.0.1:1812 auth xxxxxx</FONT></DIV>
<DIV><FONT face=Calibri>i=`expr $i \+ 1`<BR>echo $i<BR>done</FONT></DIV>
<DIV><FONT face=Calibri>----------------------------</FONT></DIV></FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>when tested xk or 1xk cycles, radius can 'Exiting
normally' without no detail log.</FONT></DIV>
<DIV><FONT face=Calibri>what wrong? </FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>the test shell echo</FONT></DIV>
<DIV><FONT face=Calibri>----------------------------</FONT></DIV>
<DIV><FONT face=Calibri>3872<BR>Fri Mar 20 09:01:09 CST 2009</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
face=Calibri> Total
approved auths:
8000<BR>
Total denied auths:
0<BR>
Total lost auths: 0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>real
0m3.344s<BR>user 0m0.793s<BR>sys
0m1.245s<BR>3873<BR>Fri Mar 20 09:01:12 CST 2009</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
face=Calibri> Total
approved auths:
8000<BR>
Total denied auths:
0<BR>
Total lost auths: 0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>real
0m3.352s<BR>user 0m0.778s<BR>sys
0m1.266s<BR>3874<BR>Fri Mar 20 09:01:16 CST 2009</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
face=Calibri> Total
approved auths:
8000<BR>
Total denied auths:
0<BR>
Total lost auths: 0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>real
0m3.359s<BR>user 0m0.764s<BR>sys
0m1.277s<BR>3875<BR>Fri Mar 20 09:01:19 CST 2009<BR>radclient: no response from
server for ID 195 socket 3</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
face=Calibri> Total
approved auths:
7999<BR>
Total denied auths:
0<BR>
Total lost auths: 1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>real
0m20.599s<BR>user 0m0.836s<BR>sys
0m1.477s<BR>3876<BR>Fri Mar 20 09:01:40 CST 2009<BR>radclient: no response from
server for ID 46 socket 3<BR>radclient: no response from server for ID 162
socket 3<BR>radclient: no response from server for ID 132 socket 3<BR>radclient:
no response from server for ID 81 socket 3</FONT></DIV>
<DIV><FONT face=Calibri>...</FONT></DIV>
<DIV><FONT
face=Calibri>-----------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Calibri><BR>radius log show </FONT></DIV>
<DIV><FONT
face=Calibri>---------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Calibri>Fri Mar 20 08:58:03 2009 : Error: Discarding conflicting
packet from client localhost port 55746 - ID: 32 due to recent request
30648083.<BR>Fri Mar 20 08:58:57 2009 : Error: Discarding conflicting packet
from client localhost port 54935 - ID: 39 due to recent request 30759434.<BR>Fri
Mar 20 08:59:09 2009 : Error: Discarding conflicting packet from client
localhost port 60967 - ID: 103 due to recent request 30770305.<BR>Fri Mar 20
08:59:43 2009 : Error: Discarding conflicting packet from client localhost port
58098 - ID: 131 due to recent request 30839295.<BR>Fri Mar 20 09:00:00 2009 :
Error: Discarding conflicting packet from client localhost port 55258 - ID: 182
due to recent request 30862096.<BR>Fri Mar 20 09:00:14 2009 : Error: Discarding
conflicting packet from client localhost port 42660 - ID: 47 due to recent
request 30880046.<BR>Fri Mar 20 09:00:44 2009 : Error: Discarding conflicting
packet from client localhost port 53858 - ID: 222 due to recent request
30932873.<BR>Fri Mar 20 09:01:22 2009 : Error: Discarding conflicting packet
from client localhost port 44717 - ID: 195 due to recent request
31006705.<BR>Fri Mar 20 09:01:24 2009 : Info: Exiting normally.</FONT></DIV>
<DIV><FONT
face=Calibri>---------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>radiusd.conf</FONT></DIV>
<DIV><FONT
face=Calibri>---------------------------------------------------------------------------- </FONT></DIV>
<DIV><FONT face=Calibri>thread pool
{<BR> start_servers = 8</FONT></DIV>
<DIV><FONT face=Calibri> max_servers =
64</FONT></DIV>
<DIV><FONT face=Calibri>
min_spare_servers = 4<BR>
max_spare_servers = 12</FONT></DIV>
<DIV><FONT face=Calibri>
max_requests_per_server = 0<BR>}</FONT></DIV>
<DIV><FONT
face=Calibri>-----------------------------------------------------------------------------</FONT></DIV></BODY></HTML>