Score:0

Mattermost Ubuntu server stops suddenly

gy flag

My stand-alone Mattermost on Ubuntu server stops and gets frozen suddenly; no ping, no SSH, no service. It is installed on vmware with 8G RAM and 60G storage. In vmware host I see the RAM usage is less than 4G. The storage is less than 20G used. During the fault, even vmware browser console of the vm doesn't work, so there isn't any connection to server.

How can I find the root cause?

Mattermost version is Enterprise 7.8.1

I just could power-off and then power-on to recover the server. It occurs mostly on Saturdays!

Today I faced it again! Imagine 4 happening between 11:30 till 17:00 (local time), and now it’s more than 2 days without any problem. Last week on Saturday between 14:00 till 18:00 I had it, then it worked for 7 days none-stopped.

The latest logs in journalctl results are like these:

Apr 15 13:45:01 mattermost CRON[1740]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 13:45:01 mattermost CRON[1741]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 15 13:45:01 mattermost CRON[1740]: pam_unix(cron:session): session closed for user root
Apr 15 13:55:01 mattermost CRON[1766]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 13:55:01 mattermost CRON[1767]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 15 13:55:01 mattermost CRON[1766]: pam_unix(cron:session): session closed for user root
Apr 15 13:59:50 mattermost mattermost[1075]: {“timestamp”:“2023-04-15 13:59:50.961 +03:30”,“level”:…
Apr 15 13:59:51 mattermost mattermost[1075]: {“timestamp”:“2023-04-15 13:59:51.503 +03:30”,“level”:…
– Reboot –

Apr 15 16:54:47 mattermost mattermost[1089]: {“timestamp”:“2023-04-15 16:54:47.719 +03:30”,“level”…
Apr 15 16:54:48 mattermost mattermost[1089]: {“timestamp”:“2023-04-15 16:54:48.242 +03:30”,“level”…
Apr 15 16:55:01 mattermost CRON[2134]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 16:55:01 mattermost CRON[2135]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 15 16:55:01 mattermost CRON[2134]: pam_unix(cron:session): session closed for user root
– Reboot –

And Syslog resutls:

Apr 15 13:59:50 mattermost mattermost[1075]: {“timestamp”:“2023-04-15 13:59:50.627 +03:30”,“level”:…
Apr 15 13:59:51 mattermost mattermost[1075]: {“timestamp”:“2023-04-15 13:59:51.503 +03:30”,“level”:…
Apr 15 16:54:48 mattermost mattermost[1089]: {“timestamp”:“2023-04-15 16:54:48.242 +03:30”,“level”:“info”,…
Apr 15 16:55:01 mattermost CRON[2135]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

Server version are as bellow:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
$ snap list
Name               Version             Rev    Tracking         Publisher   Notes
core18             20210507            2066   latest/stable    canonical✓  base
gnome-3-34-1804    0+git.3556cb3       66     latest/stable/…  canonical✓  -
gtk-common-themes  0.1-52-gb92ac40     1515   latest/stable/…  canonical✓  -
snap-store         3.38.0-59-g494f078  518    latest/stable/…  canonical✓  -
snapd              2.50.1              12057  latest/stable    canonical✓  snapd
guiverc avatar
cn flag
This is a Q&A site (*Question & Answer*) and not a forum; comments are to the *Original Poster* so comments from OP make little sense. Please add or amend details in your actual question (*that is what is answered; it still doesn't mention what OS/release you're using!*). 20.04.2 also shows you're very behind on security fixes/patches; a fully upgraded 20.04 system reports as 20.04.6 (https://fridge.ubuntu.com/2023/03/23/ubuntu-20-04-6-lts-released/ shows the ISO release date but installed systems upgraded before that date; 20.04.2 shows no/few updates since mid-2021!)
waltinator avatar
it flag
Please [edit] your question to add whatever information you get. Don't use Add Comment, or you'll classify yourself as "Does Not Follow Instructions (DNFI)", and I'll ignore you. I view DNFIs as unhelpable.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.