###前提・実現したいこと
標題:Squidハング事象の解決方法について
導入環境(OS):RHELinux6.4
ソフトウェアバージョン:Squid-3.5.17
1CPU(Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz)、メモリ2GB
###発生している問題・エラーメッセージ
①Squid-3.5.17をコンパイルインストールし、諸設定を実施、リバースプロキシとして正常に動作することを確認
②サービス起動後、しばらくは正常に動作するが、比較的高頻度で応答を返さなくなってしまう事象が発生。契機は不明。負荷は殆どかけていない。
③応答を返さない状態となった場合、access.logには何も出力されない状態となるが、サービス(プロセス)は落ちていない。
④本事象はsquidデーモンを停止/起動することにより復旧する。
⑤ファイルディスクリプタの設定は/etc/init.d/squid内でsquid起動前に「ulimit -HSn 65536」コマンドを実行していて、特に関連するエラーは出ていない。
⑥cache.logには特にエラーメッセージは何も出ていない。
事象のデバッグ手段、Squid-3.5.17のバグ情報等があるようでしたら、ご教示下さい。
※現在debug_optionsを「ALL,1」で設定し、事象再現待ちの状態です。
【squid.conf】
http_port 80 accel vhost
http_port 8443 accel vhost
reply_header_access Via deny all
reply_header_access X-Cache deny all
reply_header_access X-Squid-Error deny all
reply_header_access Server deny all
reply_header_replace Server CpPrx
visible_hostname Secret
shutdown_lifetime 15 seconds
dead_peer_timeout 30 seconds
request_timeout 60 seconds
httpd_suppress_version_string on
cache deny all
ssl_bump server-first all
sslproxy_cert_error allow all #SSL ERROR: ignore
acl ext_res url_regex -i .(jpg|jpeg|gif|png|pic|pict|bmp|pbm|ico|mp2|mp3|ogg|wav|snd|aif|aiff|au|swf|flv|mp4|wmw|avi|mpg|mpeg)$
acl ext_dat url_regex -i .(pdf|exe|dat|data|zip|Z|tar|gz|tgz|bz|bz2)$
http_access deny ext_res
http_access deny ext_dat
acl monitoring src xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx # DEVPRX monitor
logfile_rotate 365
access_log daemon:/var/log/squid/access.log combined !monitoring
debug_options ALL,1
url_rewrite_program /etc/squid/squid_redirector.pl
acl 名前1 url_regex ^http:接続先URL
cache_peer 接続先ホスト名FQDN 443 0 ssl no-query originserver name=名前1
cache_peer_access 名前1 allow 名前2
※acl/cache_peer/cache_peer_accessを多数定義
###補足情報(言語/FW/ツール等のバージョンなど)
最新版Squid-3.5.19にアップデートしてみたいが、事象発生の契機、事象解消の目処が不明のため、許可が頂けない。
以上、よろしくお願いします。

回答1件
あなたの回答
tips
プレビュー