Soumettre la recherche
Mettre en ligne
Node.js post-mortem debugging with mdb and SmartOS
•
1 j'aime
•
1,406 vues
J
juliengilli
Suivre
An introduction to post-mortem debugging for Node.js with mdb on SmartOS.
Lire moins
Lire la suite
Logiciels
Signaler
Partager
Signaler
Partager
1 sur 11
Recommandé
A Taste of Monitoring and Post Mortem Debugging with Node
A Taste of Monitoring and Post Mortem Debugging with Node
ibmwebspheresoftware
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with Jenkins
All Things Open
Performance Profiling Tools and Tricks
Performance Profiling Tools and Tricks
Phase2
Tracking vulnerable JARs
Tracking vulnerable JARs
David Jorm
Building world-class security response and secure development processes
Building world-class security response and secure development processes
David Jorm
Kernel Recipes 2017 - The state of kernel self-protection - Kees Cook
Kernel Recipes 2017 - The state of kernel self-protection - Kees Cook
Anne Nicolas
About performance testing with NanoCloud
About performance testing with NanoCloud
artem_panasyuk
Java Development EcoSystem
Java Development EcoSystem
Alex Tumanoff
Recommandé
A Taste of Monitoring and Post Mortem Debugging with Node
A Taste of Monitoring and Post Mortem Debugging with Node
ibmwebspheresoftware
Jenkins 101: Continuos Integration with Jenkins
Jenkins 101: Continuos Integration with Jenkins
All Things Open
Performance Profiling Tools and Tricks
Performance Profiling Tools and Tricks
Phase2
Tracking vulnerable JARs
Tracking vulnerable JARs
David Jorm
Building world-class security response and secure development processes
Building world-class security response and secure development processes
David Jorm
Kernel Recipes 2017 - The state of kernel self-protection - Kees Cook
Kernel Recipes 2017 - The state of kernel self-protection - Kees Cook
Anne Nicolas
About performance testing with NanoCloud
About performance testing with NanoCloud
artem_panasyuk
Java Development EcoSystem
Java Development EcoSystem
Alex Tumanoff
Simple tweaks to get the most out of your jvm
Simple tweaks to get the most out of your jvm
Jamie Coleman
Eclipse DemoCamp Bucharest 2014 - Continuous Integration Jenkins/Hudson
Eclipse DemoCamp Bucharest 2014 - Continuous Integration Jenkins/Hudson
VladLica
The New York Times: Sustainable Systems, Powered by Python
The New York Times: Sustainable Systems, Powered by Python
All Things Open
Using NuGet the way you should - TechDays NL 2014
Using NuGet the way you should - TechDays NL 2014
Maarten Balliauw
Finding and exploiting novel flaws in Java software (SyScan 2015)
Finding and exploiting novel flaws in Java software (SyScan 2015)
David Jorm
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Per Henrik Lausten
Container based android
Container based android
Lihan Chen
Owning windows 8 with human interface devices
Owning windows 8 with human interface devices
Nikhil Mittal
More fun using Kautilya
More fun using Kautilya
Nikhil Mittal
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Per Henrik Lausten
Introduction to Containers & Diving a little deeper into the benefits of Con...
Introduction to Containers & Diving a little deeper into the benefits of Con...
Synergetics Learning and Cloud Consulting
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Micael Gallego
Kautilya: Teensy beyond shell
Kautilya: Teensy beyond shell
Nikhil Mittal
Java Exploit Analysis .
Java Exploit Analysis .
Rahul Sasi
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
CODE WHITE GmbH
Jenkins Shared Libraries Workshop
Jenkins Shared Libraries Workshop
Julien Pivotto
Testing cloud and kubernetes applications - ElasTest
Testing cloud and kubernetes applications - ElasTest
Micael Gallego
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
Alexandre Gouaillard
Big Bang Theory: The Evolution of Pentesting High Security Enviroments IT Def...
Big Bang Theory: The Evolution of Pentesting High Security Enviroments IT Def...
Chris Gates
Red Hat Java Update and Quarkus Introduction
Red Hat Java Update and Quarkus Introduction
John Archer
NodeWay in my project & sails.js
NodeWay in my project & sails.js
Dmytro Ovcharenko
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu Vunvulea
Contenu connexe
Tendances
Simple tweaks to get the most out of your jvm
Simple tweaks to get the most out of your jvm
Jamie Coleman
Eclipse DemoCamp Bucharest 2014 - Continuous Integration Jenkins/Hudson
Eclipse DemoCamp Bucharest 2014 - Continuous Integration Jenkins/Hudson
VladLica
The New York Times: Sustainable Systems, Powered by Python
The New York Times: Sustainable Systems, Powered by Python
All Things Open
Using NuGet the way you should - TechDays NL 2014
Using NuGet the way you should - TechDays NL 2014
Maarten Balliauw
Finding and exploiting novel flaws in Java software (SyScan 2015)
Finding and exploiting novel flaws in Java software (SyScan 2015)
David Jorm
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Per Henrik Lausten
Container based android
Container based android
Lihan Chen
Owning windows 8 with human interface devices
Owning windows 8 with human interface devices
Nikhil Mittal
More fun using Kautilya
More fun using Kautilya
Nikhil Mittal
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Per Henrik Lausten
Introduction to Containers & Diving a little deeper into the benefits of Con...
Introduction to Containers & Diving a little deeper into the benefits of Con...
Synergetics Learning and Cloud Consulting
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Micael Gallego
Kautilya: Teensy beyond shell
Kautilya: Teensy beyond shell
Nikhil Mittal
Java Exploit Analysis .
Java Exploit Analysis .
Rahul Sasi
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
CODE WHITE GmbH
Jenkins Shared Libraries Workshop
Jenkins Shared Libraries Workshop
Julien Pivotto
Testing cloud and kubernetes applications - ElasTest
Testing cloud and kubernetes applications - ElasTest
Micael Gallego
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
Alexandre Gouaillard
Big Bang Theory: The Evolution of Pentesting High Security Enviroments IT Def...
Big Bang Theory: The Evolution of Pentesting High Security Enviroments IT Def...
Chris Gates
Red Hat Java Update and Quarkus Introduction
Red Hat Java Update and Quarkus Introduction
John Archer
Tendances
(20)
Simple tweaks to get the most out of your jvm
Simple tweaks to get the most out of your jvm
Eclipse DemoCamp Bucharest 2014 - Continuous Integration Jenkins/Hudson
Eclipse DemoCamp Bucharest 2014 - Continuous Integration Jenkins/Hudson
The New York Times: Sustainable Systems, Powered by Python
The New York Times: Sustainable Systems, Powered by Python
Using NuGet the way you should - TechDays NL 2014
Using NuGet the way you should - TechDays NL 2014
Finding and exploiting novel flaws in Java software (SyScan 2015)
Finding and exploiting novel flaws in Java software (SyScan 2015)
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Container based android
Container based android
Owning windows 8 with human interface devices
Owning windows 8 with human interface devices
More fun using Kautilya
More fun using Kautilya
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Introduction to Containers & Diving a little deeper into the benefits of Con...
Introduction to Containers & Diving a little deeper into the benefits of Con...
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Kautilya: Teensy beyond shell
Kautilya: Teensy beyond shell
Java Exploit Analysis .
Java Exploit Analysis .
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Jenkins Shared Libraries Workshop
Jenkins Shared Libraries Workshop
Testing cloud and kubernetes applications - ElasTest
Testing cloud and kubernetes applications - ElasTest
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
Big Bang Theory: The Evolution of Pentesting High Security Enviroments IT Def...
Big Bang Theory: The Evolution of Pentesting High Security Enviroments IT Def...
Red Hat Java Update and Quarkus Introduction
Red Hat Java Update and Quarkus Introduction
Similaire à Node.js post-mortem debugging with mdb and SmartOS
NodeWay in my project & sails.js
NodeWay in my project & sails.js
Dmytro Ovcharenko
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu Vunvulea
20120306 dublin js
20120306 dublin js
Richard Rodger
Docker San Diego 2015-03-25
Docker San Diego 2015-03-25
Casey Bisson
An Introduction To Android
An Introduction To Android
natdefreitas
Android Attacks
Android Attacks
Michael Scovetta
Brownbag on basics of node.js
Brownbag on basics of node.js
Jason Park
02 Node introduction
02 Node introduction
Ahmed Elbassel
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
AV Evasion with the Veil Framework
AV Evasion with the Veil Framework
VeilFramework
NodeJS Presentation
NodeJS Presentation
Faisal Shahzad Khan
Building Rich Internet Applications Using Google Web Toolkit
Building Rich Internet Applications Using Google Web Toolkit
rajivmordani
Phonegap for Engineers
Phonegap for Engineers
Brian LeRoux
An overview of node.js
An overview of node.js
valuebound
Triton + Docker, July 2015
Triton + Docker, July 2015
Casey Bisson
Difference between Node.js vs Java script
Difference between Node.js vs Java script
GhulamHussain799241
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
Tech in Asia ID
Xfocus xcon 2008_aks_oknock
Xfocus xcon 2008_aks_oknock
ownerkhan
Android village @nullcon 2012
Android village @nullcon 2012
hakersinfo
Similaire à Node.js post-mortem debugging with mdb and SmartOS
(20)
NodeWay in my project & sails.js
NodeWay in my project & sails.js
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu vunvulea building and testing windows 8 metro style applications using ...
20120306 dublin js
20120306 dublin js
Docker San Diego 2015-03-25
Docker San Diego 2015-03-25
An Introduction To Android
An Introduction To Android
Android Attacks
Android Attacks
Brownbag on basics of node.js
Brownbag on basics of node.js
02 Node introduction
02 Node introduction
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
AV Evasion with the Veil Framework
AV Evasion with the Veil Framework
NodeJS Presentation
NodeJS Presentation
Building Rich Internet Applications Using Google Web Toolkit
Building Rich Internet Applications Using Google Web Toolkit
Phonegap for Engineers
Phonegap for Engineers
An overview of node.js
An overview of node.js
Triton + Docker, July 2015
Triton + Docker, July 2015
Difference between Node.js vs Java script
Difference between Node.js vs Java script
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
Xfocus xcon 2008_aks_oknock
Xfocus xcon 2008_aks_oknock
Android village @nullcon 2012
Android village @nullcon 2012
Dernier
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
MyIntelliSource, Inc.
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
Delhi Call girls
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
kalichargn70th171
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ThousandEyes
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
Fatema Valibhai
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
harshavardhanraghave
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
OnePlan Solutions
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
ComplianceQuest1
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
bodapatigopi8531
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
aagamshah0812
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
SolGuruz
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
ICS
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
panagenda
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
kellynguyen01
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
MyIntelliSource, Inc.
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Arshad QA
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
kalichargn70th171
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Wave PLM
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
ABDERRAOUF MEHENNI
Dernier
(20)
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
Node.js post-mortem debugging with mdb and SmartOS
1.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. Node.js post-mortem debugging with mdb and SmartOS 1
2.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Node.js var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello Worldn'); }).listen(4242, '127.0.0.1'); Platform built on top of Chrome's JavaScript runtime for easily building fast, scalable network applications. 2
3.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Debugging challenge 3 “My application crashes randomly every few days, what’s going on?”
4.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Common debugging tools • Live debuggers • How to reproduce the bug in a timely manner? • Application cannot restart until investigation done. • No knowledge of both native and JavaScript layer. • Logging/Tracing • What if the information you need was not logged? 4
5.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Post-mortem debugging • OS generates a “photograph” of the program when it crashes for later inspection with debugger. • Application can restart right away: minimal downtime. • Does not require developers to know when a bug or crash will happen. • Investigation can happen at anytime, any number of times, by anyone. • Great for debugging rare bugs and production issues! 5
6.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Node.js internals 6
7.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . mdb on SmartOS • Understands native and JavaScript layers. • Useful JavaScript specific commands like ::findjsobjects and ::jsprint. • ::findjsobjects -r to find which objects reference which, useful for investigating memory leaks. • Commands can be piped to other mdb commands or to other UNIX programs. 7
8.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Other use cases • Finding memory leaks. • Investigating 100% CPU utilization issues. • DTrace with mdb. 8
9.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Other platforms • Work on support for platforms with lldb support: https://github.com/tjfontaine/lldb-v8. • Using mdb to load Linux core files: http:// www.joyent.com/blog/mdb-and-linux. 9
10.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . The workshop 10
11.
© 2015 Joyent,
Inc. Proprietary & Confidential Information of Joyent, Inc. . Learn more • Join us for the workshop tonight :) • npm install -g node-debug-school or git clone https://github.com/joyent/node-debug-school. • https://www.joyent.com/developers/node/debug/ mdb. • @misterdjules. 11