elastic / elastic/apm-agent-php

High CPU usage

Open
#1,006 11 comments 0 reactions 0 assignees View on GitHub
agent-php bug
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

I installed version 1.9.0 of the elastic APM agent into production server which runs php-7.4 on ubuntu 20.04 .
The application itself is a large mysql backed Zend(1.1) application.

After installing APM withing few hours CPU is usage over 95% and application got crashed

After disabling the APM it returned to very low CPU usage and everything works fine

Congifuration:-

elastic_apm.enabled = true
elastic_apm.environment = "production"
elastic_apm.server_timeout = "30s"
elastic_apm.async_backend_command = true
elastic_apm.transaction_max_spans = 500
elastic_apm.transaction_sample_rate = 1.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.