Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created January 6, 2012 19:04
Show Gist options
  • Save ingydotnet/1571941 to your computer and use it in GitHub Desktop.
Save ingydotnet/1571941 to your computer and use it in GitHub Desktop.
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato apps
+------------------+---+--------+--------------------------------------+----------+
| Application | # | Health | URLS | Services |
+------------------+---+--------+--------------------------------------+----------+
| catalyst-welcome | 1 | 0% | catalyst-welcome.stackato-a4ye.local | |
| env | 1 | 0% | env.stackato-a4ye.local | |
+------------------+---+--------+--------------------------------------+----------+
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato delete catalyst-welcome
Deleting application [catalyst-welcome]: OK
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato stop env
Stopping Application [env]: OK
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato start env
Staging Application [env]: OK
Starting Application [env]: ..........................
Application 'env' is taking too long to start (121 seconds), check your logs
@ingydotnet
Copy link
Author

ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato logs
====> logs/staging.log <====
[2012-01-06 10:45:20] Starting staging operation
[2012-01-06 10:45:46] Setting up temporary directories
[2012-01-06 10:45:49] Fetching application bits from the Cloud Controller
[2012-01-06 10:45:55] Waiting for container to be ready
[2012-01-06 10:46:07] Staging application
[2012-01-06 10:46:11]
[2012-01-06 10:46:11] [2012-01-06 18:46:11] : End of staging
[2012-01-06 10:46:11] Uploading droplet
[2012-01-06 10:46:13] Done!

====> logs/stdout.log <====
Server running at 192.168.3.62:3000

ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato apps

+-------------+---+--------+-------------------------+----------+
| Application | # | Health | URLS | Services |
+-------------+---+--------+-------------------------+----------+
| env | 1 | 0% | env.stackato-a4ye.local | |
+-------------+---+--------+-------------------------+----------+

@ingydotnet
Copy link
Author

[2012-01-06 11:05:27] dea - 1128 738f 50a6 INFO -- Stopping instance (name=env app_id=2 instance=29dc43d88e27d78cece6098d002fc7a3 index=0)
[2012-01-06 11:05:29] dea - 1128 738f 50a6 DEBUG -- DEA received discovery message: {"droplet":2,"limits":{"mem":64,"disk":2048,"fds":256},"name":"env","runtime":"node","sha":"96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3"}
[2012-01-06 11:05:29] dea - 1128 738f 50a6 DEBUG -- DEA received start message: {"droplet":2,"name":"env","uris":["env.stackato-a4ye.local"],"runtime":"node","framework":"node","sha1":"96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3","executableFile":"/var/vcap/shared/droplets/96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3","executableUri":"http://192.168.0.20:9022/staged_droplets/2/96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3","version":"96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3-2","services":[],"limits":{"mem":64,"disk":2048,"fds":256},"env":["HTTP_PROXY='http://localhost:8123'","http_proxy='http://localhost:8123'"],"users":["[email protected]"],"index":0}
[2012-01-06 11:05:29] dea - 1128 738f 50a6 DEBUG -- Requested Limits: mem=64M, fds=256, disk=2048M
[2012-01-06 11:05:29] dea - 1128 738f 50a6 DEBUG -- Creating container 6e78462c0ad1236ee4b552288d108382
[2012-01-06 11:05:32] dea - 1128 738f 50a6 DEBUG -- Grabbed container dir /lxc/containers/stackato-6e78462c0ad1236ee4b552288d108382/rootfs/app
[2012-01-06 11:05:33] dea - 1128 738f 50a6 DEBUG -- Waiting for 6e78462c0ad1236ee4b552288d108382 to become accessible
[2012-01-06 11:05:43] dea - 1128 738f 50a6 DEBUG -- reserved_mem = 64 MB, max_memory = 2048 MB
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Need to download app bits from http://192.168.0.20:9022/staged_droplets/2/96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Took 0.021926255 to download and write file
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Took 0.014956095 to stage the app directory
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Completed download
[2012-01-06 11:05:43] dea - 1128 738f 9a8b INFO -- Starting up instance (name=env app_id=2 instance=6e78462c0ad1236ee4b552288d108382 index=0)
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Clients: 1
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Reserved Memory Usage: 64 MB of 2048 MB TOTAL
[2012-01-06 11:05:43] dea - 1128 738f 9a8b DEBUG -- Grabbed port 41121 for instance (name=env app_id=2 instance=6e78462c0ad1236ee4b552288d108382 index=0)
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.^M
Permission denied, please try again.^M
Permission denied, please try again.^M
Permission denied (publickey,password).^M
[2012-01-06 11:05:45] dea - 1128 738f 50a6 DEBUG -- DEA received router start message: {"id":"7692bae3ed960fbb7ff95e3267e80860","version":0.98}
[2012-01-06 11:05:48] dea - 1128 738f 50a6 INFO -- PID:17368 assigned to droplet instance: (name=env app_id=2 instance=6e78462c0ad1236ee4b552288d108382 index=0)
[2012-01-06 11:05:48] dea - 1128 738f 50a6 DEBUG -- Took 0.001919518 to snapshot application state.
[2012-01-06 11:06:04] dea - 1128 738f 50a6 WARN -- Took 0.265376821s to execute du.
[2012-01-06 11:06:05] dea - 1128 738f 50a6 DEBUG -- DEA received router start message: {"id":"7692bae3ed960fbb7ff95e3267e80860","version":0.98}
[2012-01-06 11:06:06] dea - 1128 738f 50a6 WARN -- Took 0.252399754s to execute du.
[2012-01-06 11:06:35] dea - 1128 738f 50a6 DEBUG -- DEA received router start message: {"id":"7692bae3ed960fbb7ff95e3267e80860","version":0.98}
[2012-01-06 11:06:52] dea - 1128 738f 50a6 WARN -- Giving up on connecting app.
[2012-01-06 11:06:52] dea - 1128 738f 50a6 DEBUG -- Sent droplet.exited {"droplet":2,"version":"96b4e2e36886f7c8209bcdd1b7e206d3c0fb77b3-2","instance":"6e78462c0ad1236ee4b552288d108382","index":0,"reason":"CRASHED","crash_timestamp":1325876812}
[2012-01-06 11:06:52] dea - 1128 738f 50a6 INFO -- Stopping instance (name=env app_id=2 instance=6e78462c0ad1236ee4b552288d108382 index=0)

@ingydotnet
Copy link
Author

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
stepping : 5
cpu MHz : 933.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 5054.41
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
stepping : 5
cpu MHz : 933.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 5053.87
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
stepping : 5
cpu MHz : 933.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 4
initial apicid : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 5053.88
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
stepping : 5
cpu MHz : 933.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 5
initial apicid : 5
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 5053.89
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment