Load times for Large Subnets

Larry Apolonio isc-dhcp at rh73.com
Tue Oct 9 22:19:30 UTC 2007


David W. Hankins wrote:

>On Tue, Oct 09, 2007 at 02:22:49PM -0700, Larry Apolonio wrote:
>  
>
>>Oct  9 14:20:57 dhcp-amd kernel: dhcpd[10365]: segfault at 
>>0000000000000000 rip 0000000000481427 rsp 00007fff15f5c9d0 error 4
>>    
>>
>
>Fabulous. :(
>
>This is a case of the test software being written specifically for my
>test harness environment.
>
>Index: omapip/hash.c
>===================================================================
>RCS file: /proj/cvs/prod/DHCP/omapip/hash.c,v
>retrieving revision 1.17
>diff -u -r1.17 hash.c
>--- omapip/hash.c	13 Jul 2007 06:43:42 -0000	1.17
>+++ omapip/hash.c	9 Oct 2007 21:47:28 -0000
>@@ -348,6 +348,9 @@
> 	unsigned i;
> 	struct hash_bucket *bp;
> 
>+	if (table == NULL)
>+		return (unsigned char *) "(unused)";
>+
> 	if (table->hash_count == 0)
> 		return (unsigned char *) "Invalid hash table.";
>
>  
>
Not sure if this is an issue but I am defining REPORT_HASH_PERFORMANCE 
in includes/dhcpd.h

#if !defined (REPORT_HASH_PERFORMANCE)
# define REPORT_HASH_PERFORMANCE 1
#endif




More information about the dhcp-users mailing list