can the modules cause 'Exiting normally'?

switchport at hotmail.com switchport at hotmail.com
Fri Mar 20 07:53:43 CET 2009


i write a likely rlm_sql module.
test radius by the below shell, the auth_test file contain 8000 users.
---------------------------
#!/bin/bash
i=0
while true
do 
date
time ../radclient -p 16 -q -s -f auth_test 127.0.0.1:1812 auth xxxxxx
i=`expr $i \+ 1`
echo $i
done
----------------------------

when tested xk or 1xk cycles, radius can 'Exiting normally' without no detail log.
what wrong? 

the test shell echo
----------------------------
3872
Fri Mar 20 09:01:09 CST 2009

           Total approved auths:  8000
             Total denied auths:  0
               Total lost auths:  0

real    0m3.344s
user    0m0.793s
sys     0m1.245s
3873
Fri Mar 20 09:01:12 CST 2009

           Total approved auths:  8000
             Total denied auths:  0
               Total lost auths:  0

real    0m3.352s
user    0m0.778s
sys     0m1.266s
3874
Fri Mar 20 09:01:16 CST 2009

           Total approved auths:  8000
             Total denied auths:  0
               Total lost auths:  0

real    0m3.359s
user    0m0.764s
sys     0m1.277s
3875
Fri Mar 20 09:01:19 CST 2009
radclient: no response from server for ID 195 socket 3

           Total approved auths:  7999
             Total denied auths:  0
               Total lost auths:  1

real    0m20.599s
user    0m0.836s
sys     0m1.477s
3876
Fri Mar 20 09:01:40 CST 2009
radclient: no response from server for ID 46 socket 3
radclient: no response from server for ID 162 socket 3
radclient: no response from server for ID 132 socket 3
radclient: no response from server for ID 81 socket 3
...
-----------------------------------------------------------------------------------

radius log show 
---------------------------------------------------------------------------------
Fri Mar 20 08:58:03 2009 : Error: Discarding conflicting packet from client localhost port 55746 - ID: 32 due to recent request 30648083.
Fri Mar 20 08:58:57 2009 : Error: Discarding conflicting packet from client localhost port 54935 - ID: 39 due to recent request 30759434.
Fri Mar 20 08:59:09 2009 : Error: Discarding conflicting packet from client localhost port 60967 - ID: 103 due to recent request 30770305.
Fri Mar 20 08:59:43 2009 : Error: Discarding conflicting packet from client localhost port 58098 - ID: 131 due to recent request 30839295.
Fri Mar 20 09:00:00 2009 : Error: Discarding conflicting packet from client localhost port 55258 - ID: 182 due to recent request 30862096.
Fri Mar 20 09:00:14 2009 : Error: Discarding conflicting packet from client localhost port 42660 - ID: 47 due to recent request 30880046.
Fri Mar 20 09:00:44 2009 : Error: Discarding conflicting packet from client localhost port 53858 - ID: 222 due to recent request 30932873.
Fri Mar 20 09:01:22 2009 : Error: Discarding conflicting packet from client localhost port 44717 - ID: 195 due to recent request 31006705.
Fri Mar 20 09:01:24 2009 : Info: Exiting normally.
---------------------------------------------------------------------------------

radiusd.conf
---------------------------------------------------------------------------- 
thread pool {
        start_servers = 8
        max_servers = 64
        min_spare_servers = 4
        max_spare_servers = 12
        max_requests_per_server = 0
}
-----------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090320/d866cf1e/attachment.html>


More information about the Freeradius-Users mailing list