在 CentOS 7 me whirihora mo te memcached Te aro turukiI te wa e hotaka ana ahau, ka raru ahau kaore e kitea e te memcached te konae pid...

Ko nga whirihora katoa ka kitea e matou i roto i te googling kei roto tenei rarangi:
check process memcached with pidfile /var/run/memcached/memcached.pid
engari,/var/run Kaore i roto memcached.pid kōnae, kaore /var/run/memcached kōpaki.
kua takina /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
- Na reira, karekau he huarahi ki te konae .pid.
- Mena ka tirohia te memcached kaore he konae .pid?
- Ano, ka taea ranei tenei konae .pid ki tetahi atu waahi?
Me pehea te tohu a CentOS 7 i te waahi waahi o te konae pid memcache?
Ko te otinga ko te tautuhi i te wahitau kōnae memcache pid i tohua e koe ki te whirihoranga aroturuki Monit▼
check process memcached with pidfile /var/run/memcached/memcached.pid
Whakakapihia ki te wahitau kōnae o te pid memcached e whai ake nei
check process memcached with match memcached
To tatou whirihoranga mo 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
Mo te tikanga whakaurunga o Centos 7 Monit aroturuki 5.14, tirohia te akoranga e whai ake nei▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Kaore e kitea e te memecached te konae pid? CentOS 7 Whakaritea te memcache pid" hei awhina i a koe.
Nau mai ki te tohatoha i te hono o tenei tuhinga:https://www.chenweiliang.com/cwl-26685.html
Hei whakatuwhera i etahi atu tinihanga huna🔑, nau mai ki te uru mai ki ta maatau hongere Telegram!
Tohaina me te pai ki te pai koe! Ko o tohatoha me o hiahia ko to matou hihiri tonu!
