Hangs After Inactivity

Home » CentOS » Hangs After Inactivity
CentOS 3 Comments

Hi,

My linux machine hangs after some period of inactivity (8+ hrs). Anyone experiencing similar issue.

CentOS
Release 6.5(Final)
Kernel Linux 2.6.32-431.el6_x86_64
GNOME 2.28.2

Processor (0 – 7):
Intel(R) Core(TM) i7-4770 CPU @ 3.40 GHz

Any pointers will be helpful.

Thanks,
–Arvind

3 thoughts on - Hangs After Inactivity

  • [snip]

    The canonical first place to check is your logs, many of which are in
    /var/log/ . Beyond that, information about running apps at the time you leave it before it crashes would be helpful, and you might try not logging in to see if the problem occurs with no user activity (if not, it points to an app that starts when you log in).

    –keith

  • You can try running the machine with the kernel option “pcie_aspm=off”
    and see if that helps and also try to disable C-States or Power Saving all together in the BIOS. More Details here:

    https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Power_Management_Guide/ASPM.html

    http://lists.us.dell.com/pipermail/linux-poweredge/2011-June/044901.html

    I’ve experienced lock-ups in the past because of these issues. The network device hung because it tried to go into power saving mode using ASPM and it failed and whole servers locked-up after being idle for a while because of a bug in Intel Processors regarding the deeper power saving modes (C-States) although these are supposed to be fixed since
    6.3. Hope this helps.

    Regards,
    Dennis

  • Hi Dennis, Keith,

    Thanks for your pointers. I tried disabling C-states and and pcie-aspm options. No luck so far. My box has to be rebooted once in every 2-3 days. Following is the last info in my syslog before reboot.

    Jan 21 01:33:41 usmovd dnsmasq-dhcp[3254]: DHCPREQUEST(virbr0)
    192.168.122.171 00:e2:7e:31:d2:8b Jan 21 01:33:41 usmovd dnsmasq-dhcp[3254]: DHCPACK(virbr0) 192.168.122.171
    00:e2:7e:31:d2:8b Jan 21 01:52:44 usmovd dnsmasq-dhcp[3254]: DHCPREQUEST(virbr0)
    192.168.122.194 00:c6:ab:4c:20:71
    Jan 21 01:52:44 usmovd dnsmasq-dhcp[3254]: DHCPACK(virbr0) 192.168.122.194
    00:c6:ab:4c:20:71
    Jan 21 01:53:18 usmovd dhclient[2526]: DHCPREQUEST on eth0 to
    135.227.220.25 port 67 (xid=0x3c4c435c)
    Jan 21 01:53:18 usmovd dhclient[2526]: DHCPACK from 135.227.220.25
    (xid=0x3c4c435c)
    Jan 21 01:53:18 usmovd dhclient[2526]: bound to 135.227.220.131 — renewal in 1595 seconds. Jan 21 01:53:18 usmovd NetworkManager[2495]: (eth0): DHCPv4 state changed renew -> renew Jan 21 01:53:18 usmovd NetworkManager[2495]: address 135.227.220.131
    Jan 21 01:53:18 usmovd NetworkManager[2495]:
    prefix 24
    (255.255.255.0)
    Jan 21 01:53:18 usmovd NetworkManager[2495]:
    gateway 135.227.220.1
    Jan 21 01:53:18 usmovd NetworkManager[2495]:
    nameserver
    ‘128.251.10.25’
    Jan 21 01:53:18 usmovd NetworkManager[2495]:
    domain name ‘
    eng.timetra.com’
    Jan 21 01:58:06 usmovd dnsmasq-dhcp[3254]: DHCPREQUEST(virbr0)
    192.168.122.171 00:e2:7e:31:d2:8b Jan 21 01:58:06 usmovd dnsmasq-dhcp[3254]: DHCPACK(virbr0) 192.168.122.171
    00:e2:7e:31:d2:8b

    Jan 21 10:27:55 usmovd kernel: imklog 5.8.10, log source = /proc/kmsg started. Jan 21 10:27:55 usmovd rsyslogd: [origin software=”rsyslogd”
    swVersion=”5.8.10″ x-pid=”2317″ x-info=”http://www.rsyslog.com”] start

    Jan 21 10:27:55 usmovd kernel: Kernel command line: ro root=/dev/mapper/vg_usmovd-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD
    rd_LVM_LV=vg_usmovd/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel8M
    rd_LVM_LV=vg_usmovd/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet pcie_aspm.policy=off intel_idle.max_cstate=2

    Thanks,
    –Arvind

    Today’s Topics:

    4. Hangs after inactivity (Arvind Nagarajan)
    5. Re: Hangs after inactivity (Keith Keller)
    6. Re: Hangs after inactivity (Dennis Jacobfeuerborn)

    Message: 4
    Date: Mon, 30 Dec 2013 18:00:13 -0800
    From: Arvind Nagarajan
    Subject: [CentOS] Hangs after inactivity To: CentOS@CentOS.org Message-ID:

    Content-Type: text/plain; charset=ISO-8859-1

    Hi,

    My linux machine hangs after some period of inactivity (8+ hrs). Anyone experiencing similar issue.

    CentOS
    Release 6.5(Final)
    Kernel Linux 2.6.32-431.el6_x86_64
    GNOME 2.28.2

    Processor (0 – 7):
    Intel(R) Core(TM) i7-4770 CPU @ 3.40 GHz

    Any pointers will be helpful.

    Thanks,
    –Arvind

    —————————-

LEAVE A COMMENT