segmentation fault freeradius 2.1.7 using rlm_sql

Amir Tal amir at ccc.co.il
Tue Aug 2 09:27:30 CEST 2011


Upgraded freeradius to 2.1.11 (built from source)

This time it brought the whole machine down:

radiusd[8644]: segfault at 00000000000000c8 rip 00002aad51190cfb rsp 00000000504b8770 error 4
radiusd[16348]: segfault at 00000000000000c8 rip 00002afffa168cfb rsp 0000000046c00170 error 4
radiusd[22540]: segfault at 00000000000004b8 rip 00002b10e5147850 rsp 000000004707c2c8 error 4
radiusd[30297]: segfault at 00000000000000c8 rip 00002b848c84bcfb rsp 0000000054924750 error 4
audispd invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0

Call Trace:
 [<ffffffff800c961b>] out_of_memory+0x8e/0x2f3
 [<ffffffff8002e3fc>] __wake_up+0x38/0x4f
 [<ffffffff8000f625>] __alloc_pages+0x27f/0x308
 [<ffffffff8001300a>] __do_page_cache_readahead+0x96/0x179
 [<ffffffff80013945>] filemap_nopage+0x14c/0x360
 [<ffffffff80008964>] __handle_mm_fault+0x1fb/0x1039
 [<ffffffff8006720b>] do_page_fault+0x4cb/0x874
 [<ffffffff8005dde9>] error_exit+0x0/0x84

Mem-info:
Node 0 DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
cpu 1 hot: high 0, batch 1 used:0
cpu 1 cold: high 0, batch 1 used:0
Node 0 DMA32 per-cpu:
cpu 0 hot: high 186, batch 31 used:18
cpu 0 cold: high 62, batch 15 used:45
cpu 1 hot: high 186, batch 31 used:31
cpu 1 cold: high 62, batch 15 used:61
Node 0 Normal per-cpu:
cpu 0 hot: high 186, batch 31 used:61
cpu 0 cold: high 62, batch 15 used:49
cpu 1 hot: high 186, batch 31 used:24
cpu 1 cold: high 62, batch 15 used:52
Node 0 HighMem per-cpu: empty
Free pages:       22180kB (0kB HighMem)
Active:535129 inactive:455633 dirty:0 writeback:0 unstable:0 free:5545 slab:3369 mapped-file:1085 mapped-anon:990241 pagetables:5050
Node 0 DMA free:10116kB min:16kB low:20kB high:24kB active:0kB inactive:0kB present:9748kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 3000 4010 4010
Node 0 DMA32 free:10052kB min:6052kB low:7564kB high:9076kB active:1623644kB inactive:1405408kB present:3072160kB pages_scanned:19313612 all_unreclaimable? yes
lowmem_reserve[]: 0 0 1010 1010
Node 0 Normal free:2012kB min:2036kB low:2544kB high:3052kB active:508040kB inactive:425828kB present:1034240kB pages_scanned:2193259 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 0 DMA: 5*4kB 2*8kB 4*16kB 3*32kB 5*64kB 3*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 2*4096kB = 10116kB
Node 0 DMA32: 13*4kB 4*8kB 1*16kB 13*32kB 1*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 2*4096kB = 10052kB
Node 0 Normal: 17*4kB 19*8kB 0*16kB 0*32kB 0*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2012kB
Node 0 HighMem: empty
1662 pagecache pages
Swap cache: add 1095074, delete 1094514, find 2338993/2348642, race 0+1
Free swap  = 0kB
Total swap = 4096564kB
Free swap:            0kB
1310720 pages of RAM
299836 reserved pages
8240 pages shared
560 pages swap cached
Out of memory: Killed process 18723, UID 95, (radiusd).



-----Original Message-----
From: freeradius-users-bounces+amir=ccc.co.il at lists.freeradius.org [mailto:freeradius-users-bounces+amir=ccc.co.il at lists.freeradius.org] On Behalf Of Alan DeKok
Sent: Wednesday, July 27, 2011 4:33 PM
To: FreeRadius users mailing list
Subject: Re: segmentation fault freeradius 2.1.7 using rlm_sql

Amir Tal wrote:
> For some unknown reason radiusd keeps getting segmentation faults, every few days and even after several hours of work.

  Upgrade.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list