ブックマーク / lzone.de (5)

  • Do not list iptables nat rules without care

    What I do not want to do ever again is runningiptables -L -t naton a core production server with many many connections.And why?Well because running "iptables -L" auto-loads the table specific iptables kernel module which for the "nat" table is "iptables_nat" which has a dependency on "nf_conntrack". While "iptables_nat" doesn't do anything when there are no configured iptables rules, "nf_conntrack

    tmatsuu
    tmatsuu 2016/05/21
    不注意にiptablesを叩くことなかれ。そのタイミングからkernel module読まれて思わぬ動きすることあるよ。あーあるある。ここに書いてる解決策じゃなくてservice iptables statusがオススメ。
  • Redis performance debugging

    Here are some simple hints on debugging Redis performance issues.Monitoring Live Redis QueriesRun the "monitor" command to see queries as they are sent against an Redis instance. Do not use on high traffic instance!redis-cli monitorThe output looks like thisredis 127.0.0.1:6379> MONITOR OK 1371241093.375324 "monitor" 1371241109.735725 "keys" "*" 1371241152.344504 "set" "testkey" "1" 1371241165.169

    tmatsuu
    tmatsuu 2015/04/19
    メモ
  • Nagios Plugin for dmesg Monitoring | LZone

    tmatsuu
    tmatsuu 2013/12/22
    dmesgの監視か。このスクリプトはそのままじゃ使えないけども、確かにdmesgをちゃんと監視したい。
  • Nagios Check Plugin for "nofile" Limit | LZone

    RE: Please support theoldreader 3 days 9 hours agoPlease support theoldreader 1 week 4 days agoRTL Bugs Fixed 4 weeks 4 days agoWith logger_level set to 7 weeks 3 days agoGeneric social bookmarking 7 weeks 6 days agoAdded Mister Wong support 8 weeks 3 days agosocks 9 weeks 2 days agoOne more… 9 weeks 4 days agoWhere to put the username 10 weeks 3 days agogood one 12 weeks 3 days ago Following the

    tmatsuu
    tmatsuu 2013/05/12
    全体および各プロセスがnofileの制限にひっかかりそうになってないか調べるNagiosプラグイン。あーいいねいいねいいね。これ使おう。
  • Filtering dmesg Output | LZone

    Nice answer 1 week 5 days agoSpecific CVE 2 weeks 6 days agoCan this tool output 2 weeks 6 days agoRE: Or you can use debsecan 3 weeks 1 day agoUse RHN + Yum security 3 weeks 1 day agoIs any chance perl has 3 weeks 2 days agoOr you can use debsecan. 3 weeks 2 days agoRE: How do you avoid 4 weeks 17 hours agoHow do you avoid 4 weeks 2 days agoRE: That looks like CFE2 syntax 4 weeks 3 days ago Many

    tmatsuu
    tmatsuu 2012/10/12
    dmesgは-Tオプションで日時表記を変更でき、-xオプションでseverityを表示できる。他にもいろいろオプションあり。まじかー知らなかった。
  • 1