29 Ekim 2014 Çarşamba
Linux sistem kilitlenmesi gibi durumlarda, sistemin yeniden başlatılması
Nadirende olsa, her hangi bir aksaklıktan dolayı linux sistemlerimiz kilitlenebilir.
Böyle durumlarda sistemin otomatik olarak yeniden başlatılmasını istiyorsak,
oracle tarafından geliştirilen ve gpl lisansıyla linux kerneline dahil edilen hangcheck modülünü kullanabiliriz. Örnek kullanımı;
modprobe hangcheck-timer hangcheck_tick=1 hangcheck_margin=10 hangcheck_reboot=1
root@E8470p:~# modinfo hangcheck-timer
filename: /lib/modules/3.13.0-37-generic/kernel/drivers/char/hangcheck-timer.ko
version: 0.9.1
license: GPL
description: Hangcheck-timer detects when the system has gone out to lunch past a certain margin.
author: Oracle
srcversion: 8670F1A37177EE5976978D9
depends:
intree: Y
vermagic: 3.13.0-37-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 2C:B1:13:3B:35:F9:5A:9E:24:DE:AB:EE:B1:2B:A4:49:BC:BA:BB:C9
sig_hashalgo: sha512
parm: hangcheck_tick:Timer delay. (int)
parm: hangcheck_margin:If the hangcheck timer has been delayed more than hangcheck_margin seconds, the driver will fire. (int)
parm: hangcheck_reboot:If nonzero, the machine will reboot when the timer margin is exceeded. (int)
parm: hangcheck_dump_tasks:If nonzero, the machine will dump the system task state when the timer margin is exceeded. (int)
root@E8470p:~#
detaylı bilgi edinmek isteyenler hangcheck-timer modülünü inceleyebilirler.
Kaydol:
Kayıt Yorumları (Atom)
podman aksaklıkları
#1 "ERRO[0000] cannot find UID/GID for user admin: cannot read subids - check rootless mode in man pages WARN[0000] Using rootless sin...
-
Bu gün ttnetin hediyesi olan tilgin yönlendiriciyle biraz oynayayım dedim Matkap, ve rg316-rp-sma kablo alıp cihazın kapağını tekrar açtım. ...
-
Bu hafta bir kaç gün iett otobüsleriyle istanbul içinde bir yerden bir başka yere gideyim dedim. Otobüslerde klima çalışmaz, pencereler açıl...
-
RHEL tabanlı her hangi bir sistemde felaket durumunda kurtarma modunda açtığımızda chroot yapmadan önce aşağıdaki bağlantı işlemlerini yapma...
Hiç yorum yok:
Yorum Gönder