VOOZH about

URL: https://thenewstack.io/instana-uses-ebpf-for-detecting-abnormal-process-termination/

⇱ Instana Uses eBPF for Detecting 'Abnormal Process Termination' - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-08-20 10:44:43
Instana Uses eBPF for Detecting 'Abnormal Process Termination'
news,
Linux / Observability

Instana Uses eBPF for Detecting ‘Abnormal Process Termination’

Instana has introduced a new feature that detects and reports abnormal process terminations to help surface crashes that may be causing issues that you were completely unaware of.
Aug 20th, 2020 10:44am by Mike Melanson
👁 Featued image for: Instana Uses eBPF for Detecting ‘Abnormal Process Termination’

One of the primary benefits of building an application to run on Kubernetes is that when a process crashes, Kubernetes automatically spins a new one up again in its place, barely skipping a beat. At the same time, this means that problems can go unnoticed, and application performance management (APM) for microservices provider Instana has introduced a new feature that detects and reports abnormal process terminations to help surface crashes that may be causing issues that you were completely unaware of.

“It’s not like a monolith system where if something crashes, you’ve got to reboot some machines. This is about constant improvement of your systems over time as opposed to avoiding a critical breakdown,” said Chris Farrell, technical director at Instana in an interview with The New Stack. “One of the problems of an abnormally terminating process is it’s masked in the overall operations, but it doesn’t necessarily get masked in your customer experiences. While, yes, the system is designed to bring up a new process when one crashes and to fill in the gap, that will possibly create a spike in latency, maybe a load issue, and other types of problems.”

The new feature works on all Linux machines or containers running a Linux kernel 4.8 and above, and uses the Extended Berkeley Packet Filter (eBPF) to get some extra information to help it determine the root cause of these crashes. While Instana is already hooked into the kernel, Farrell explained, eBPF provides added information to determine whether a process terminated abnormally or not.

“We treat eBPF like any of the other tech pieces of the stack, so we actually put a sensor on it. When the crashes occur, we’re actually using eBPF to get information out like termination codes. The idea is to first look at any termination error code to determine if it was an expected termination or an abnormal termination,” said Farrell. “Using the error code, we then look at things like what actually was the cause of the crash? Was there a kill directive given? Or did it just happen? Did it run out of memory? Did it have an invalid opcode?”

According to a blog post, the eBPF sensor reports abnormal process terminations in “near real-time,” with it taking “one or two seconds between the crash of an important process, and the accurate diagnostics of its demise to be visible in Instana.” The sensor is the first part of Instana written in Rust, which they note “truly lives up to the awesome reputation it is rightfully accruing,” and works out of the box on any system where eBPF is present. Farrel emphasizes that eBPF is just one part of a larger picture, however.

“It’s not just the fact that it’s data from eBPF, but rather we take the data from eBPF, the data we have from Linux, and the data we have from the other sensors, which could include Kubernetes, Docker, Rancher or whatever the other pieces you have that are part of the infrastructure stack, and then the stack itself. If it’s an app server, we’re going to be in at the app server level,” said Farrell. “We have this nuance of tying all those pieces of information together to start to understand what actually caused this crash and where do you need to go to start looking to solve it.”

Once the abnormal process termination is identified, then you can be alerted and the issue can be handled like any other, said Farrell, with any remediation being handled by whatever system you have connected Instana to for that purpose. On the user end, there is nothing needed to get the new feature up and running, other than operating on a compatible version of Linux.

KubeCon + CloudNativeCon is a sponsor of The New Stack.

Feature image via Pixabay.

TRENDING STORIES
Mike is a freelance writer, editor, and all-around techie wordsmith. Mike has written for publications such as ReadWriteWeb, Venturebeat, and ProgrammableWeb. His first computer was a "portable" suitcase Compaq and he remembers 1200 baud quite clearly.
Read more from Mike Melanson
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.