Error with Thread

Fajar A. Nugraha list at fajar.net
Wed Jun 29 15:10:00 CEST 2011


On Wed, Jun 29, 2011 at 6:32 PM, Jean Carlos Oliveira Guandalini
<jean.guandalini at corp.visaonet.com.br> wrote:
> Hello, i'm using version 1.1.8, my OS is Linux (Gentoo).

The usual response would be "upgrade". 1.x is not supported anymore.

>
> My server stop and log this:
> Error: FATAL: Thread create failed: Resource temporarily unavailable
>
> Before this log, have:
> Wed Jun 29 00:16:13 2011 : Error: Dropping conflicting packet from
> client client1:41250 - ID: 195 due to unfinished request 155365
> Wed Jun 29 00:16:13 2011 : Error: Dropping conflicting packet from
> client client2:59253 - ID: 235 due to unfinished request 155374

my guess is freeradius is busy handling requests that took a long
time. Usually this happens when your backend (e.g. db) takes a long
time to process the request, which is quite common if (for example)
you record accouting packets in database, and never clean it up so it
has millions of rows. Or your db is not properly designed (e.g. not
indexed in the right columns). Or you're using custom queries which
cause high load to the db.

In any case, I'd start by fixing whatever backend you use first, make
sure it can respond in a timely manner.

-- 
Fajar



More information about the Freeradius-Users mailing list