Permanent mysql connection in mod_perl
    Nasser Heidari 
    nasser at rasana.net
       
    Wed Apr  7 11:01:06 CEST 2010
    
    
  
Hi,
I'm using mod_perl in my radius configuration and using it I write some
logs to database.
Today I noticed that, there are lots of mysql connections in TIME_WAIT
state.
# netstat -epn --tcp | grep TIME_WAIT | wc -l
15015
netstat -epn --tcp | grep TIME_WAIT | tail -1
tcp 0  0 192.168.1.4:49060   192.168.1.6:3306          TIME_WAIT
I'm sure it is because of mod_perl, and I'm looking forward to force
radius to use permanent mysql connections.
Has anyone any idea?
Thanks in advance
    
    
More information about the Freeradius-Users
mailing list