VSM: Could not get hold of varnishd, is it running?
Meken
meken at meken.com
Mon Jul 20 07:31:33 UTC 2020
Hello,
Thank you for pointing out.
Actually I have found there are 2 hosting names:
/var/lib/varnish/hosting/_.pid
/var/lib/varnish/hosting/_.secret
/var/lib/varnish/hosting/vcl_boot.1591618254.762419/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593236167.441982/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593240709.080728/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593321686.422155/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593480415.481845/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593596331.767909/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593646740.490612/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593731130.396063/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593735970.554049/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593752115.898866/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593819341.925212/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593821348.845795/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593859036.905446/vgc.so
/var/lib/varnish/hosting/vcl_boot.1593936916.234738/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594102030.408020/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594102493.820495/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594102558.317889/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594115324.956808/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594256069.249118/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594263018.809147/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594276763.233978/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594513693.409623/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594709761.958055/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594759584.588062/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594807888.796914/vgc.c
/var/lib/varnish/hosting/vcl_boot.1594807888.796914/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594807889.098981/vgc.so
/var/lib/varnish/hosting/vcl_boot.1594808687.740858/vgc.so
/var/lib/varnish/hosting/vcl_boot.1595220966.259629/vgc.so
/var/lib/varnish/hosting/vmod_cache/_vmod_geoip2.d4f3e94eb0a40163792cb604b03f475f2793827043dc3f812e3867640adbc5ef
/var/lib/varnish/hosting/vmod_cache/_vmod_memcached.ba9f2e10f51787a29884e1314a9a5cc5797c7b07701180c691ed8dc35ea519a9
/var/lib/varnish/hosting/vmod_cache/_vmod_purge.c9c4dcec5374aa74bc575bf8eb4b14ea3a397cf7f9b76c92e61f6d445c272954
/var/lib/varnish/hosting/vmod_cache/_vmod_sec.3f2220cc1ca701039ece8fa1e9372a9c489be429f7bc034409b0e19bc444ee07
/var/lib/varnish/hosting/vmod_cache/_vmod_std.9af553a8dca884723194122f99d953c49f3196571879528d1e3a4cf485eb69db
/var/lib/varnish/hosting/vmod_cache/_vmod_std.e6809bfcaa7e0a8e8471aff746df13c28aa127a2129196b7111767d698410a92
/var/lib/varnish/hosting/vmod_cache/_vmod_vtc.74219daba3f1108c268976b885710bb561ad7ae6cfb3586395752577aa2fe026
/var/lib/varnish/hosting/_.vsm_child/_.index
/var/lib/varnish/hosting/_.vsm_child/_.Log.d266b469ee688702
/var/lib/varnish/hosting/_.vsm_child/_.Stat.00e7e8c4bb334857
/var/lib/varnish/hosting/_.vsm_child/_.Stat.1874be6262cc0a02
/var/lib/varnish/hosting/_.vsm_child/_.Stat.238cd87b80f5106e
/var/lib/varnish/hosting/_.vsm_child/_.Stat.25a115b0812f1035
/var/lib/varnish/hosting/_.vsm_child/_.Stat.2a9d8ae90aa04520
/var/lib/varnish/hosting/_.vsm_child/_.Stat.2ce901f81ba8674b
/var/lib/varnish/hosting/_.vsm_child/_.Stat.3574f9ee43d182e0
/var/lib/varnish/hosting/_.vsm_child/_.Stat.4011ed5c65c24b76
/var/lib/varnish/hosting/_.vsm_child/_.Stat.4761cd6c4a0762af
/var/lib/varnish/hosting/_.vsm_child/_.Stat.483db41d2228a967
/var/lib/varnish/hosting/_.vsm_child/_.Stat.58ec4019d9af72ce
/var/lib/varnish/hosting/_.vsm_child/_.Stat.6ac8e14abb95d172
/var/lib/varnish/hosting/_.vsm_child/_.Stat.6f8e7c3a423f6c35
/var/lib/varnish/hosting/_.vsm_child/_.Stat.763b18d8e7345576
/var/lib/varnish/hosting/_.vsm_child/_.Stat.77d454dd1ca35c5b
/var/lib/varnish/hosting/_.vsm_child/_.Stat.84b131352b10995e
/var/lib/varnish/hosting/_.vsm_child/_.Stat.84ef1d281d0eacb0
/var/lib/varnish/hosting/_.vsm_child/_.Stat.88193972776ea4a8
/var/lib/varnish/hosting/_.vsm_child/_.Stat.93683d94dfe8b49b
/var/lib/varnish/hosting/_.vsm_child/_.Stat.a29a5acbb13ff336
/var/lib/varnish/hosting/_.vsm_child/_.Stat.a54063898ad7a594
/var/lib/varnish/hosting/_.vsm_child/_.Stat.aa88295972a97fcc
/var/lib/varnish/hosting/_.vsm_child/_.Stat.ab13aaaa63a7590d
/var/lib/varnish/hosting/_.vsm_child/_.Stat.aff530520dda04f4
/var/lib/varnish/hosting/_.vsm_child/_.Stat.bf90f2d515755eb0
/var/lib/varnish/hosting/_.vsm_child/_.Stat.ccbd337d82f6f0ff
/var/lib/varnish/hosting/_.vsm_child/_.Stat.df6fae49485208f1
/var/lib/varnish/hosting/_.vsm_child/_.StatDoc.233471e63a82f29e
/var/lib/varnish/hosting/_.vsm_child/_.StatDoc.7a9121bef6364347
/var/lib/varnish/hosting/_.vsm_child/_.StatDoc.7f4e829390f4e010
/var/lib/varnish/hosting/_.vsm_child/_.StatDoc.cee2c5474f14f3ae
/var/lib/varnish/hosting/_.vsm_child/_.StatDoc.f755c6a94b3d1172
/var/lib/varnish/hosting/_.vsm_child/_.Stat.e55cc8f627f75977
/var/lib/varnish/hosting/_.vsm_child/_.VSC_cluster.c2883cff4bdf936e
/var/lib/varnish/hosting/_.vsm_mgt/_.Arg.540dee026edd092a
/var/lib/varnish/hosting/_.vsm_mgt/_.Arg.eb34a8d8e7955630
/var/lib/varnish/hosting/_.vsm_mgt/_.Arg.eeab20a2138302e8
/var/lib/varnish/hosting/_.vsm_mgt/_.index
/var/lib/varnish/hosting/_.vsm_mgt/_.Panic.5f9e79333501df4f
/var/lib/varnish/hosting/_.vsm_mgt/_.Params.3012301ec25172db
/var/lib/varnish/hosting/_.vsm_mgt/_.Stat.cd05e3a89836f99c
/var/lib/varnish/hosting/_.vsm_mgt/_.StatDoc.da0172c3844cf691
/var/lib/varnish/support/_.pid
/var/lib/varnish/support/vcl_boot.1593736744.546792/vgc.so
/var/lib/varnish/support/vcl_boot.1594871730.354112/vgc.so
/var/lib/varnish/support/vcl_boot.1594872103.186081/vgc.so
/var/lib/varnish/support/vcl_boot.1594872168.503624/vgc.so
/var/lib/varnish/support/vcl_boot.1594873897.854042/vgc.c
/var/lib/varnish/support/vcl_boot.1594873897.854042/vgc.so
/var/lib/varnish/support/vcl_boot.1594873970.453179/vgc.so
/var/lib/varnish/support/vcl_boot.1594876509.059029/vgc.so
/var/lib/varnish/support/vmod_cache/_vmod_geoip2.d4f3e94eb0a40163792cb604b03f475f2793827043dc3f812e3867640adbc5ef
/var/lib/varnish/support/vmod_cache/_vmod_memcached.ba9f2e10f51787a29884e1314a9a5cc5797c7b07701180c691ed8dc35ea519a9
/var/lib/varnish/support/vmod_cache/_vmod_purge.c9c4dcec5374aa74bc575bf8eb4b14ea3a397cf7f9b76c92e61f6d445c272954
/var/lib/varnish/support/vmod_cache/_vmod_sec.3f2220cc1ca701039ece8fa1e9372a9c489be429f7bc034409b0e19bc444ee07
/var/lib/varnish/support/vmod_cache/_vmod_std.9af553a8dca884723194122f99d953c49f3196571879528d1e3a4cf485eb69db
/var/lib/varnish/support/vmod_cache/_vmod_std.e6809bfcaa7e0a8e8471aff746df13c28aa127a2129196b7111767d698410a92
/var/lib/varnish/support/vmod_cache/_vmod_vtc.74219daba3f1108c268976b885710bb561ad7ae6cfb3586395752577aa2fe026
/var/lib/varnish/support/_.vsm_child/_.index
/var/lib/varnish/support/_.vsm_child/_.Log.0d7f44cb8f3a5d1b
/var/lib/varnish/support/_.vsm_child/_.Log.5f672d0f5c10f522
/var/lib/varnish/support/_.vsm_child/_.Stat.04e5741d57c00566
/var/lib/varnish/support/_.vsm_child/_.Stat.09283eb16bd580f1
/var/lib/varnish/support/_.vsm_child/_.Stat.0ba2e4045c53a967
/var/lib/varnish/support/_.vsm_child/_.Stat.0dc3a2c9c64789cc
/var/lib/varnish/support/_.vsm_child/_.Stat.1069abe01bd05172
/var/lib/varnish/support/_.vsm_child/_.Stat.13a0b0fe6e0ca24a
/var/lib/varnish/support/_.vsm_child/_.Stat.15e5b4513f3bccad
/var/lib/varnish/support/_.vsm_child/_.Stat.1a1e77f3537d50a5
/var/lib/varnish/support/_.vsm_child/_.Stat.1f8bcdebd50dce46
/var/lib/varnish/support/_.vsm_child/_.Stat.1fc7a3861f8915da
/var/lib/varnish/support/_.vsm_child/_.Stat.205137ca5b0d6e75
/var/lib/varnish/support/_.vsm_child/_.Stat.251d5917e3797596
/var/lib/varnish/support/_.vsm_child/_.Stat.263c03843f6c3127
/var/lib/varnish/support/_.vsm_child/_.Stat.2781f2c4fcadaf37
/var/lib/varnish/support/_.vsm_child/_.Stat.27fddc8a76c75afe
/var/lib/varnish/support/_.vsm_child/_.Stat.381a53de43f5d59c
/var/lib/varnish/support/_.vsm_child/_.Stat.41a98962a6deaaf9
/var/lib/varnish/support/_.vsm_child/_.Stat.42bc1b375a7bba8b
/var/lib/varnish/support/_.vsm_child/_.Stat.42f0cfdaf3052ba4
/var/lib/varnish/support/_.vsm_child/_.Stat.448ee9c322abe5aa
/var/lib/varnish/support/_.vsm_child/_.Stat.49030f0f527c2f7b
/var/lib/varnish/support/_.vsm_child/_.Stat.55c04b86b78fb54b
/var/lib/varnish/support/_.vsm_child/_.Stat.5a8b83284950827c
/var/lib/varnish/support/_.vsm_child/_.Stat.60632071ca31fbb3
/var/lib/varnish/support/_.vsm_child/_.Stat.62e0c25a09b57d36
/var/lib/varnish/support/_.vsm_child/_.Stat.63cbbc16613f41dd
/var/lib/varnish/support/_.vsm_child/_.Stat.667c8b85466044a9
/var/lib/varnish/support/_.vsm_child/_.Stat.668f4a89bf9ea4cd
/var/lib/varnish/support/_.vsm_child/_.Stat.6892c4b5c217fc86
/var/lib/varnish/support/_.vsm_child/_.Stat.69a303a09332c2a6
/var/lib/varnish/support/_.vsm_child/_.Stat.6d0295da6c7e4026
/var/lib/varnish/support/_.vsm_child/_.Stat.6f139f66d1556e35
/var/lib/varnish/support/_.vsm_child/_.Stat.7aef7d316e14c17d
/var/lib/varnish/support/_.vsm_child/_.Stat.8684b86feab43f8b
/var/lib/varnish/support/_.vsm_child/_.Stat.888a83242ead17b3
/var/lib/varnish/support/_.vsm_child/_.Stat.8fde8ab16971111e
/var/lib/varnish/support/_.vsm_child/_.Stat.92d42eab309c4675
/var/lib/varnish/support/_.vsm_child/_.Stat.94600744f8d4b542
/var/lib/varnish/support/_.vsm_child/_.Stat.98e6a37d304956cf
/var/lib/varnish/support/_.vsm_child/_.Stat.997e31fae07bec89
/var/lib/varnish/support/_.vsm_child/_.Stat.9ab58bc666f5bba4
/var/lib/varnish/support/_.vsm_child/_.Stat.9c56793dc78624aa
/var/lib/varnish/support/_.vsm_child/_.Stat.a3769f31af4d4a56
/var/lib/varnish/support/_.vsm_child/_.Stat.aeaa32e7043a49f0
/var/lib/varnish/support/_.vsm_child/_.Stat.c4f0776f732e44cc
/var/lib/varnish/support/_.vsm_child/_.Stat.c597cdb86d76d7e2
/var/lib/varnish/support/_.vsm_child/_.Stat.ca6a8a3a10c35b97
/var/lib/varnish/support/_.vsm_child/_.Stat.d2280028348f15fa
/var/lib/varnish/support/_.vsm_child/_.Stat.d49bb6303364fc11
/var/lib/varnish/support/_.vsm_child/_.Stat.d7c51ba5c7127a00
/var/lib/varnish/support/_.vsm_child/_.Stat.dc712cf00b3666e6
/var/lib/varnish/support/_.vsm_child/_.StatDoc.3e1ceffd24df5a18
/var/lib/varnish/support/_.vsm_child/_.StatDoc.54904901d6b74897
/var/lib/varnish/support/_.vsm_child/_.StatDoc.54cd1302167ba000
/var/lib/varnish/support/_.vsm_child/_.StatDoc.5641140ea7bd59ad
/var/lib/varnish/support/_.vsm_child/_.StatDoc.7633d1248aa6017b
/var/lib/varnish/support/_.vsm_child/_.StatDoc.78c9be3d7a9ce6ff
/var/lib/varnish/support/_.vsm_child/_.StatDoc.7f4a0b837ca94f0a
/var/lib/varnish/support/_.vsm_child/_.StatDoc.c053791bd40907d0
/var/lib/varnish/support/_.vsm_child/_.StatDoc.c6460525e8aad955
/var/lib/varnish/support/_.vsm_child/_.StatDoc.f0b85ae236385aeb
/var/lib/varnish/support/_.vsm_child/_.Stat.e4b78a3cd5feacba
/var/lib/varnish/support/_.vsm_child/_.Stat.f697d3510bd1ae42
/var/lib/varnish/support/_.vsm_child/_.Stat.f87c0de19b04d006
/var/lib/varnish/support/_.vsm_child/_.Stat.fa563f8367737d1a
/var/lib/varnish/support/_.vsm_child/_.Stat.fc8280663c3c7a40
/var/lib/varnish/support/_.vsm_child/_.Stat.fcb623de50ff122f
/var/lib/varnish/support/_.vsm_child/_.Stat.ff13927f8a90a16d
/var/lib/varnish/support/_.vsm_child/_.VSC_cluster.02cb52f34a27a893
/var/lib/varnish/support/_.vsm_child/_.VSC_cluster.03933e00c82bc1d1
/var/lib/varnish/support/_.vsm_mgt/_.Arg.4eaa244519cb7a9a
/var/lib/varnish/support/_.vsm_mgt/_.Arg.577eb07c6bc135a2
/var/lib/varnish/support/_.vsm_mgt/_.Arg.7f29700cce51573c
/var/lib/varnish/support/_.vsm_mgt/_.Arg.aa405a409fa7bf72
/var/lib/varnish/support/_.vsm_mgt/_.Arg.f5af18d04d4747e8
/var/lib/varnish/support/_.vsm_mgt/_.Arg.f6f835e049452613
/var/lib/varnish/support/_.vsm_mgt/_.index
/var/lib/varnish/support/_.vsm_mgt/_.Panic.34f80bfd2fbe8660
/var/lib/varnish/support/_.vsm_mgt/_.Panic.3db14e7765aec3e9
/var/lib/varnish/support/_.vsm_mgt/_.Params.42de3b754cf4c5a9
/var/lib/varnish/support/_.vsm_mgt/_.Params.d698b52111b56e29
/var/lib/varnish/support/_.vsm_mgt/_.Stat.0c4c4a8b3ed63264
/var/lib/varnish/support/_.vsm_mgt/_.Stat.cee2e408df941cf1
/var/lib/varnish/support/_.vsm_mgt/_.StatDoc.422159a36029a74a
/var/lib/varnish/support/_.vsm_mgt/_.StatDoc.452b53c7cdc2e613
So I rm -r /var/lib/varnish/support (it is wrong hostname), but nothing changed?
Best regards,
Hu
-----Original Message-----
From: Dridi Boukelmoune <dridi at varni.sh>
Sent: Monday, July 20, 2020 3:15 PM
To: Meken <meken at meken.com>
Cc: varnish-misc <varnish-misc at varnish-cache.org>
Subject: Re: VSM: Could not get hold of varnishd, is it running?
On Sat, Jul 18, 2020 at 8:50 PM Meken <meken at meken.com> wrote:
>
> I am running Ubuntu 20.04.
>
> Recently upgrade of bash (apt update && apt upgrade) causes varnishlog/varnishtop/varnishtop not working:
> http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 bash
> amd64 5.0-6ubuntu1.1
>
> varnishstat
> .....
> VSM: Could not get hold of varnishd, is it running?
>
> Change to" sudo varnishstat" no use
>
> (but varnish is running)
>
> Tested on Varnish 6.2.1 also 6.4 master.
>
> So it is a bug of Ubuntu or Varnish?
>
> The only fix is to roll back to cancel the upgrade.
>
> ps aux | grep varnish
>
> root 2042323 0.0 0.0 9032 736 pts/0 S+ 04:28 0:00 grep --color=auto varnish
>
> vcache 4055139 0.0 0.2 19148 5120 ? SLs Jul18 0:05 /usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -t 120 -p thread_pool_min=500 -p thread_pool_max=5000 -p thread_pool_stack=4M -p feature=+http2 -s malloc,20G -a [::1]:6086,PROXY
>
> vcache 4055284 0.0 4.1 4417784 84540 ? SLl Jul18 0:48 /usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -t 120 -p thread_pool_min=500 -p thread_pool_max=5000 -p thread_pool_stack=4M -p feature=+http2 -s malloc,20G -a [::1]:6086,PROXY
>
>
>
> Any idea? Thanks!
Can you share the output of the following commands?
find /var/lib/varnish -type f | sort
hostname
I suspect that your machine's hostname changed. If I'm correct, that you can't rely on your machine's name for some reason, then it's your job to consistently use a stable -n option across all varnish* programs.
Dridi
More information about the varnish-misc
mailing list