Hi, I'm running FreeRADIUS 2.1.11 on Gentoo compiled with specific patches (qafixes, versionless, pkglibdir) and a small patch of my own (byminute, adds an extra var in xlat.c, nothing big). I'm experiencing a weird crash of which I've found absolutely nothing online: "Failed creating handler". Source code says this one comes from src/main/event.c when calling fr_event_insert() but I can't figure out anything else. The server does decoupled accounting, one site has only one module in accounting, rlm_detail and the other listens on the detail logs with only one module in accounting, rlm_python. cleanup_delay is 5, max_requests 10240, 16 threads, max_requests_per_server = 1500 Any idea what could be the problem? tx, amne
On 06/24/2011 09:22 PM, Cornel Cruceru wrote:
Hi,
I'm running FreeRADIUS 2.1.11 on Gentoo compiled with specific patches (qafixes, versionless, pkglibdir) and a small patch of my own (byminute, adds an extra var in xlat.c, nothing big). I'm experiencing a weird crash of which I've found absolutely nothing online: "Failed creating handler". Source code says this one comes from src/main/event.c when calling fr_event_insert() but I can't figure out anything else.
There was a discussion on the -users lists: 2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select() ...which was related to USEC > 1000000; it looks from the code as if this is one possible cause of that error message. Can you reliably reproduce this - if so, can you try the HEAD of v2.1.x GIT branch?
I'm on 2.1.11 tree f2030ce4053a42c14fe7 (alan commited a fix for a leak in rlm_detail) but I can't reliably reproduce this. It's a head banger. I have reset max_requests_per_server to 0 from 400 and now it says "Error (event.c:3002): Failed to insert event" or something like that. The cause seems to be the same: fr_event_insert failing and causing this message to appear with a "panic attack". The load is not dramatic, 100-200 pkt/sec with peak at night of 2-3k pkt/sec.
amne wrote:
I'm on 2.1.11 tree f2030ce4053a42c14fe7 (alan commited a fix for a leak in rlm_detail) but I can't reliably reproduce this. It's a head banger. I have reset max_requests_per_server to 0 from 400 and now it says "Error (event.c:3002): Failed to insert event" or something like that. The cause seems to be the same: fr_event_insert failing and causing this message to appear with a "panic attack". The load is not dramatic, 100-200 pkt/sec with peak at night of 2-3k pkt/sec.
Try downloading the v2.1.x branch. See http://git.freeradius.org Alan DeKok.
participants (4)
-
Alan DeKok -
amne -
Cornel Cruceru -
Phil Mayers