# Netdata v2.2.0 broke php-fpm graphs

**URL:** <https://community.netdata.cloud/t/netdata-v2-2-0-broke-php-fpm-graphs/7181>\
**Category:** Help\
**Tags:** cloud, agent, collectors, update\
**Created:** [January 24, 2025, 10:37pm UTC](https://community.netdata.cloud/t/netdata-v2-2-0-broke-php-fpm-graphs/7181 "2025-01-24T22:37:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![route-dist](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@route-dist](https://community.netdata.cloud/u/route-dist)\
**Post date:** [January 24, 2025, 10:37pm UTC](https://community.netdata.cloud/t/netdata-v2-2-0-broke-php-fpm-graphs/7181/1 "2025-01-24T22:37:37Z")

</div>

## Problem/Question

We’ve been doing sone php-fpm tuning lately. In the last day or so we noticed short, semi-sporadic patches of data not coming through to the php-fpm graphs. The periods of “empty data” lasts between 15s to 60s and the intervals range from 60s to 300s.

 ![Screenshot 2025-01-24 at 23.30.39-crop](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/d/d347e93a13de87292c7853393887d0a38070cfe2.png)

To try resolve this issue, first we restarted php-fpm. This did not resolve the issue. Secondly, we restarted netdata. When we restarted netdata, all php-fpm graphs have “empty data”.

 ![Screenshot 2025-01-25 at 09.33.52-crop](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/f/fadb8e8cf7fceb713db12dabd97e567b46ac8476.png)

I have ran some debugging and I can see data coming through:

```auto
BEGIN 'phpfpm_php-fpm.connections' 999465
SET 'active' = 15
SET 'max active' = 60
SET 'idle' = 48
END

```

There is also no errors in the php-fpm log.

I believe that restarting netdata updated netdata agent to v2.2.0 and there’s some incompatibility which is causing this issue.

**EDIT 1:**

While doing more debugging I’m seeing some errors now.

DEBUG ERROR 01

```auto
DBG phpfpm/client.go:146 failed to JSON decode data: {...}
...
ERR phpfpm/collector.go:92 error on decoding response from socket '/var/run/php/php7.4-fpm.sock': invalid character '&' after object key:value pair collector=phpfpm job=php-fpm

```

DEBUG ERROR 02

```auto
DBG jobmgr/manager.go:303 creating phpfpm[php-fpm] job, config: map[__provider__ :file reader __source__ :discoverer=file_reader,file=/etc/netdata/go.d/phpfpm.conf __source_type__ :user autodetection_retry:0 module:phpfpm name:php-fpm priority:70000 socket:/var/run/php/php7.4-fpm.sock status_path:/status?full&json update_every:1 user:www-data] component="job manager"
...
ERR module/job.go:243 check failed: error on decoding response from socket '/var/run/php/php7.4-fpm.sock': invalid character '"' after object key:value pair collector=phpfpm job=php-fpm

```

I don’t know if directly related or another issue altogether.

## Relevant docs you followed/actions you took to solve the issue

> **[PHP-FPM | Learn Netdata](https://learn.netdata.cloud/docs/collecting-metrics/web-servers-and-web-proxies/php-fpm)**
>
> Plugin: go.d.plugin

## Environment/Browser/Agent’s version etc

Netdata agent: v2.2.0 (stable)  
OS: Debian 11 (bullseye)  
PHP: 7.4

Can provide more info if required.

## What I expected to happen

Having php-fpm data coming through to the cloud graphs

---

_[View the full topic](https://community.netdata.cloud/t/netdata-v2-2-0-broke-php-fpm-graphs/7181)._
