Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing Server after a day #309

Closed
MineTech13 opened this issue May 23, 2017 · 32 comments
Closed

Crashing Server after a day #309

MineTech13 opened this issue May 23, 2017 · 32 comments
Labels

Comments

@MineTech13
Copy link

Hello my server Crashes nerly every day when mailcow is running but when it is stoped my server dont crash pls help

@chriscroome
Copy link
Contributor

My first guess would be a lack of RAM, check your logs to see if oom-killer is taking services out:

grep oom-killer /var/log/*

@MineTech13
Copy link
Author

Server Specs:
CPU: 4x vCores 7199 MHz
RAM: 16GB
Hard Drive: 125GB HDD

@andristeiner
Copy link
Contributor

On Debian? Which kernel version? Might be related to this one: moby/moby#29397
I solved this by using kernel version 4.9 from Debian backports.

@stevesbrain
Copy link
Contributor

Otherwise, bad RAM?

@jm3west
Copy link

jm3west commented May 24, 2017

Yes, I have got the same problem.
VPS-OS Debian 8 Jessie.

Overnight stop the server

@stevesbrain
Copy link
Contributor

@jm3west - Possible to use your own kernel with that VPS provider I presume?

@jm3west
Copy link

jm3west commented May 24, 2017

My linux version/kernel is 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.43-2 (2017-04-30)

@stevesbrain
Copy link
Contributor

@jm3west - yep, same kernel as referenced in the moby issue above. Does kernel 4.9 solve your issue?

@MineTech13
Copy link
Author

okay iam not alone with the problem

@andryyy
Copy link
Contributor

andryyy commented May 24, 2017 via email

@Ar1sC
Copy link

Ar1sC commented May 24, 2017

Im having problem upgrading to Kernel 4.9.....

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linux-image-4.9.0-0.bpo.3-amd64 : Depends: linux-base (>= 4.3~) but 3.5 is to be installed
E: Unable to correct problems, you have held broken packages.

My Kernel Version 3.16.0-4-amd64

@Braintelligence
Copy link
Contributor

Is the obvious solution to first upgrade to kernel 4.3 or am I misinterpreting things here?

@Ar1sC
Copy link

Ar1sC commented May 24, 2017

@Braintelligence Switched to Ubuntu 16.04. I couldn't find kernel 4.3.

@Braintelligence
Copy link
Contributor

Strange, did you try googling your problem?

@Ar1sC
Copy link

Ar1sC commented May 24, 2017

I Did

@Braintelligence
Copy link
Contributor

What happens if you follow this guide?

Please post errors.

http://www.ubuntumaniac.com/2015/12/install-linux-kernel-433-on-ubuntu-1604.html

@Ar1sC
Copy link

Ar1sC commented May 24, 2017

Thank's for your help but Im Already Working on Ubuntu....

@Braintelligence
Copy link
Contributor

I don't understand your answer.
Using Ubuntu doesn't make you magically use a specific kernel.
You can update your kernel to a version of your liking as long as you follow the upgrade path and rely on official repositories.

@stevesbrain
Copy link
Contributor

@Ar1sC Have you tried installing from these:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/

If so, have you tried building from source instead?

@jm3west
Copy link

jm3west commented May 25, 2017

For Debian .....

echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -t jessie-backports linux-{image,headers}-amd64

.... and have fun

@catcun
Copy link

catcun commented May 26, 2017

I have the same Debian/Docker problem. I did upgrade the kernel but docker complained and I was not able to make it work; in the end I rolled back the VM. I will migrate the server to Ubuntu this weekend.

@chriscroome
Copy link
Contributor

chriscroome commented May 29, 2017

I haven't have any problems running Docker / Mailcow on Debian Stretch with linux-image-4.9.0-3-amd64 and with Docker installed following these instructions.

@Ar1sC
Copy link

Ar1sC commented May 29, 2017

@jm3west Yep. It's Working like a charm.
Tested on Debian 8.8.

@jm3west
Copy link

jm3west commented May 29, 2017

@Ar1sC, your welcome. My friend :-)

@Ar1sC
Copy link

Ar1sC commented May 29, 2017

@jm3west
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources-list
Edit it to
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list

you had a typo 👍

@jm3west
Copy link

jm3west commented May 29, 2017

ups, I'm sorry.

I've got change the mistake

@elvirdz
Copy link

elvirdz commented May 31, 2017

@catcun
after kernel update on 4.9 you have to change docker on overlay2, aufs not work with 4.9 kernel
stop the docker and remove aufs from docker folder

@catcun
Copy link

catcun commented Jun 1, 2017

@elvirdz
Thanks for the suggestion. I still have a VM on debian, I may try

@spacie2136
Copy link

Is anybody trying to fix this issue? I need and want to use Kernel 5.3. :-(

@andryyy
Copy link
Contributor

andryyy commented Jul 17, 2020

This is not an issue anymore. Are you using Jessie with 5.3?

You don't need aufs. Use overlayfs.

@spacie2136
Copy link

I am using buster/sid with 5.3.0-1030-gcp. I got the problem that the server freezes after some days since i installed Mailcow.

@andryyy
Copy link
Contributor

andryyy commented Jul 17, 2020

Okay, but there is really nothing I can do with this information. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests