You are not logged in.

#1 2010-04-22 23:12:58

kaitocracy
Forum Fellow
From: Durham, NC
Registered: 2010-04-21
Posts: 59
Website

NSCD Segfaults - Bug or incorrect configuration?

Hi, my NSCD is segfaulting a couple of times a day. The only record I have of it is:

LINODE2: 04-22-2010 09:35:01 [kernel] nscd[31604]: segfault at a ip b776bcdb sp ae91a9dc error 4 in libc-2.11.1.so[b76f8000+141000]

I don't know if it is possibly due to me configuring it incorrectly. Here is nscd.conf

### /etc/nscd.conf: Name Service Cache Daemon configuration file

logfile       /var/log/nscd.log
debug-level   1
server-user   nobody
paranoia      no
threads       4
max-threads   32

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      yes
  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       yes
  shared                  group       yes
  max-db-size             group       33554432
  auto-propagate          group       yes

enable-cache              hosts       yes
  positive-time-to-live   hosts       3600
  negative-time-to-live   hosts       20
  suggested-size          hosts       211
  check-files             hosts       yes
  persistent              hosts       yes
  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    yes
  shared                  services    yes
  max-db-size             services    33554432

Can someone take a look and tell me if I should file a bug report?

Offline

#2 2010-04-23 00:10:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: NSCD Segfaults - Bug or incorrect configuration?

There is a bug report here: http://bugs.archlinux.org/task/19157 .   So far I have not been able to figure out what is going on.   Given you appear to be using Linode, I doubt this is a suspend-to-ram issue that the bug report suggests.


Edit:  try

enable-cache        hosts        no

See http://patch-tracker.debian.org/patch/s … ching.diff

Offline

#3 2010-04-23 00:34:46

kaitocracy
Forum Fellow
From: Durham, NC
Registered: 2010-04-21
Posts: 59
Website

Re: NSCD Segfaults - Bug or incorrect configuration?

Allan wrote:

There is a bug report here: http://bugs.archlinux.org/task/19157 .   So far I have not been able to figure out what is going on.   Given you appear to be using Linode, I doubt this is a suspend-to-ram issue that the bug report suggests.


Edit:  try

enable-cache        hosts        no

See http://patch-tracker.debian.org/patch/s … ching.diff

Thanks for the answer. It turns out though that the hosts cache is actually the only one that is important for me...

Offline

#4 2010-04-23 00:41:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: NSCD Segfaults - Bug or incorrect configuration?

So did that actually work to stop the crashing?

Offline

#5 2010-04-23 00:53:51

kaitocracy
Forum Fellow
From: Durham, NC
Registered: 2010-04-21
Posts: 59
Website

Re: NSCD Segfaults - Bug or incorrect configuration?

Allan wrote:

So did that actually work to stop the crashing?

I don't know yet, it usually crashes a couple times a day so I'll wait and see.

Offline

#6 2010-04-23 00:56:47

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: NSCD Segfaults - Bug or incorrect configuration?

OK, great...   if that is the issue, at least then I have some place to start hunting this down.

Offline

#7 2010-04-23 22:16:57

kaitocracy
Forum Fellow
From: Durham, NC
Registered: 2010-04-21
Posts: 59
Website

Re: NSCD Segfaults - Bug or incorrect configuration?

Allan wrote:

OK, great...   if that is the issue, at least then I have some place to start hunting this down.

I changed the configuration to disable host caching and it hasn't segfaulted yet...

Offline

Board footer

Powered by FluxBB