OOM-Killer発動タイミング
$ cat /etc/redhat-release
CentOS release 6.4 (Final)
$ rpm -qa | grep -i -E "(oon|mecab|mysql)"|sort
groonga-libs-3.0.3-0.el6.x86_64
http { | |
include /etc/nginx/mime.types; | |
default_type application/octet-stream; | |
log_format ltsv 'domain:$host\t' | |
'host:$remote_addr\t' | |
'user:$remote_user\t' | |
'time:$time_local\t' | |
'method:$request_method\t' | |
'path:$request_uri\t' |
# System secret ACL policy | |
--- | |
acl: | |
operators: | |
# TD | |
td: | |
secrets: | |
- td.* | |
td_load: | |
secrets: |
# | |
<match apache.**> | |
@type copy | |
<store> | |
@type s3 | |
...snip... | |
buffer_path /var/log/fluent/s3_hourly | |
time_slice_format %Y%m%d%h | |
</store> |
# | |
# Nginx proxy for Elasticsearch + Kibana | |
# | |
# In this setup, we are password protecting the saving of dashboards. You may | |
# wish to extend the password protection to all paths. | |
# | |
# Even though these paths are being called as the result of an ajax request, the | |
# browser will prompt for a username/password on the first request | |
# | |
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of |
<source> | |
type tail | |
path /var/log/httpd/error_log | |
format /^(\[(?<time>[^\]]*)\] \[(?<level>[^\]]+)\] (\[client (?<host>[^\]]*)\] )?(?<message>.*)|(?<message>.*))$/ | |
time_format %a %b %d %H:%M:%S %Y | |
tag apache.error | |
pos_file /var/log/td-agent/apache_error.pos | |
</source> | |
# 送り先を Fluentd の標準ログへ出力します |
$ rpm -qlpi vagrant_x86_64.rpm | |
Name : vagrant Relocations: / | |
Version : 1.1.0 Vendor: @localhost.localdomain | |
Release : 1 Build Date: Thu 14 Mar 2013 03:23:41 PM JST | |
Install Date: (not installed) Build Host: localhost.localdomain | |
Group : default Source RPM: vagrant-1.1.0-1.src.rpm | |
Size : 47447725 License: unknown | |
Signature : (none) | |
Packager : <@localhost.localdomain> | |
URL : http://example.com/no-uri-given |
### Test Run Command(テスト実行したコマンド) | |
curl http://localhost:8888/test -F 'json={"message":"foo"}' | |
### actual logging output(実際のログ出力) | |
2013-03-06 00:14:53 +0900 debug.mixin: {"message":"foo"} | |
### expected logging output(期待したログ出力) | |
2013-03-06 00:14:53 +0900 debug.mixin: {"message":"foo","my_tag":"test","my_time":"2013-03-05T15:14:53Z"} | |