This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"timestamp":1381885622.0094373,"message":"Downloading application from http://zxsfhgjg:[email protected]:8181/staging/apps/0a4f783d-465a-4b54-b58d-66132d46e018","log_level":"info","source":"Staging","data":{"app_guid":"0a4f783d-465a-4b54-b58d-66132d46e018","task_id":"b9e4240e2cb092044f4c7326f7e1543c"},"thread_id":11001840,"fiber_id":23405720,"process_id":27008,"file":"/vagrant/dea_ng/lib/dea/staging_task.rb","lineno":232,"method":"block in promise_app_download"} | |
{"timestamp":1381885622.015281,"message":"<Warden::Protocol::CreateRequest bind_mounts: [<Warden::Protocol::CreateRequest::BindMount src_path: \"/tmp/dea_ng/staging/d20131016-27008-8xph23\", dst_path: \"/tmp/dea_ng/staging/d20131016-27008-8xph23\", mode: RO(0)>, <Warden::Protocol::CreateRequest::BindMount src_path: \"/vagrant/dea_ng/buildpacks\", dst_path: \"/vagrant/dea_ng/buildpacks\", mode: RO(0)>]>","log_level":"debug2","source":"Staging","data":{"app_guid":"0a4f783d-465a-4b54-b58d-66132d46e018","task_id":"b9e4240e2cb092044f4c7326f7e1543c"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"timestamp":1382360429.193328,"message":"rlimit_nofile: 1024 => 32768","log_level":"debug2","source":"Warden::Server","data":{},"thread_id":4591600,"fiber_id":11848200,"process_id":7289,"file":"/vagrant/warden/warden/lib/warden/server.rb","lineno":266,"method":"run!"} | |
{"timestamp":1382360429.194348,"message":"Configuration","log_level":"info","source":"Warden::Server","data":{"server":{"unix_domain_path":"/tmp/warden.sock","unix_domain_permissions":511,"container_klass":"Warden::Container::Linux","container_grace_time":300,"job_output_limit":10485760,"quota":{"disk_quota_enabled":true},"container_depot_path":"/tmp/warden/containers","container_rootfs_path":"/var/warden/rootfs","container_rlimits":{"nofile":8192,"as":4294967296,"nproc":512}},"logging":{"level":"debug2","file":"/vagrant/logs/warden.log"},"network":{"pool_network":"10.254.0.0/22","deny_networks":[],"allow_networks":[]},"port":{"pool_start_port":61001,"pool_size":4000},"user":{"pool_start_uid":10000,"pool_size":256}},"thread_id":4591600,"fiber_i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"timestamp":1381885621.9957068,"message":"request: sid=11 response='{:app_id=>\"0a4f783d-465a-4b54-b58d-66132d46e018\", :task_id=>\"b9e4240e2cb092044f4c7326f7e1543c\", :properties=>{:services=>[], :buildpack=>nil, :resources=>{:memory=>64, :disk=>1024, :fds=>16384}, :environment=>[], :meta=>{\"command\"=>\"ruby env.rb\", \"console\"=>true}}, :download_uri=>\"http://zxsfhgjg:[email protected]:8181/staging/apps/0a4f783d-465a-4b54-b58d-66132d46e018\", :upload_uri=>\"http://zxsfhgjg:[email protected]:8181/staging/droplets/0a4f783d-465a-4b54-b58d-66132d46e018/upload\", :buildpack_cache_download_uri=>\"http://zxsfhgjg:[email protected]:8181/staging/buildpack_cache/0a4f783d-465a-4b54-b58d-66132d46e018/download\", :buildpack_cache_upload_uri=>\"http://zxsfhgjg:[email protected]:8181/staging/buildpack_cache/0a4f783d-465a-4b54-b58d-66132d46e018/upload\", :async=>false}'","log_level":"info","source":"MultiResponseMessageBusRequest","data":{},"thread_id":13733880,"fiber_id":33069800,"process_id": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Written with [StackEdit](https://stackedit.io/). | |
`stdin:is not a tty` | |
try to solve | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Written with [StackEdit](https://stackedit.io/). | |
> fd_set rfds; | |
> | |
> int rv; | |
> | |
> FD_ZERO(&rfds); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Written with [StackEdit](https://stackedit.io/). | |
ruby的on函数?? | |
on(:after_stop) do | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
将health_manager.yml中的cc_partition : ng 改为 default,也没用? | |
确实没有用,改回去。 | |
先使用dea去stage droplet | |
然后使用dea去运行droplet | |
运行时会检查droplet.healthy,否则会destroy handle? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby的on函数?? | |
on(:after_stop) do | |
end | |
应该是自己实现的_ | |
warden/warden/event_emit.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
如果将url的health check取消 | |
会因为link()将app改为Crashed? | |
1 droplet.warden.link.completed | |
2 droplet.instance.uptime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
google group中有人提到,给应用分配的内存会用于多个用途,包括: | |
The memory used by the warden container | |
The memory used to map kernel extensions and system libraries (such as libc) into the process | |
The memory used for the jvm executables, jvm working heap, jit space, compressed references and so on. | |
The memory used for classes (application server and application), thread stacks, direct io buffers, and so on. | |
The memory used by the java application heap | |
java default buildpack中,将java_opts中的Xmx和Xms都赋值为用户设置的Memory_Limit | |
如果Xmx=Xms,那么避免堆动态扩展。 |
OlderNewer