Permanent mysql connection in mod_perl

Nasser Heidari nasser at
Wed Apr 7 11:01:06 CEST 2010

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

# netstat -epn --tcp | grep TIME_WAIT | wc -l

netstat -epn --tcp | grep TIME_WAIT | tail -1
tcp 0  0          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