Unix domain sockets: What is the significance of send-q value in ss utility output for unix domain stream socket?

I am using ss utility to debug a possible message loss (not yet sure) between two applications communicating using unix stream sockets in a linux system. In the below output, app_yyy sends a message using write() system call to app_xxx and we feel that app_xxx may not have received the message. In the ss utility…

Details

How is a log inside bash or python script appended to a specific journald unit name?

How do scripts (bash, python etc) get associated to a unit name? Suppose I have a very simple unit file test-service.service [Unit] Description=Test Unit [Service] Type=simple User=myuser Group=myuser ExecStart=/usr/bin/bash /home/myuser/hello.sh [Install] WantedBy=default.target and hello.sh contains: #!/bin/bash echo “Hello World” when I try to show logs for that specific unit file I DON’T see the log…

Details

Error after started pacman updates

I started update arch-distro with pacman -Syu and I see: Total Download Size: 0.04 MiB Total Installed Size: 26901.78 MiB Net Upgrade Size: 1219.74 MiB :: Proceed with installation? [Y/n] Y :: Retrieving packages… (2493/2493) checking package integrity#################] 100% (2493/2493) loading package files#######################] 100% (2493/2493) checking for file conflicts##################] 100% error: failed to commit transaction…

Details

How can I speed up boot on Ubuntu 19.10? (19.10 boots much slower than 19.04 on same machine)

Edit: The boot on Ubuntu 19.04 was super-fast, but with 19.10 the boot is taking around 2 minutes. systemd-analyze gives Startup finished in 9.736s (kernel) + 1min 36.475s (userspace) = 1min 46.211s graphical.target reached after 1min 36.225s in userspace When I time the startup, it takes about 15 secs to get to the hang: Started…

Details

Using await with web3 function calls

I have just implemented a tweak to make my asynchronous call run sequentially, however it is messy solution. I have got the following code: async function myClick() { calculateAmounts(); await resolveAfter2Seconds(); storeValues(); } This works. However, what I would really like to do is: async function myClick() { await calculateAmounts(); storeValues(); } calculateAmounts() calls several…

Details

same mysql query takes much longer to execute on bare mariadb on specific linux box

I am tracing down slow MySQL performance on the production server and encountered a strange issue – the same MySQL query takes much longer to execute on the production CentOS 7.4.1708 3.14.32-xxxx-grs-ipv6-64 with 125GB of memory, when the same query, being run on the local instance on the same dump of the database executes much…

Details