Comment 5 for bug 1206691

Revision history for this message
David Medberry (med) wrote : Re: [Bug 1206691] Re: crashkernel setting rarely works on a system with little memory

Hi Louis,

Thanks for the response (and I fully agree and went ahead after I was
convinced.)

My official writeup settled it this way (which works for even the smallest
instance on Azure):

WAS:
  74 # add crashkernel option if we have the required tools
    75 if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
    76 GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA
crashkernel=384M-2G:64M,2G-:128M"

IS:
    74 # add crashkernel option if we have the required tools
    75 if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
    76 GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA
crashkernel=384M-700M:64M,700M-:128M"

The smallest image on Azure is 768M.

On Wed, Aug 14, 2013 at 4:18 AM, Louis Bouchard <
<email address hidden>> wrote:

> AFAIK, this bug may be a duplicate of the following longstanding bug :
>
> https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785394
>
> I have made a habit of increasing the reserved crashkernel= value to
> 128Mb which is the default in debian though I understand that it may be
> costly on micro instances
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1206691
>
> Title:
> crashkernel setting rarely works on a system with little memory
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1206691/+subscriptions
>

--
-dave