Questions tagged [linux-kernel]

The Linux kernel is the operating system kernel used by the Linux family of Unix-like operating systems. It is one of the most prominent examples of free and open source software.

The Linux kernel is the operating system kernel used by the Linux family of Unix-like operating systems. It is one of the most prominent examples of free and open source software.

The Linux kernel is released under the GNU General Public License version 2 (GPLv2) (plus some firmware images with various non-free licenses[citation needed]), and is developed by contributors worldwide. Day-to-day development discussions take place on the Linux kernel mailing list.

585 questions
14
votes
3 answers

1000 HZ linux kernel necessary if I have tickless and high resolution timer?

I am trying to improve performance on my server. I have a few processes that need low jitter (less than 10ms variance). I have a load average of 4 maximum on an i7-920 (4 physical cores, 8 with HT). There are about 10 processes ranging from 40% to…
Bob
  • 195
  • 2
  • 2
  • 8
13
votes
2 answers

How to avoid downtime with linux?

Frequently software updates to Ubuntu require reboots (which can have side effects such as downtime). I see Ubuntu has https://www.ubuntu.com/livepatch which allows for kernel updates without reboots, however, this is a paid service. There is also…
user75126
  • 250
  • 1
  • 7
12
votes
1 answer

How to achieve per-packet multipath routing on Linux?

Linux Kernel before 3.6 used route caching to do IPv4 multipath routing, which meant routing between two separate lines/ISPs was quite easy. From 3.6 the algorithm changed to being per-packet, meaning that some route table/rule/iptables marker…
bao7uo
  • 1,704
  • 12
  • 24
12
votes
1 answer

How to properly permanent enable ip forwarding in Linux with systemd?

I try to enable ip forwarding (between enp0s3 and tun0 interfaces) and write net.ipv4.ip_forward = 1 in /etc/sysctl.conf. After restart I have $ cat /proc/sys/net/ipv4/ip_forward 1 But forwarding still not working. I try to add…
Unsacrificed
  • 171
  • 1
  • 1
  • 7
12
votes
4 answers

is /dev/dm-1 a partition or a whole block device?

Is there a way to figure out if /dev/dm-1 is a block device partition or a whole block device? If /dev/dm-1 is a partition, is there a way to find out the path to the corresponding whole block device?
Loic Dachary
  • 891
  • 1
  • 7
  • 11
12
votes
2 answers

Can't update linux kernel on VPS

I recently started using VPS from OVH: http://www.ovh.co.uk/vps/vps-classic.xml This is likely problem very specific to this one provider. My goal is to install and run Docker on it, for this I need kernel supporting modules. By default, OVH's VPS…
zencodism
  • 265
  • 1
  • 5
  • 9
12
votes
5 answers

tc u32 --- how to match L2 protocols in recent kernels?

I have a nice shaper, with hashed filtering, built at a linux bridge. In short, br0 connects external and internal physical interfaces, VLAN tagged packets are bridged "transparently" (I mean, no VLAN interfaces are there). Now, different kernels do…
brownian
  • 291
  • 3
  • 13
12
votes
2 answers

How dangerous might it be - and what performance gains may be had - by turning vulnerability mitigations off on non-Internet facing servers?

When a virtual machine Linux host server is non-Internet facing and is used exclusively on a LAN and is using a relatively well tested distribution like Proxmox, how dangerous would it be to turn off all vulnerability mitigations via the kernel arg…
ylluminate
  • 1,155
  • 2
  • 17
  • 35
11
votes
3 answers

What is mdev and how to /dev/* nodes get created in Linux?

Our Linux kernel is 2.6.31 running on an embedded MIPS processor with busybox. The initialisation script (rcS) starts mdev with: echo "/sbin/stbhotplug" > /proc/sys/kernel/hotplug mdev -s Can anyone tell me what the Linux utility mdev does? It…
user626201
  • 231
  • 1
  • 2
  • 7
11
votes
4 answers

How can I see logs in a server after a kernel panic hang?

I am running a production gentoo Linux machine, and recently there was a situation where the server hung in my co-located premises and when I got there I noticed that the server was hung on what appeared to be a kernel panic hang. I rebooted the…
Low Kian Seong
  • 341
  • 2
  • 3
  • 10
10
votes
1 answer

Default value of /proc/sys/fs/file-max

I am aware that /proc/sys/fs/file-max defines the maximum number of open file descriptors and can be set on runtime or during boot. However: what is its default value? Checking 10 servers in my company gives me 7 different values, which all seem…
taranion
  • 235
  • 3
  • 7
10
votes
3 answers

Linux: Why does the CPU frequency fluctuate when using the performance governor?

I'm using a Debian 8 amd64 machine for benchmarking. During experimentation, I would like the CPU to operate at a fixed frequency (preferably the maximum possible). This will rule out the CPU clock speed as a source of variation in the…
10
votes
2 answers

View full program command line arguments in OOM killer logs

Is it possible to view full program command line arguments in OOM killler logs ? What I see now in /var/log/syslog is Memory cgroup out of memory: Kill process 29187 (beam.smp) score 998 or sacrifice child Killed process 29302 (cpu_sup)…
sergeyz
  • 223
  • 1
  • 3
  • 8
9
votes
6 answers

Do Containers Have An OS?

I know that containers use the host's kernel and from what I understand , that's the reason we do not need an OS. My questions are (and I couldn't find any good explanation online) : 1) If that's the case , hoe do we get a shell prompt and how do…
John Doe
  • 495
  • 1
  • 6
  • 12
9
votes
2 answers

nic: Something Wicked happened! ffff

I'm configuring a GNU/Linux Router with Debian Stretch (9.7) and before rebooting the server, all traffic from one interface to another was going ok, but after that, I received a message like this (tty): enp1s6: Something Wicked happened! ffff. I…
ivanleoncz
  • 1,643
  • 6
  • 19
  • 32
1
2
3
38 39