Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のように root として起動する場合:
memcached -c 5000 ...
次のようなスタートアップ スクリプトが必要ですか。
ulimit -n 5000 memcached -c 5000 ...
または、memcached は最大オープン ファイルを自動的に設定しますか?
memcached -c は、ユーザー制限の設定には影響しません。
最大同時接続数の値を ulimit で許可されている範囲外に設定した場合は、ulimit コマンドを実行するか、limits.conf (/etc/security/limits.conf) ファイルを変更して、十分な数の接続を許可する必要があります。 /ファイル記述子。