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
4
votes
1 answer

Nginx uses both writev() and sendfile()

I noticed that when serving images Nginx is sending images using both writev() when called from a browser such as Firefox, but uses sendfile() to send the image when wgetting the image. Any idea why its using both? I have ' sendfile on ; ' in the…
4
votes
1 answer

CVE-2014-0196 Vulnerability for CentOS

Trying to patch CVE-2014-0196 Vulnerability but yum can't find packages updates CentOS 6.5 (Final) Panel version: 11.0.9 Update #61 # uname -r 2.6.32-358.11.1.el6.x86_64 # yum update kernel Loaded plugins: fastestmirror Determining fastest…
hsands
  • 43
  • 3
4
votes
1 answer

Linode Kernel Headers

I am trying to install the Idera (R1soft) linux agent on a Linode running Ubuntu 12.04LTS. The agent requires a driver which in turn requires the kernel headers. Linode uses custom kernels though so the kernel headers I want are not in the apt-get…
digitaladdictions
  • 1,505
  • 1
  • 12
  • 30
4
votes
1 answer

how to determine who is using the slabs?

Is there any way to figure out who or what is allocating size-256 slabs, like in the slabtop output below? I had to reboot a server yesterday that had 5G out of 8G RAM in size-256 slabs and was running out of memory, as dropping the caches (sysctl…
4
votes
1 answer

Cannot find network subsystem in cgroup on Ubuntu 12.04 LTS

I'm trying to use cgroups to limit a process's network bandwidth, as described in this answer. However, I am unable to find the "files" they refer to. I am using Ubuntu 12.04 LTS with cgroup-bin installed. cgroups are automatically mounted under…
user1202136
  • 143
  • 1
  • 5
4
votes
2 answers

using Linux as a bootloader?

I have an embedded device with a SPI connected flash. Basically this means the device boots its bootloader and Linux kernel from a small flash part. As the device boots, but before the root filesystem is mounted and switch_root is called - I'd like…
stuck
  • 687
  • 2
  • 10
  • 23
4
votes
2 answers

Centos kernel .config file. Where can I find it?

I am rebuilding a custom kernel. I am on Windows, what is the quickest way to grab the .config file for the CentOS RHEL linux kernel (for make oldconfig). I can't find it preinstalled in the Linux system (e.g. no /proc/config.gz) I am assuming it is…
dongle26
  • 179
  • 1
  • 1
  • 5
4
votes
1 answer

Bind mount one container FS tree into another for debug or ephemeral containers?

I'm testing out k8s debugging features including debug pods and ephemeral containers, and I just can't work out how to properly map a "target" pod's file system into the debug container. I want to link two disjoint mount namespaces with a recursive…
Craig Ringer
  • 11,083
  • 9
  • 40
  • 61
4
votes
1 answer

Can't run docker-container 'failed to create endpoint frosty_varahamihira on network bridge'

When I try to run the hello-world docker image I get the following error: ubuntu@ubuntu:~$ sudo docker run hello-world docker: Error response from daemon: failed to create endpoint frosty_varahamihira on network bridge: failed to add the host…
Justus_505
  • 41
  • 1
  • 2
4
votes
3 answers

How can I override IRQ affinity for NVME devices

I am trying to move all interrupts over to cores 0-3 to keep the rest of my cores free for high speed, low latency virtualization. I wrote a quick script to set IRQ affinity to 0-3: #!/bin/bash while IFS= read -r LINE; do echo "0-3 ->…
Hubro
  • 1,138
  • 4
  • 16
  • 35
3
votes
0 answers

Ubuntu kernel boot arg `ip=` not honored; can't determine why

I have a machine with two network interfaces. See below (context) for setup... My boot params look like: set i ${net0/ip} set ns 192.168.99.101 set t tftp://${ns}/pxelinux.cfg set h http://${ns}:8070/api/1.0 initrd ${t}/initrd.gz …
Jim
  • 355
  • 1
  • 4
  • 14
3
votes
1 answer

Can you run Docker natively on the new Windows 10 Linux kernel?

My understanding was that the primary limitation of running docker on other OSs was the Linux Network containers that made it possible. (Certainly for Macs). Recently Microsoft announced a plan to provide a Linux kernel running natively packaged…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
3
votes
2 answers

AMD Epyc, occassional crappy performance

I'm working on a 2x AMD EPYC 7451 server, with scaling governor set to performance, yet there are issues when the server is under low load. When the load is low all the cores are basically downscaled to 600-1000MHz and the response times skyrocket…
Slawek
  • 141
  • 3
3
votes
1 answer

Debugging and fine-tuning the linux process scheduler

When debugging sporadic web application slowdowns, I've found that all the processes have quite high maximum scheduling delay. # perf sched record -- sleep 10 && perf sched latency --sort max …
3
votes
1 answer

How to keep custom kernel modules on kernel updates installed?

I've got a NIC (Asus XG C100C) that is not properly supported in the current Linux kernel. Hence, I installed driver which I compiled from source. Every time when the kernel is updated, I have to reinstall it and copy the atlantic.ko to…
SDwarfs
  • 385
  • 4
  • 18