Skip to content

Instantly share code, notes, and snippets.

View joboscribe's full-sized avatar
🐉

jonathan s boschiero joboscribe

🐉
View GitHub Profile
//composer.json
{
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php",
PS1="\[$(tput bold)\]\[$(tput setaf 1)\]★ \[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\] \h \[$(tput setaf 5)\] \w\[$(tput setaf 6)\]\$(__git_ps1) \[$(tput setaf 7)\]\[$(tput setaf 1)\]★ \[$( tput sgr0)\]"
<?php
// get network-related information to determine if it can be upgrated to 5xx firmware
$myquery = <<<SQL
SELECT
COUNT(*) AS NODE_COUNT,
(
SELECT
COUNT(*)
FROM nodesdb
WHERE
$ ./bin/mzbench start_server
Executing make -C /root/mzbench/bin/../server generate
........Stdout+Stderr:
make: Entering directory '/root/mzbench/server'
/root/mzbench/bin/rebar3 compile
===> Verifying dependencies...
===> Package <<"header_generator">> not found. Fetching registry updates and trying again...
===> Updating package registry...
===> Writing registry to /root/.cache/rebar3/hex/default/registry
===> Generating package index...
@joboscribe
joboscribe / user_logs.txt
Last active March 6, 2018 17:35
user_logs.txt
16:59:07.452 [info] [Undefined] <0.33.0> Application mqtt_worker started on node '[email protected]'
16:59:12.024 [error] [Undefined] emulator Error in process <0.116.0> on node '[email protected]' with exit value:
{{badmatch,{error,emfile}},[{cpu_sup,get_uint32_measurement,2,[{file,"cpu_sup.erl"},{line,224}]},{cpu_sup,measurement_server_loop,1,[{file,"cpu_sup.erl"},{line,535}]}]}
16:59:17.026 [error] [Undefined] emulator Error in process <0.2264.0> on node '[email protected]' with exit value:
{emfile,[{erlang,open_port,[{spawn,"\"/root/.local/share/mzbench/lib/os_mon-2.4.4/priv/bin/cpu_sup\""},[stream]],[]},{cpu_sup,start_portprogram,0,[{file,"cpu_sup.erl"},{line,718}]},{cpu_sup,port_server_init,1,[{file,"cpu_sup.erl"},{line,571}]}]}
16:59:20.057 [error] [Undefined] <0.38.0> File operation error: emfile. Target: ./mzbl_loop.beam. Function: get_file. Process: code_server.
16:59:20.058 [error] [Undefined] <0.38.0> File operation error: emfile. Target: /root/.local/share/mzbench/lib/k
@joboscribe
joboscribe / system_logs.txt
Created March 6, 2018 17:34
system_logs.txt
This file has been truncated, but you can view the full file.
16:58:59.972 [info] [ API ] <0.358.0> Node repo: {git_install_spec,
"https://github.com/satori-com/mzbench.git",
"d1ac73ff771c8b85caac356ea45886e5505e9a1e",
"node",[]}
16:58:59.972 [info] [ API ] <0.358.0> Stage 'pipeline - init': started
16:58:59.973 [info] [ API ] <0.363.0> Starting benchmark
#{author => "anonymous",author_name => "anonymous",
benchmark_name => "995 again",cloud => local,deallocate_after_bench => true,
director_host => undefined,emulate_bench_crash => false,
env => [{"mzb_bench_id",25},{"mzb_script_name","generic.erl"}],
time="2018-04-09T15:20:34-07:00" level=info msg="[client] enter Publish"
time="2018-04-09T15:20:34-07:00" level=info msg="[client] sending publish message, topic: mqtt-stress"
time="2018-04-09T15:20:34-07:00" level=info msg="[net] obound wrote msg, id: 1"
time="2018-04-09T15:20:34-07:00" level=info msg="[net] outgoing waiting for an outbound message"
time="2018-04-09T15:20:34-07:00" level=info msg="[pinger] ping check 20"
time="2018-04-09T15:20:34-07:00" level=info msg="[pinger] ping check 5"
time="2018-04-09T15:20:34-07:00" level=info msg="[net] Received Message"
time="2018-04-09T15:20:34-07:00" level=info msg="[net] logic got msg on ibound"
time="2018-04-09T15:20:34-07:00" level=info msg="[net] received pingresp"
time="2018-04-09T15:20:34-07:00" level=info msg="[net] logic waiting for msg on ibound"