How to disable delayed ACKs

TCP throughput (SCP) from a remote host is slow. By looking at the trace, it is noticed that the CentOS server is waiting for up to 40ms before sending an ACK. In CentOS releases before 7.2, delayed Acks can only be reduced by cannot be eliminated. In CentOS 7.2, quickacks are tunable on a per …

Read more

How to calculate free space in thin pool LV

You can calculate free space in thinpool LVM by using the following command: # dmsetup status[... ]vg1-poolB-tpool: 0 45135824 thin-pool 1 4773/178944 90879/206109 - rw discard_passdown queue_if_no_space - 1024 In the above output, 206109 are the total available extents and 90879 are the free extents. You can now find the chunk size as follows: # …

Read more

How to start failed VNC service

The VNC server is configured on a Linux machine, but the service status is shown as failed. systemctl status vncserver@:1.service ● vncserver@:1.service - Remote desktop service (VNC) Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2021-09-01 11:30:03 +04; 11s ago Process: 13739 ExecStart=/usr/sbin/runuser -l vncuser -c /usr/bin/vncserver %i (code=exited, status=1/FAILURE) …

Read more

How to configure VNC server in AlmaLinux 8.3

Install the required VNC server packages in AlmaLinux 8.3 as follows: yum -y install tigervnc-server tigervnc The default configuration files for the tigervnc-server are located in /etc/tigervnc. In this directory, the following files are present. vncserver.usersvncserver-config-mandatoryvncserver-config-defaults Map the users to a particular port by adding the following option (:x=user) in /etc/tigervnc/vncserver.users file. :1=vnc-user1:2=vnc-users2 You should …

Read more

How to set interface to promiscuous mode permanently

You can use a script to apply promiscuous settings to an interface or multiple interfaces when they come online. touch /etc/NetworkManager/dispatcher.d/30-promiscchmod +x /etc/NetworkManager/dispatcher.d/30-promisc Add following script code to 30-promisc file. #!/bin/bashif [ "$1" == "eth0" ] && [ "$2" == "up" ]; thenip link set dev "$1" promisc onfi You can also use network initscripts …

Read more