# Nginx worker processes crashes after Oneagent injection

**URL:** <https://community.dynatrace.com/t/nginx-worker-processes-crashes-after-oneagent-injection/52467>\
**Category:** Dynatrace Managed\
**Created:** [July 14, 2025, 10:50am UTC](https://community.dynatrace.com/t/nginx-worker-processes-crashes-after-oneagent-injection/52467 "2025-07-14T10:50:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nites](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nites](https://community.dynatrace.com/u/nites)\
**Post date:** [July 14, 2025, 10:50am UTC](https://community.dynatrace.com/t/nginx-worker-processes-crashes-after-oneagent-injection/52467/1 "2025-07-14T10:50:11Z")

</div>

**The NGINX worker process crashes when we perform OneAgent runtime injection.**

We are using versions&nbsp; **1.27.3** &nbsp;and&nbsp; **1.25.4** , which, according to the documentation [link](https://docs.dynatrace.com/docs/ingest-from/technology-support/application-software/nginx#expand--where-i-can-find-the-oneagent-build-date--2), are compatible with OneAgent.

However, it works correctly with&nbsp; **NGINX versions 1.27.5** &nbsp;and&nbsp; **1.25.0**.

Could someone please review the GDB backtrace output and help identify the root cause of the issue?

**Dmesg Output**

[5539.113763] nginx[342788]: segfault at 133 ip 00007ffafac015c3 sp 00007ffe95fd7490 error 4 in liboneagentnginx.so[7ffafab36000+f07000] likely on CPU 1 (core 1, socket  
0)

**(gdb) backtrace**

#0 0x00007ff9de4015c3 in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#1 0x00007ff9de530939 in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#2 0x00007ff9de530dd8 in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#3 0x00007ff9de53283f in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#4 0x00007ff9de532cf2 in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#5 0x00007ff9de4afb7a in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#6 0x00007ff9de4ae4de in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#7 0x00007ff9de3ff045 in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#8 0x00007ff9de3ecb5a in ?? () from /opt/dynatrace/oneagent/agent/bin/1.313.45.20250521-164818/linux-x86-64/liboneagentnginx.so  
#9 0x00005609f7fdcc80 in ngx\_http\_log\_request (r=r@entry=0x5609f91b7e20) at src/http/ngx\_http\_request.c:3806  
#10 0x00005609f7fde5c3 in ngx\_http\_free\_request (r=r@entry=0x5609f91b7e20, rc=rc@entry=0) at src/http/ngx\_http\_request.c:3747  
#11 0x00005609f7fdf14f in ngx\_http\_set\_keepalive (r=0x5609f91b7e20) at src/http/ngx\_http\_request.c:3169  
#12 ngx\_http\_finalize\_connection (r=0x5609f91b7e20) at src/http/ngx\_http\_request.c:2806  
#13 0x00005609f7ff02d2 in ngx\_http\_upstream\_handler (ev=\<optimized out\>) at src/http/ngx\_http\_upstream.c:1306  
#14 0x00005609f7fc5893 in ngx\_epoll\_process\_events (cycle=\<optimized out\>, timer=\<optimized out\>, flags=1) at src/event/modules/ngx\_epoll\_module.c:901  
#15 0x00005609f7fbb0aa in ngx\_process\_events\_and\_timers (cycle=cycle@entry=0x5609f8c56430) at src/event/ngx\_event.c:258  
#16 0x00005609f7fc317b in ngx\_worker\_process\_cycle (cycle=cycle@entry=0x5609f8c56430, data=data@entry=0x1) at src/os/unix/ngx\_process\_cycle.c:793  
#17 0x00005609f7fc169f in ngx\_spawn\_process (cycle=cycle@entry=0x5609f8c56430, proc=0x5609f7fc30e0 \<ngx\_worker\_process\_cycle\>, data=0x1,  
name=0x5609f8170b6b “worker process”, respawn=respawn@entry=1) at src/os/unix/ngx\_process.c:199  
#18 0x00005609f7fc4077 in ngx\_reap\_children (cycle=0x5609f8c56430) at src/os/unix/ngx\_process\_cycle.c:665  
#19 ngx\_master\_process\_cycle (cycle=0x5609f8c56430) at src/os/unix/ngx\_process\_cycle.c:180  
#20 0x00005609f7f9925e in main (argc=\<optimized out\>, argv=\<optimized out\>) at src/core/nginx.c:387

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [July 15, 2025, 7:17am UTC](https://community.dynatrace.com/t/nginx-worker-processes-crashes-after-oneagent-injection/52467/2 "2025-07-15T07:17:19Z")

</div>

Hi,

The nginx worker process crashes (segfault) in the liboneagentnginx.so library during request finalization when the OneAgent integration is enabled. Support for these versions is declared, but it is possible that your installation is somehow specific, so it is worth opening a support ticket.

Radek
