2012-03-02から1日間の記事一覧

nginxで最大接続数を大きく増やす

worker_connections だけ増やしていると [alert] 27052#0: accept() failed (24: Too many open files) などと言われて悲しいので設定する。 /etc/security/limits.conf nginx soft nofile 10000 nginx hard nofile 10000 /proc /proc/sys/fs/file-max の値…

net-snmp snmpd の Connection From UDP をlogに出力させない

/etc/snmp/snmpd.conf # We do not want annoying "Connection from UDP: " messages in syslog. # If the following option is commented out, snmpd will print each incoming # connection, which can be useful for debugging. dontLogTCPWrappersConnec…