memcached ora bisa nemokake file pid? CentOS 7 nemtokake memcache pid

CentOS 7 kudu dikonfigurasi kanggo memcached MonitoringNalika aku program, aku nemoni masalah sing memcached ora bisa nemokake file pid ...

memcached ora bisa nemokake file pid? CentOS 7 nemtokake memcache pid

Kabeh konfigurasi sing bisa ditemokake ing googling ngemot baris iki:

check process memcached with pidfile /var/run/memcached/memcached.pid

nanging,/var/run ora ana ing memcached.pid file, uga /var/run/memcached folder.

dipriksa /usr/lib/systemd/system/memcached.service

[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/memcached
ExecStart=/usr/bin/memcached -u $USER -p $PORT -m $CACHESIZE -c $MAXCONN $OPTIONS
  • Mulane, ora ana path menyang file .pid.
  • Yen mriksa memcached tanpa file .pid?
  • Uga, file .pid iki bisa ing lokasi liya?

Kepiye carane CentOS 7 nemtokake alamat lokasi file pid memcache?

Solusine yaiku nyetel alamat file pid memcache sing sampeyan temtokake ing konfigurasi pemantauan Monit▼

check process memcached with pidfile /var/run/memcached/memcached.pid

Ganti nganggo alamat file saka memcached pid▼ ing ngisor iki

check process memcached with match memcached

Konfigurasi kita kanggo memcached:

check process memcached with match memcached
start program = "/usr/bin/systemctl start memcached"
stop program = "/usr/bin/systemctl stop memcached"
if failed host 127.0.0.1 port 11211 protocol MEMCACHE then restart
if cpu > 70% for 2 cycles then alert
if cpu > 98% for 5 cycles then restart
if 2 restarts within 3 cycles then timeout

Kanggo cara instalasi Centos 7 Monit monitoring 5.14, waca tutorial ing ngisor iki▼

komentar

Alamat email sampeyan ora bakal diterbitake. Bidhang sing dibutuhake digunakake * Panggilan

Gulung menyang Top