[opensuse-es] El daemon nscd se nos muere
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hola: Na, que por si no lo sabíais el deamon nscd (name server cache daemon) se muere de vez en cuando, no es estable. Antiguamente el sistema podía funcionar tranquilamente sin él, pero hay algunos programas por ahí que dependen de él, y el sistema puede ir más lento en algunas circunstancias. (En /etc/nscd.conf podeis ver los servicios que cachea, que no incluyen los nombres de internet; sólo "passwd, group, hosts, services") El problema es conocido, pero no le encuentran solución :-( Lo que hay de momento es poner un watchdog, un proceso que vigila por si se nos para, y reiniciarlo. He aquí una de las variantes (la mia, claro): Script " /root/bin/watchdog_nscd": #!/bin/bash # watchdog para reiniciar el servicio nscd # idea del case en "307:rc" /usr/sbin/rcnscd status ; status=$? echo "Status= "$status case $status in [1-47]) echo "failed" /bin/logger -p user.warn -t watchdog \ "nscd is not running, restarting. -- Bugzilla 387202; "\ "see root's crontab to disable this wd" /usr/sbin/rcnscd restart ;; [56]) echo "skipped" ;; 0|*) echo "Nothing to do" ;; esac Entrada en el crontab de root (se escribe mediante "crontab -e"): - -0,*/5 * * * 1-7 /root/bin/watchdog_nscd > /dev/null o 0,*/5 * * * 1-7 /root/bin/watchdog_nscd para depuración. - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkl65rkACgkQtTMYHG2NR9WdtgCggcn7m69Rb9/5yD/1lUMXW6qS CG4An3/D9t2yXiHfyIDK9zCc7/WhhDdp =kBZ3 -----END PGP SIGNATURE-----
Carlos E. R. escribió:
Hola:
Na, que por si no lo sabíais el deamon nscd (name server cache daemon) se muere de vez en cuando, no es estable.
problema conocido ;) solucionado en openSUSE 11.1, si el problema persiste luego de aplicar parche de glibc que tiene esta fecha "Wed Jan 21 01:18:59 CET 2009" como ultimo cambio, abrir un bugzilla.. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2009-01-24 a las 13:07 -0300, Cristian Rodríguez escribió:
Carlos E. R. escribió:
Hola:
Na, que por si no lo sabíais el deamon nscd (name server cache daemon) se muere de vez en cuando, no es estable.
problema conocido ;) solucionado en openSUSE 11.1, si el problema persiste luego de aplicar parche de glibc que tiene esta fecha "Wed Jan 21 01:18:59 CET 2009" como ultimo cambio, abrir un bugzilla..
Estoy subscrito al bugzilla que hay abierto sobre el tema, y sí, sé lo del parche, pero las ultimas noticias son que el parche no llegó a la 11.1, y que la 11.0 se considera más estable - y según mi watchdog no suele durar más de tres horas sin colgarse. https://bugzilla.novell.com/show_bug.cgi?id=387202#c77 ------- Comment #77 From Petr Baudis N 2009-01-21 15:57:13 MST (-) [reply] ------- Actually, I have just prepared a new round of nscd updates for 11.0 and 11.1, at http://www.suse.de/~pbaudis/bug-387202-2/ I'm sorry to those who I told before 11.1 and 11.0 nscd is identical, it turns out that the 11.1 glibc update I prepared last did not actually make it to 11.1. :-( So 11.0 should actually have much more stable nscd than 11.1 now. I will try to trigger another round of updates now. - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkl7QGAACgkQtTMYHG2NR9VlOwCeKmFrWLQZzBYsiYGplAIa3hzZ bSsAnis8YLXOEJSwFG7cmrc+7W8Z/v0r =tZTe -----END PGP SIGNATURE-----
Carlos E. R. escribió:
Estoy subscrito al bugzilla que hay abierto sobre el tema, y sí, sé lo del parche, pero las ultimas noticias son que el parche no llegó a la 11.1,
El dia 21 se envio a compilar,es probable que aparezca en "update-test" luego. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (3)
-
Carlos E. R.
-
Carlos E. R.
-
Cristian Rodríguez