Linux reboot command takes too long

Vipul Jain vipulsj at gmail.com
Mon Jun 2 22:03:00 EDT 2014


On Fri, May 30, 2014 at 3:19 PM, Rajat Sharma <fs.rajat at gmail.com> wrote:

> you have kdump enabled crashkernel=512M at 128M
>
>
> On Fri, May 30, 2014 at 2:38 PM, Vipul Jain <vipulsj at gmail.com> wrote:
>
>> On Fri, May 30, 2014 at 12:32 PM, Vipul Jain <vipulsj at gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I have a quick question on Linux reboot:
>>> On my system I have /var/core directory created which has 300G space and
>>> if I fill the /var/core with files say upto 290G and reboot the system and
>>> after it comes up and delete the files in /var/core and try to reboot the
>>> system takes 45 mins before it actually reboots. Wondering if anyone has
>>> seen this before and what could be the issue?
>>>
>>>
>>> Regards,
>>> Vipul.
>>>
>>> Anybody knowns what does below means:
>> ps elxf | grep shutdown
>> 4     0  6327  3842  20   0  12496   788 jbd2_l D    ?          0:00  \_
>> shutdown -r 0 wCONSOLE=/dev/console TERM=linux SHELL=/bin/sh rootmnt=/root
>> cpiorootsize= crashkernel=512M at 128M image=/xxx/image1/
>> INIT_VERSION=sysvinit-2.88 init=/sbin/init COLUMNS=80
>> PATH=/xxx/sbin:/xxx/bin:/sbin:/usr/sbin:/bin:/usr/bin runlevel=2 RUNLEVEL=2
>> PWD=/root PREVLEVEL=N previous=N LINES=24 HOME=/ SHLVL=2 env=0x3DA97000
>> _=/sbin/shutdown
>> 0     0  6764  6651  20   0   6304   600 pipe_w S+   pts/0      0:00
>>      \_ grep shutdownTERM=xterm SHELL=/bin/bash SSH_CLIENT=172.16.92.39
>> 49891 22 SSH_TTY=/dev/pts/0 USER=root MAIL=/var/mail/root
>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/root
>> SHLVL=1 HOME=/root LOGNAME=root SSH_CONNECTION=172.16.92.39 49891
>> 172.16.85.88 22 _=/bin/grep
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
> Hi All,

I noticed that if I disable the system TRIM from ext4 file system the
reboot does not hang the system after reboot is issue, Also I have noticed
that if the disk is full (SSD) and if system panics than core to /var/core
directory doesn't complete and system hangs. The only work around to this
problem is delete some previous core file for the present core to complete
and system reboots. Please kindly let me know as why I am seeing these
behaviors. For later I was expecting the core should be partially complete
and system reboots as no disk space.

Regards,
Vipul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140602/986ceb36/attachment-0001.html 


More information about the Kernelnewbies mailing list