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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

OOM killing programs when used memory is at 30%

I am getting a bit crazy about this one: I am getting quite often processes killed by the kernel because of OOM. I see that free reports 14 GB used out of 14 GB, but when I add up the RSS of all the ...
chronos's user avatar
  • 101
0 votes
2 answers
63 views

Is it possible to run Docker on a hypervisor type 1?

Is it possible to run Docker bare metal on a type 1 hypervisor such as VMware and Hyper-V? Docker uses that same kernel as the host. So if the hypervisor is based on linux, does that work? Is there ...
luckyluke's user avatar
2 votes
1 answer
131 views

I/O errors during BLKDISCARD on Linux Dell R720 with SAS Seagate Nytro

I have a Dell R720 with PERC H310 Mini (LSI 2008 MegaRAID) controller which I have just loaded with 4 new Seagate Nytro XS1600LE70045 1.6TB SSD, configured as individual disks for Linux software raid. ...
M Conrad's user avatar
  • 131
0 votes
0 answers
34 views

Is it safe to mount same btrfs subvolume multiple times at same time?

I know that it is safe to mount multiple volumes from the same btrfs volume at the same time. But what about the same subvolume? The subvolume would be mounted from the same Linux kernel instance. ...
Jacob Brown's user avatar
0 votes
0 answers
115 views

TCP_NODELAY for All current sockets in linux

i want lowest latency network with tcp_nodelay., in windows OS we can easily enable TCP_NODELAY through registry of windows. i searched on the red hat website and another website but up to now, my ...
Kamala Nivas's user avatar
0 votes
0 answers
77 views

Remove old kernels with security implications / vulnerabilities

Some scanning tools (Qualsys, Sentinel, etc) detect installed old kernels and will report them as problems if those kernel versions have vulnerabilities. Is there a way to remove them if they have ...
Geoffrey Wiseman's user avatar
1 vote
0 answers
330 views

MariaDB io_uring_queue_init() failed with errno 1 with kernel version 6.2.0-1018

I am running MariaDB using the official docker hub image: mariadb:lts (this is MariaDB 10.11.6-MariaDB-1:10.11.6+maria~ubu2204 source revision fecd78b83785d5ae96f2c6ff340375be803cd299) When the ...
g.pickardou's user avatar
0 votes
0 answers
48 views

Why do we need "never" for transparent huge pages?

Transparent huge pages (THP) can be always, madvise and never. I see that most database tutorials suggest using never for valid reasons. However, why do we need the never option at all if programs can ...
Cemre's user avatar
  • 101
0 votes
0 answers
105 views

meminfo doesn't include memory allocated by page_allocator

I found that the meminfo doesn't show the memory usage which is directly allocated by the page allocator (fn:allocate_pages) file:///proc/meminfo MemTotal: 2039496 kB MemFree: 108684 ...
Helen Tan's user avatar
0 votes
1 answer
148 views

Adjust Logging Level for the OOM Killer

Is there a way to configure Linux so that the OOM killer will report/post only which process is killed, but not dump the entire machine state with it? The reason I ask that is, that on our production ...
Krishna Chaitanya's user avatar
0 votes
0 answers
45 views

Unable to ping the vm running with ebpf program

I am using an eBPF program which counts the number of packets received on its interface on my destination vm. At first I can able to ping the vm running with eBPF program that is destination from the ...
Manideep G's user avatar
1 vote
0 answers
62 views

Why are compact_stall increasing on a system with Transparent Hugetable defrag set to 'defer'?

We're running a reverse proxying application within docker that is very network intensive. Dockerd is occasionally allocating memory using madv_hugepage, and we've observed this sometimes causes ...
d1jt's user avatar
  • 11
0 votes
0 answers
113 views

Linux Kernel Module loading in Docker container - Runaway Usage

When starting a docker container on an Amazon Linux 2 instance, I load a kernel module. I first unload the module, and load it again so that if the kernel module is updated, the newest version will be ...
Ozgur Akcali's user avatar
1 vote
0 answers
320 views

Debian - Wireguard Forces Real Time Kernel

I've a system running Debian 12 and while trying to install Wireguard I noticed it would pull a different kernel: root@iotgateway:~# apt install wireguard --no-install-recommends Reading package lists....
TCB13's user avatar
  • 1,238
0 votes
0 answers
52 views

How to change the batch size of pcp in linux kernel?

I increased the pcp->high via echo 8 > /proc/sys/vm/percpu_pagelist_fraction command, but the pcp->batch value still remains at 63. vm stats threshold: 125 cpu: 383 count: 103931 ...
Frontier_Setter's user avatar
0 votes
0 answers
303 views

RHEL9.2 complains about missing /lib/modules/5.14.0-284.25.1.el9_2.x86_64 when rebuilding initramfs

The kernel on one of our RHEL9.2 servers was recently upgraded to 6.2.8 in preparation for a software upgrade but due to complications, we've had to revert back to 5.14.0-284.25.1.el9_2.x86_64. I've ...
nathan.glades's user avatar
2 votes
0 answers
526 views

Raising priority of network interface interrupts on Ubuntu 22 low latency kernel 5.15

I am running Ubuntu 18 on several servers with the low latency kernel. Previously I have used chrt to raise the priority of interrupt threads for the interrupts related to a specific network interface....
Jonas's user avatar
  • 21
0 votes
1 answer
351 views

I want to make Linux Kernel Source an RPM file

I am currently using Rocky Linux 8.7. The current kernel version is "4.18.0-425.13.1.el8_7.x86_64". I want to upgrade kernel through RPM, not source compile. In the kernel compile step, use ...
gotothesky's user avatar
0 votes
0 answers
328 views

Re-compressing XZ kernel module?

I have a kernel module produced by kernel option CONFIG_MODULE_COMPRESS_XZ. When I manually decompress the file with unxz and re-compress with xz, the new .ko.xz file differs from the original .ko.xz ...
Pavel Hofman's user avatar
0 votes
1 answer
384 views

Ethernet connection is dropped when restarting openibd ( Infiniband ) service

I have a multiple servers with Ethernet controller on board and InfiniBand controller installed in a PCI slot. The problem is when im restarting openibd.service which should control only the ...
Oren's user avatar
  • 21
0 votes
1 answer
93 views

How to make IpTable Rules immutable in linux

I work on Linux and want to add rules to iptable. I want these rules to be immutable anyway (either changed or deleted). What should I do? Note that for me the rules that are running and kept in ...
amirsalimi's user avatar
1 vote
1 answer
101 views

rp_filter kernel setting precedence

When rp_filter kernel setting is configured with different boolean, which takes precedence? all.rp_filter or interface.rp_filter? net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.default.rp_filter = 1 ...
Rama's user avatar
  • 87
0 votes
0 answers
73 views

Many linux process falling into 'D' status, server got stuck

I am running a high performance application on Centos 7.4 op system 3.10 with RT kernel. Sometimes a few process falling into 'D' status(uninterruptible), such as systemd、runc init、umount. The stack ...
alanZhang's user avatar
0 votes
0 answers
855 views

How to get rid of “Duplicate IMA measurements will not be recorded in the IMA log.”?

In the journal of my Debian 12 kernel linux-image-6.1.0-10-amd64 version 6.1.37-1 I discovered the following lines: … … hostname systemd[1]: Starting systemd-journald.service - Journal Service … … ...
user avatar
5 votes
2 answers
18k views

failed to create fsnotify watcher: too many open files

I received this error while trying to tail the log of a Kubernetes pod. failed to create fsnotify watcher: too many open files
Steven's user avatar
  • 425
0 votes
0 answers
226 views

Centos show me "Cannot find a valid baseurl for repo: base/7/x86_64"

Hi, i have a issue, when i type in Centos 7 "yum update" show me next error Loading mirror speeds from cached hostfile One of the configured repositories failed (Unknown), and yum doesn't ...
CristianDAG's user avatar
0 votes
2 answers
375 views

How does GRE interface route packet to remote endpoint

I have the following topology which I configured to run a GRE tunnel between my Desktop and the wireless router. On the PC: ip link add l2gre0 type gretap remote 192.168.0.103 local 192.168.0.10 On ...
Haswell's user avatar
  • 113
1 vote
1 answer
5k views

debian update fails on buildine "new" kernel

my current version $ cat /etc/*elease* PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" ...
francois P's user avatar
-2 votes
1 answer
246 views

Updating Centos 8.0 to Centos 8.3

I need your expert help on how can I update Centos 8.0 to Centos 8.3. I have installed Centos 8.0 using the standard option without GUI. It's a requirement at work. Please help Thanks & regards,
vinv27009's user avatar
1 vote
1 answer
657 views

Cannot downgrade linux-image-amd64

Some time ago, I wanted to try the 5.10.127-2~bpo10+1 kernel on Debian 10 Buster system. However, that kernel was not maintained nor patched by Debian any longer. Now, new 4.19.x kernels no longer ...
mt42's user avatar
  • 131
0 votes
0 answers
354 views

Traffic Control - Searching clsact filters by parent ID

According to net, sched: add clsact qdisc you add filter on ingress and egress after adding clsact,e.g. ➜ tc qdisc add dev foo clsact ➜ tc qdisc show dev foo ➜ tc filter add dev foo ingress bpf ...
Maciek Leks's user avatar
3 votes
1 answer
1k views

Enabling wireguard log messages with secure boot / kernel lockdown enabled

On fedora 37, I am trying to enable kernel log messages for wireguard by executing this command in a root-shell: echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control Unfortunately, ...
Zulakis's user avatar
  • 4,253
1 vote
0 answers
168 views

Kernel reboot without log during starting the crash kernel

I am testing crash kernel image feature with arm64 device, kernel version is linux-5.4, now i am trigger kernel crash via "echo c > /proc/sysrq-trigger", then kernel would trigger null-...
Andy2's user avatar
  • 11
0 votes
0 answers
108 views

May I ask during runtime how to check the some kernel command line parameters which not set in the grub but have a default value?

I notice there are some kernel command line parameters like below, which from Manual: audit= [KNL] Enable the audit sub-system Format: { "0" | "...
superpear's user avatar
0 votes
0 answers
2k views

How do I fix amdgpu and amdgpu-dkms packages not installing?

I'm trying to install the amdgpu package and it throws a bunch of errors: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were ...
Mach's user avatar
  • 1
0 votes
0 answers
590 views

Cannot boot on Arch Linux after modifying kernel parameters with GRUB

Looking for a way to set my backlights on my laptop running Arch Linux (and Windows on a dual boot), I edited the /etc/default/grub file to change a kernel parameter. Here is what I changed: # before ...
Romain T-BIGOT's user avatar
0 votes
1 answer
359 views

How to find the cause of a server kernel panic?

Our high-load server is in kernel panic. How can we identify the cause and correct it? It is a Dell PowerEdge R940 with 256GB ram and 20TB disk array with the root in a SSD disk. Linux CentOs 7 system....
user2309000's user avatar
0 votes
1 answer
414 views

Why do some servers have /etc/sysconfig/kernel and others do not?

I spent some time looking into this and couldn't figure out why there are servers with and without /etc/sysconfig/kernel. What's particularly interesting is that we have some servers with the same ...
hfranco's user avatar
  • 584
1 vote
0 answers
149 views

Routing issue on Debian 11 VM

I updated my OPnsense "router/gateway" to 23.1 a few days ago, and now I am experiencing an issue with one of my machines. I have one machine with OPnsense installed that acts as a basic NAT ...
Granwille's user avatar
0 votes
2 answers
317 views

Can a Linux web server which hasn't been restarted for years be secure?

The content of /proc/uptime reports: 48973211.37 1627573879.70 48973211 seconds mean the server is up for 567 days without a restart. Since then many serious security fixes have been applied to the ...
zomega's user avatar
  • 51
0 votes
2 answers
1k views

How to debug Linux server reboots?

I have a Debian 10 server that keeps rebooting. journalctl offers possibility to list last boots: journalctl --list-boots -6 1ee519dc5bc24e88af75cc609ee32093 Mon 2023-02-06 21:02:02 UTC—Sun 2023-02-12 ...
Tombart's user avatar
  • 2,213
0 votes
0 answers
170 views

ICMP Echo requests initiated from an interface inside VRF don't get ICMP echo replies

I have this setup, which is basically a linux server with one physical interface connected to another device. On this physical interface there is 2 VLANs, 100 and 200. In VLAN100 there is an IP ...
Mohamed Kamal's user avatar
0 votes
1 answer
188 views

Injected packets using libPCAP library is not seen from python socket sniffer and netcat

I am using libpcap to transmit packets between two VETH pairs {veth1, veth1peer} and {veth2, veth2peer} and using each others peer to inject packets upwards to veth1 or veth2 and disabled "rp-...
Mazin Roushdy's user avatar
0 votes
0 answers
187 views

No irq handler for vector - randomly starting after time

I don't know where to start, so I give some basic information about my system and my observation. I'm having a Fedora 37 Linux server at home. After some uptime (happens after 3-5 days after booting), ...
Michael Hirschler's user avatar
1 vote
0 answers
249 views

Set number of threads when auto compiling kernel

I use Ubuntu as main operating system. I have found that when a new kernel is included in a system upgrade, during the upgrade, certain kernel-related items are compiled (kernel modules?). During this ...
Ommadawn's user avatar
  • 235
1 vote
0 answers
453 views

Can't load new modules/driver due to "Exec format error" / "Skipping invalid relocation target"

I'm trying to update the driver for our Intel C62x Chipset QuickAssist Technology add-on card, but getting the mentioned errors when I try to load the modules. I haven't done this in a while, but I ...
AGI-Chandler's user avatar
0 votes
1 answer
300 views

Is there any hardware requirements for Linux kTLS in nginx?

I've followed closely the manual on NGINX blog. This works flawlessly on my machine, with an AMD Ryzen PRO 4750G. The output for a 5GB file using curl on https://localhost is twice as fast with kTLS, ...
Adrien Clerc's user avatar
0 votes
2 answers
1k views

how to delete a file by a inode in linux kernel

I got the inode of a file in linux kernel, I want to delete the file by the inode. Do I need to unlink every dentry of the inode? or do I need to unlink any dentry? Which locks should I use to protect ...
user1651758's user avatar
0 votes
2 answers
181 views

Linux process scheduling by user?

It seems Linux schedules process execution independently of the user of the process. So, if one user is running 100 processes and another user is running 1 process, in average, the first one will get ...
João M. S. Silva's user avatar
0 votes
1 answer
1k views

Debian 11 : Can't add squashfs to /proc/filesystems

I'm trying to fix an issue with snap I'm having : root@puppeteer:~# snap install core error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /...
hendr1x's user avatar
  • 101

1
2 3 4 5
12