Smokeping doesn't work: CGI reply (no response received)

Hi all,
smokeping stopped working

The home page shows correctly; but every graph page gives the error

An error occurred while reading CGI reply (no response received)

In smokeping status I see an RRD error

mag 30 18:13:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/bianco500.rrd: found extra data on update argument: 1.0700000000e-02

What can I do?


Nginx, fastcgi and smokeping status are:

[mirto@mostro ~]$ LANG=C sudo systemctl status nginx
* nginx.service - nginx web server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: disabled)
     Active: active (running) since Sat 2026-05-30 18:18:09 CEST; 1h 10min ago
 Invocation: d3cf540c85ec4905b10fd00b6313a113
    Process: 59740 ExecStart=/usr/bin/nginx (code=exited, status=0/SUCCESS)
   Main PID: 59741 (nginx)
      Tasks: 2 (limit: 154400)
     Memory: 2.9M (peak: 4.3M)
        CPU: 17ms
     CGroup: /system.slice/nginx.service
             |-59741 "nginx: master process /usr/bin/nginx"
             `-59742 "nginx: worker process"

mag 30 18:18:09 mostro systemd[1]: Starting nginx web server...
mag 30 18:18:09 mostro nginx[59740]: 2026/05/30 18:18:09 [warn] 59740#59740: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or >
mag 30 18:18:09 mostro systemd[1]: Started nginx web server.
[mirto@mostro ~]$ LANG=C sudo systemctl status fcgiwrap.socket
* fcgiwrap.socket - fcgiwrap Socket
     Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.socket; enabled; preset: disabled)
     Active: active (running) since Thu 2026-05-28 19:48:25 CEST; 1 day 23h ago
 Invocation: 61b2592b04024b0f8fc08625b16e6853
   Triggers: * fcgiwrap.service
     Listen: /run/fcgiwrap.sock (Stream)

mag 28 19:48:25 mostro systemd[1]: Listening on fcgiwrap Socket.
[mirto@mostro ~]$ LANG=C sudo systemctl status smokeping
* smokeping.service - SmokePing Daemon
     Loaded: loaded (/usr/lib/systemd/system/smokeping.service; enabled; preset: disabled)
     Active: active (running) since Sat 2026-05-30 18:13:09 CEST; 1h 17min ago
 Invocation: 26933648b5944c108fffe9a4419eb54e
   Main PID: 59095 (/usr/bin/smokep)
      Tasks: 2 (limit: 154400)
     Memory: 27.1M (peak: 29.1M)
        CPU: 1.316s
     CGroup: /system.slice/smokeping.service
             |-59095 "/usr/bin/smokeping [FPing]"
             `-71033 /usr/bin/fping -C 20 -q -B1 -r1 -i10 8.8.4.4 192.168.1.58 1.0.0.1 192.168.68.30 192.168.1.254 192.168.1.10 192.168.1.40 192.168.68.102 localhost

mag 30 18:13:09 mostro smokeping[59095]: Not entering multiprocess mode for just a single probe.
mag 30 18:13:09 mostro smokeping[59095]: FPing: probing 9 targets with step 60 s and offset 31 s.
mag 30 18:13:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/bianco500.rrd: found extra data on update argument: 1.0700000000e-02
mag 30 18:31:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 3.0300000000e-01:3.240>
mag 30 18:40:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 1.2000000000e-01
mag 30 18:45:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 3.3200000000e-01
mag 30 18:51:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 3.3300000000e-01
mag 30 18:56:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 3.3500000000e-01
mag 30 19:06:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 3.0700000000e-01
mag 30 19:19:51 mostro smokeping[59095]: RRDs::update ERROR: /srv/smokeping/data/Home_Network/P9_tinello.rrd: found extra data on update argument: 3.0800000000e-01
[mirto@mostro ~]$ 

Not sure if I can help with this issue, but I do have to ask if you have modulejail installed on your system? If it is (or was) installed, then its /etc/modprobe.d/modulejail-blacklist.conf file could possibly be blocking the loading of networking modules that smokeping requires.

If you do have modulejail installed, you can check if anything has been blocked by running the following command:

journalctl --system | grep 'modulejail'
3 Likes

I would have thought this would have been resolved by now, but this seems to be a similar issue to this one from 2017. A script was employed to populate missing data Might want to submit an issue on the smokeping issue tracker (Issues Β· oetiker/SmokePing Β· GitHub).

1 Like

I’ll try asap and report here.

[UPDATED]

Hi @bananamangodog no luck.

I downloaded the rrd_ds_fix

I tried to launch the script

sudo -i
cd /srv/smokeping/data
systemctl stop smokeping
./fix_ds_quantity.sh -i -d .

But the script complains that there are not xml dump files.

So I created a script to generate xml files containing

#!/bin/bash
echo "REMOVING OLD XML..."
rm -v ./*/*.xml
echo "GENERATING XML..."
for f in ./*/*.rrd;
   do
      echo ${f};
      F1=${f::-4};
      echo ${F1};
      rrdtool dump ${F1}.rrd > ${F1}.xml;
   done

Launched the script and the smokeping directories now contains the couples .rrd .xml

[mostro data]# pwd
/srv/smokeping/data
[mostro data]# tree
.
β”œβ”€β”€ addSource.pl
β”œβ”€β”€ fix_ds_quantity.sh
β”œβ”€β”€ Home_Network
β”‚   β”œβ”€β”€ bianco500.rrd
β”‚   β”œβ”€β”€ bianco500.xml
β”‚   β”œβ”€β”€ Cloudflare_DNS.rrd
β”‚   β”œβ”€β”€ Cloudflare_DNS.xml
β”‚   β”œβ”€β”€ Google_DNS.rrd
β”‚   β”œβ”€β”€ Google_DNS.xml
β”‚   β”œβ”€β”€ Kit-Studio.rrd
β”‚   β”œβ”€β”€ Kit-Studio.xml
β”‚   β”œβ”€β”€ MOSTRO.rrd
β”‚   β”œβ”€β”€ MOSTRO.xml
β”‚   β”œβ”€β”€ NEXXT.rrd
β”‚   β”œβ”€β”€ NEXXT.xml
β”‚   β”œβ”€β”€ P9_principale.rrd
β”‚   β”œβ”€β”€ P9_principale.xml
β”‚   β”œβ”€β”€ P9_tinello.rrd
β”‚   └── P9_tinello.xml
β”œβ”€β”€ Home_Network_multi
β”œβ”€β”€ Local
β”‚   β”œβ”€β”€ LocalMachine.rrd
β”‚   └── LocalMachine.xml
β”œβ”€β”€ rrd_ds_fix.zip
β”œβ”€β”€ rrd-dump
└── __sortercache
    └── data.FPing.storable

5 directories, 23 files
[mostro data]# 

Then I launched again the script; but the script seems doing nothing

[mostro data]# ./fix_ds_quantity.sh -i -d .


This script will add datasources to RRDs.  It may require
up to 3x the current disk space used by the rrds that need
updated.  Please make sure you have enough free space to
run this script.

This makes changes to your RRDs, so DOUBLE CHECK that you
have made a recent backup of the RRDs.

This script can take a long time to run (1h+), so it may
be best to run it during maintenance.

Are you sure? (y/n) y
Batch job confirmed by user.
Batch process started at dom 31 mag 2026, 20:19:19, CEST
Populating list of RRDs from the dircetory: .
Batch job finished at dom 31 mag 2026, 20:19:19, CEST.
A total of 0 file(s) were updated with a total of 0 datasource(s).
Changes logged to the file /tmp/fix_rrd_ds.log
[mostro data]#

Looking at the script seems that the β€œsources” in the xml files and in the rrd files are the same

function compare_rrd() {
	local rrd_file="$1"
	if $(echo "$rrd_file" | grep -q ".pnp-internal");then
		dialog "Ignoring pnp-internal RRD: $rrd_file.rrd"
		return 1
	fi 
	if [ ! -f "$rrd_file.rrd" ]; then
    		dialog "RRD File: $rrd_file.rrd not found!"
		return 1
	fi
	if [ ! -f "$rrd_file.xml" ]; then
    		dialog "XML File: $rrd_file.xml not found!"
		return 1
	fi

	local rrd_ds=$($RRDTOOL info "$rrd_file.rrd" | grep type | wc -l)
	local xml_ds=$(grep "<DS>" "$rrd_file.xml" | wc -l)
	
	if [ $rrd_ds -lt $xml_ds ];then
		add_ds_to_rrd "$rrd_file" "$rrd_ds" "$xml_ds"
		fix_perms "$rrd_file"
		return 0
	else
		return 1
	fi 

}

What I’m doing wrong?

UPDATE

Tried to remove all rrd files.
Smokeping starts recreating the rrd files
Launched again the fix_ds_quantity.sh with the same results.

Strangely also with the empty recreated rrd files smokeping giles the error

An error occurred while reading CGI reply (no response received)

But the smokeping status don’t show any error

[mostro data]# systemctl status smokeping
● smokeping.service - SmokePing Daemon
     Loaded: loaded (/usr/lib/systemd/system/smokeping.service; enabled; preset: disabled)
     Active: active (running) since Sun 2026-05-31 20:48:18 CEST; 26min ago
 Invocation: b7894c0857534180b46b77dad21de4c4
   Main PID: 136911 (/usr/bin/smokep)
      Tasks: 1 (limit: 154400)
     Memory: 26.8M (peak: 30M)
        CPU: 565ms
     CGroup: /system.slice/smokeping.service
             └─136911 "/usr/bin/smokeping [FPing]"

mag 31 20:48:18 mostro systemd[1]: Started SmokePing Daemon.
mag 31 20:48:18 mostro smokeping[136911]: Smokeping version 2.009000 successfully launched.
mag 31 20:48:18 mostro smokeping[136911]: Not entering multiprocess mode for just a single probe.
mag 31 20:48:18 mostro smokeping[136911]: FPing: probing 9 targets with step 60 s and offset 29 s.
[mostro data]# 

Mod edit: Consecutive posts merged.

Hi @bananamangodog i found an error.
The fcgiwrap.socket status is normal; but the fcgiwrap status shows a core dump

[mostro data]# systemctl status fcgiwrap.socket
● fcgiwrap.socket - fcgiwrap Socket
     Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.socket; enabled; preset: disabled)
     Active: active (running) since Thu 2026-05-28 19:48:25 CEST; 3 days ago
 Invocation: 61b2592b04024b0f8fc08625b16e6853
   Triggers: ● fcgiwrap.service
     Listen: /run/fcgiwrap.sock (Stream)

mag 28 19:48:25 mostro systemd[1]: Listening on fcgiwrap Socket.
[mostro data]# systemctl status fcgiwrap
● fcgiwrap.service - Simple CGI Server
     Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.service; indirect; preset: disabled)
     Active: active (running) since Sat 2026-05-30 17:49:23 CEST; 1 day 3h ago
 Invocation: aeb21712113c47b6a01697a478b65fdf
TriggeredBy: ● fcgiwrap.socket
   Main PID: 53373 (fcgiwrap)
      Tasks: 1 (limit: 154400)
     Memory: 1.3M (peak: 32M)
        CPU: 17.408s
     CGroup: /system.slice/fcgiwrap.service
             └─53373 /usr/sbin/fcgiwrap

mag 31 21:15:53 mostro fcgiwrap[53373]: *** buffer overflow detected ***: terminated
mag 31 21:15:54 mostro systemd-coredump[138310]: [πŸ‘•] Process 138307 (smokeping_cgi) of user 33 dumped core.
                                                 
                                                 Stack trace of thread 138307:
                                                 #0  0x00007f1b2dc9a29c n/a (libc.so.6 + 0x9a29c)
                                                 #1  0x00007f1b2dc3e7d0 raise (libc.so.6 + 0x3e7d0)
                                                 #2  0x00007f1b2dc25681 abort (libc.so.6 + 0x25681)
                                                 #3  0x00007f1b2dc26700 n/a (libc.so.6 + 0x26700)
                                                 #4  0x00007f1b2dd28c10 __fortify_fail (libc.so.6 + 0x128c10)
                                                 #5  0x00007f1b2dd28594 __chk_fail (libc.so.6 + 0x128594)
                                                 #6  0x00007f1b2dd2a0bb __strcat_chk (libc.so.6 + 0x12a0bb)
                                                 #7  0x00007f1b2df41ceb n/a (librrd.so.8 + 0x23ceb)
                                                 #8  0x00007f1b2df3482d rrd_graph_v (librrd.so.8 + 0x1682d)
                                                 #9  0x00007f1b2df390dc rrd_graph (librrd.so.8 + 0x1b0dc)
                                                 #10 0x00007f1b2e3cee6e XS_RRDs_graph (RRDs.so + 0x3e6e)
                                                 #11 0x00007f1b2e0f2e63 Perl_rpp_invoke_xs (libperl.so + 0xf2e63)
                                                 #12 0x00007f1b2e180b66 Perl_runops_standard (libperl.so + 0x180b66)
                                                 #13 0x00007f1b2e042a7c S_run_body (libperl.so + 0x42a7c)
                                                 #14 0x00005622de17a185 main (/usr/bin/perl + 0x1185)
                                                 #15 0x00007f1b2dc27741 n/a (libc.so.6 + 0x27741)
                                                 #16 0x00007f1b2dc27879 __libc_start_main (libc.so.6 + 0x27879)
                                                 #17 0x00005622de17a1c5 _start (/usr/bin/perl + 0x11c5)
                                                 
                                                 Stack trace of thread 138308:
                                                 #0  0x00007f1b2cd63a24 n/a (libexpat.so.1 + 0x14a24)
                                                 #1  0x00007f1b2cd570b9 XML_ParseBuffer (libexpat.so.1 + 0x80b9)
                                                 #2  0x00007f1b2dba5a03 n/a (libfontconfig.so.1 + 0x31a03)
                                                 #3  0x00007f1b2dba66f3 n/a (libfontconfig.so.1 + 0x326f3)
                                                 #4  0x00007f1b2dba6773 n/a (libfontconfig.so.1 + 0x32773)
                                                 #5  0x00007f1b2dba225d n/a (libfontconfig.so.1 + 0x2e25d)
                                                 #6  0x00007f1b2cd5b05a n/a (libexpat.so.1 + 0xc05a)
                                                 #7  0x00007f1b2cd5c065 n/a (libexpat.so.1 + 0xd065)
                                                 #8  0x00007f1b2cd5cfc1 n/a (libexpat.so.1 + 0xdfc1)
                                                 #9  0x00007f1b2cd5f6bf n/a (libexpat.so.1 + 0x106bf)
                                                 #10 0x00007f1b2cd516bf n/a (libexpat.so.1 + 0x26bf)
                                                 #11 0x00007f1b2cd57060 XML_ParseBuffer (libexpat.so.1 + 0x8060)
                                                 #12 0x00007f1b2dba5a03 n/a (libfontconfig.so.1 + 0x31a03)
                                                 #13 0x00007f1b2dba66f3 n/a (libfontconfig.so.1 + 0x326f3)
                                                 #14 0x00007f1b2db92f24 n/a (libfontconfig.so.1 + 0x1ef24)
                                                 #15 0x00007f1b2db80971 n/a (libfontconfig.so.1 + 0xc971)
                                                 #16 0x00007f1b2db93229 FcInit (libfontconfig.so.1 + 0x1f229)
                                                 #17 0x00007f1b2cd886a0 n/a (libpangoft2-1.0.so.0 + 0xc6a0)
                                                 #18 0x00007f1b2d5faad4 n/a (libglib-2.0.so.0 + 0x9aad4)
                                                 #19 0x00007f1b2dc981b9 n/a (libc.so.6 + 0x981b9)
                                                 #20 0x00007f1b2dd1d21c n/a (libc.so.6 + 0x11d21c)
                                                 ELF object binary architecture: AMD x86-64
mag 31 21:15:57 mostro fcgiwrap[53373]: *** buffer overflow detected ***: terminated
mag 31 21:15:57 mostro systemd-coredump[138323]: [πŸ‘•] Process 138320 (smokeping_cgi) of user 33 dumped core.
...

I’m investigating. Any hint?


Mod edit:- Please avoid consecutive posts. If there are no responses after your last post, edit that post instead to add more content. Consecutive posts remedied – it appears for the second time – No charge. :eyes:

That I’m afraid I can’t help you with. I don’t have smokeping nor intend on installing it. I was hoping that thread might point you in the right direction, but as for troubleshooting I can’t help further. As it seems to be a known problem (if indeed it is the same problem as that thread) it might be worth logging an issue on the smokeping issues log (I included the link in my original reply). I believe the author of smokeping is the same author as the rrd tool which was also implicated in that post.

1 Like

Hi @mirto, I had the same over the weekend, I was lazy and asked opencode to have a look. It said I had to downgrade rrdtool to to the previous version, I think it said a function call changed in rrdtool, I am now running rrdtool 1.9.0-9 and then smokeping started running again, so you can try that. Gemini recons we can try rebuild the smokeping package if we installed it using AUR, but I have not tried and I only see a Reinstall, not a Rebuild option.

1 Like

Welcome to the forum, @bHOLDher! :vulcan_salute:

If the AUR package is not a precompiled package, then reinstalling and rebuilding is the same thing β€” the sources will be fetched and rebuilt. However, before you commence, it might be good to ensure the cleanest build by removing the previous build files on your system if still present. :backhand_index_pointing_down:

pamac clean --build-files && pamac build smokeping
1 Like

Awesome thanks, I will give it a go :slightly_smiling_face:

1 Like

Hi @bHOLDher @Aragorn

On my machine smokeping comes from the extra archives

[mirto@mostro ~]$ LANG=C pamac info smokeping
Name                  : smokeping
Version               : 2.9.0-1
Description           : A tool to keep track of your network latency
URL                   : https://oss.oetiker.ch/smokeping/
Licenses              : GPL2
Repository            : extra
Installed Size        : 1,3 MB
Groups                : --
Depends On            : perl-config-grammar perl-digest-hmac perl-libwww rrdtool perl-fcgi perl-cgi-fast perl-io-tty perl-net-dns perl-net-snmp perl-net-telnet perl-ldap perl-net-openssh
Optional Dependencies : --
Required By           : --
Optional For          : --
Provides              : --
Replaces              : --
Conflicts With        : --
Packager              : Antonio Rojas <arojas@archlinux.org>
Build Date            : dom 29 giu 2025, 14:06:02
Install Date          : mer 16 lug 2025, 09:36:11
Install Reason        : Explicitly installed
Validated By          : Signature
Backup files          : --

[mirto@mostro ~]$ 

I opened an issue on smokeping #489 and in the first replies there is the confirmation that downgrading rrdtool to 1.9.0 solves the issue

bHOLDher

1 hour ago

I also had smokeping go down on Manjaro after updates, our AI overlords found on my machine that the problem was caused by the rddtool update from 1.9.0 to 1.10.0. So on my machine I downgraded back to rddtool 1.9.0 and my smokeping is running again.

Now I’ll try the downgrade and I’ll report here.

UPDATE

I tried the downgrade to 1.9.0-9

[mirto@mostro ~]$ sudo ls -lha /var/cache/pacman/pkg/ |grep rrdtool
-rw-r--r--  1 root root  714K 23 mag 15.47 rrdtool-1.10.0-1-x86_64.pkg.tar.zst
-rw-r--r--  1 root root   566 23 mag 15.47 rrdtool-1.10.0-1-x86_64.pkg.tar.zst.sig
-rw-r--r--  1 root root  722K 17 lug  2025 rrdtool-1.9.0-7-x86_64.pkg.tar.zst
-rw-r--r--  1 root root   310 17 lug  2025 rrdtool-1.9.0-7-x86_64.pkg.tar.zst.sig
-rw-r--r--  1 root root  724K 15 ott  2025 rrdtool-1.9.0-8-x86_64.pkg.tar.zst
-rw-r--r--  1 root root   566 15 ott  2025 rrdtool-1.9.0-8-x86_64.pkg.tar.zst.sig
-rw-r--r--  1 root root  724K 10 gen 20.25 rrdtool-1.9.0-9-x86_64.pkg.tar.zst
-rw-r--r--  1 root root   310 10 gen 20.25 rrdtool-1.9.0-9-x86_64.pkg.tar.zst.sig
[mirto@mostro ~]$ LANG=C sudo pacman -U file:///var/cache/pacman/pkg/rrdtool-1.9.0-9-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package rrdtool (1.10.0-1 => 1.9.0-9)
resolving dependencies...
looking for conflicting packages...

Packages (1) rrdtool-1.9.0-9

Total Installed Size:  2,08 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                         [##################################################################################] 100%
(1/1) checking package integrity                                                                                                       [##################################################################################] 100%
(1/1) loading package files                                                                                                            [##################################################################################] 100%
(1/1) checking for file conflicts                                                                                                      [##################################################################################] 100%
(1/1) checking available disk space                                                                                                    [##################################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) downgrading rrdtool                                                                                                              [##################################################################################] 100%
:: Running post-transaction hooks...
(1/5) Reloading system manager configuration...
(2/5) Enqueuing marked services...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Refreshing PackageKit...
(5/5) Checking for old perl modules...
[mirto@mostro ~]$ 

Stopped and restarted smokeping and it works again

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.