You are not logged in.
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    33554432Can someone take a look and tell me if I should file a bug report?
Offline
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        noOffline
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
Thanks for the answer. It turns out though that the hosts cache is actually the only one that is important for me...
Offline
So did that actually work to stop the crashing?
Offline
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
OK, great... if that is the issue, at least then I have some place to start hunting this down.
Offline
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