Centos間のMemcached切断の問題

Centos間のMemcached切断の問題

nginxでロードバランシングを実行するアプリケーションサーバーがあります。この間、私のmemcachedがクラッシュしました。

以下は私のmemcache.confファイルです。

 # memcached.conf

port=11211
pidpath=/apps/home/memcached/bin/memcache_process.pid
user=root
maxconn=1024
cachesize=4096
options=20
logfile=/apps/home/memcached/logs/memcached.log

起動ファイル

  #!/bin/bash
echo "Memcached is starting"
MPATH=`dirname "$0"`
cd $MPATH
. ../../conf/memcached.cnf
$MPATH/memcached -d -p $port -u $user  -m $cachesize -c $maxconn -P $pidpath -d $options -vv > $logfile 2>&1

以下はmemcachedログファイルです。

<584 version
584 VERSION 1.4.15
<617 new auto-negotiating client connection
614: Client using the ascii protocol
<614 version
614 VERSION 1.4.15
<616 new auto-negotiating client connection
<618 new auto-negotiating client connection
<619 new auto-negotiating client connection
<620 new auto-negotiating client connection
<621 new auto-negotiating client connection
<622 new auto-negotiating client connection
<626 new auto-negotiating client connection
<624 new auto-negotiating client connection
<628 new auto-negotiating client connection
<623 new auto-negotiating client connection
<627 new auto-negotiating client connection
<625 new auto-negotiating client connection
<629 new auto-negotiating client connection
<630 new auto-negotiating client connection
<631 new auto-negotiating client connection
631: Client using the ascii protocol

専門家、助けてください。先週からこの問題が引き続き発生し、すべての方法を試しましたが、まだ結果が出ていません。

ベストアンサー1

設定ファイルは、memcache.confスタートアップファイルによって参照されるソース記述にすぎませんmemcached.cnf

おすすめ記事