[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#574990: nscd crashes after restart after sshd hangs



Hello,

with libnss-ldap and nscd on lenny latest from time to time we have
unresolved bug #552431, which makes sshd hanging due to suddenly unresolvable
"sshd" system user.

Today nscd crashed after sshd hanging and login was possible.
I set "paranoia	yes" in nscd.conf without setting "restart-interval" so it
should be default 3600.

Now nscd crashed, probably while restarting itself:

Jul 29 11:00:43 quadopt3 kernel: [3616361.904197] nscd[6891]: segfault at 10 ip 7f587be30685 sp 7fffffffd960 error 6 in nscd[7f587be2a000+1c000]

Set "persistent no" now and restarted nscd. Current config is below.

Any help for solving this and #552431 is most welcome !

Thanks,
  Hermann

nscd.conf:
	debug-level		0
#	reload-count		5
	paranoia		yes
#	restart-interval	3600

	enable-cache		passwd		yes
	positive-time-to-live	passwd		600
	negative-time-to-live	passwd		20
	suggested-size		passwd		211
	check-files		passwd		yes
	persistent		passwd		no
	shared			passwd		yes
	max-db-size		passwd		33554432
	auto-propagate		passwd		yes

	enable-cache		group		yes
	positive-time-to-live	group		3600
	negative-time-to-live	group		60
	suggested-size		group		211
	check-files		group		yes
	persistent		group		no
	shared			group		yes
	max-db-size		group		33554432
	auto-propagate		group		yes

# hosts caching is broken with gethostby* calls, hence is now disabled
# per default.  See /usr/share/doc/nscd/NEWS.Debian.
	enable-cache		hosts		no
	positive-time-to-live	hosts		3600
	negative-time-to-live	hosts		20
	suggested-size		hosts		211
	check-files		hosts		yes
	persistent		hosts		no
	shared			hosts		yes
	max-db-size		hosts		33554432

	enable-cache		services	yes
	positive-time-to-live	services	28800
	negative-time-to-live	services	20
	suggested-size		services	211
	check-files		services	yes
	persistent		services	no
	shared			services	yes
	max-db-size		services	33554432



Reply to: