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)
Ansible değişkenlerini doğru yerde tutmak
Ansible Değişkenlerini Doğru Yerde Tutmak Ansible · Değişkenler Ansible değişkenlerini doğru yerde tutmak Ansible'd...
-
Systemd ile Linux Sistem Kaynak Yönetimi: RHEL 7/8/9/10 Kapsamlı Rehberi Giriş Modern Linux dağıtımlarının neredeyse tamamı systemd servis...
-
🔒 SSH Servisini OOM Killer'dan Koruma Rehberi 📑 İçerik 1. Giriş 2. OOM Killer Nedir? 3. SSH ve OOM Killer İlişkisi 4. Çözü...
-
[root@oel6 ~]# rpm -qf /etc/hosts setup-2.8.14-20.el6_4.1.noarch Redhat tabanlı sistemlerde kullanılabilen grupları listelemek ve yük...
Hiç yorum yok:
Yorum Gönder
Not: Yalnızca bu blogun üyesi yorum gönderebilir.