<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Brian,</p>
    <p>Sounds like a plan. Until we meet, try to jot down when (and if)
      you laptop hangs again. It will help in troubleshooting if it
      turns out to be a chronic issue and if there's a pattern to when
      the laptop hangs (it could lead us to cron jobs if it's a
      consistent pattern). If there's not a pattern, then we can look at
      hardware logs.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 6/10/20 9:37 AM, Brian O'Keefe
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:94a18373-765e-72ef-8b7c-18202a612f32@cybermesa.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Thanks for the info Leopoldo. I ran the command and there is a
        lot of info! I didn't update swap but I did notice in the log
        that swap was increased to the 2+GB so that doesn't seem an
        issue. I did find many lines errors but they seem ubiquitous as
        the machine powers up. I only found one line in yesterday's log
        that was a kill command. Perhaps that's my doing a hard
        shutdown.</p>
      <p>Anyway, too much in the logs for me. Perhaps when we can meet
        physically again I can get some help looking at the logs and
        figure it out. Fortunately I pretty much stick to simple apps
        these days (of retirement) and so I don't get in trouble when
        the machine hangs.</p>
      <p>Muchas Gracias</p>
      <p>Brian<br>
      </p>
      <div class="moz-cite-prefix">On 6/7/20 11:49 PM, Leopoldo Macias
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:3b25a523-663e-7706-1d8d-1790a70ff6f3@maciasnetwork.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>I agree with Akkana.. look for the cause,</p>
        <p>If your system froze, try running the journalctl command
          (there's lots of data in that). You can filter the data in
          many ways so as not to get overwhelmed. For example:</p>
        <p>To view the kernel logs (which might have clues to a crash or
          hang)<br>
          journalctl -rk</p>
        <p>the (-r) will print the log in reverse order (meaning newest
          logs show up first)</p>
        <p>the (-k) will only show logs for the kernel (you can choose
          many different logs to display with other options)</p>
        <p>You can scroll down through the logs or type the colon
          (shift+;) and q to quit the log.<br>
        </p>
        <p>Here is a link for helpful journalctl commands:</p>
        <p><a class="moz-txt-link-freetext"
href="https://www.thegeekdiary.com/6-useful-journalctl-command-examples-in-centos-rhel-7-cheat-sheet/"
            moz-do-not-send="true">https://www.thegeekdiary.com/6-useful-journalctl-command-examples-in-centos-rhel-7-cheat-sheet/</a></p>
        <p>I tried it on my ubuntu20.04 and I did not have to use sudo
          to run the 'journalctl' commands.</p>
        <p>Usually if a process hung it will be recorded in the kernel
          logs and that give a path to follow. Also, has this happened
          multiple times prior to the swap update? or did occur only
          once?</p>
        <p><br>
        </p>
        <p><br>
        </p>
        <div class="moz-cite-prefix">On 6/7/20 11:29 AM, Brian O'Keefe
          wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:de5a766f-e1c2-7fa5-ee4d-683559140492@cybermesa.com">
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <p>Thanks Akkana</p>
          <p>Yeah, can't check much when frozen. I've looked at dmesg
            but too much in there that I don't understand. I'll come
            running for help if this gets worse. It's usually only every
            couple of days. I do put the machine to sleep a lot. Maybe I
            need to shut down daily or some such,</p>
          <p>Best</p>
          <p>Brian<br>
          </p>
          <div class="moz-cite-prefix">On 6/7/20 11:07 AM, Akkana Peck
            wrote:<br>
          </div>
          <blockquote type="cite"
            cite="mid:20200607170706.GB2132@shallowsky.com">
            <pre class="moz-quote-pre" wrap="">Brian O'Keefe writes:
</pre>
            <blockquote type="cite">
              <pre class="moz-quote-pre" wrap="">   I am loathe to increase the swap memory when it doesn't appear to be a
   problem according to System Monitor.
</pre>
            </blockquote>
            <pre class="moz-quote-pre" wrap="">This. I've seen a lot of discussion about swap, but if there was any
evidence that swap was the problem, I missed it. If adding swap is
going to be this hard, maybe put the effort instead into diagnosing
why the system is freezing?

For instance, do you know if it's X or the kernel that's freezing?
It would be interesting to try to ssh in from another machine,
to see if maybe the machine is up but X is locked.

Diagnosing a freeze isn't all that easy, because of course if the
kernel is hung, then the system has no way to note what went wrong.
But sometimes you can find out what was happening just before it
froze. Here's a Google search that gives some starting points:

<a class="moz-txt-link-freetext" href="https://www.google.com/search?client=ubuntu&channel=fs&q=diagnose+why+linux+freezing&ie=utf-8&oe=utf-8" moz-do-not-send="true">https://www.google.com/search?client=ubuntu&channel=fs&q=diagnose+why+linux+freezing&ie=utf-8&oe=utf-8</a>

        ...Akkana
_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org" moz-do-not-send="true">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" moz-do-not-send="true">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>

</pre>
          </blockquote>
          <div class="moz-signature">-- <br>
            <img src="cid:part5.F0AF4512.523CCF6F@maciasnetwork.com"
              class="" border="0"></div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org" moz-do-not-send="true">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" moz-do-not-send="true">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
        </blockquote>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org" moz-do-not-send="true">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" moz-do-not-send="true">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
      </blockquote>
      <div class="moz-signature">-- <br>
        <img src="cid:part5.F0AF4512.523CCF6F@maciasnetwork.com"
          class="" border="0"></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
    </blockquote>
  </body>
</html>