Skip to content

Instantly share code, notes, and snippets.

View Oloremo's full-sized avatar

Proskurin Kirill Oloremo

  • Behavox
  • GB, London
View GitHub Profile
Jun 5 23:23:34 consul1 consul[22934]: memberlist: Failed UDP ping: psql1 (timeout reached)
Jun 5 23:23:35 consul1 consul[22934]: memberlist: Suspect psql1 has failed, no acks received
Jun 5 23:23:37 consul1 consul[22934]: memberlist: Failed UDP ping: utils (timeout reached)
Jun 5 23:23:38 consul1 consul[22934]: memberlist: Suspect utils has failed, no acks received
Jun 5 23:23:38 consul1 consul[22934]: memberlist: Failed UDP ping: master-zabbix (timeout reached)
Jun 5 23:23:39 consul1 consul[22934]: memberlist: Suspect master-zabbix has failed, no acks received
Jun 5 23:23:39 consul1 consul[22934]: memberlist: Failed UDP ping: db-profile-stage (timeout reached)
Jun 5 23:23:40 consul1 consul[22934]: memberlist: Suspect db-profile-stage has failed, no acks received
Jun 5 23:23:40 consul1 consul[22934]: memberlist: Failed UDP ping: liveclassesstage (timeout reached)
Jun 5 23:23:41 consul1 consul[22934]: memberlist: Suspect liveclassesstage has failed, no acks received
# vagrant up --debug
INFO global: Vagrant version: 1.7.4
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_OLD_ENV_SHLVL="2"
INFO global: VAGRANT_OLD_ENV_LOGNAME="root"
INFO global: VAGRANT_OLD_ENV_XDG_RUNTIME_DIR="/run/user/1000"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_OLD_ENV_LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01
@Oloremo
Oloremo / gist:6534732
Created September 12, 2013 08:59 — forked from tonyc/gist:1384523

Using strace and lsof to debug blocked processes

You can use strace on a specific pid to figure out what a specific process is doing, e.g.:

strace -fp <pid>

You might see something like:

select(9, [3 5 8], [], [], {0, 999999}) = 0 (Timeout)