-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Spotted in the container logs for PHP:
configured lagoon-php.ini
2024-10-22 20:41:38.520 +0000 (41 41) warning: unable to find suitable pidfile location, using none
Waiting for NewRelic Agent to be responsive. (1)
Waiting for NewRelic Agent to be responsive. (2)
Tracing this back in the agent to https://github.com/newrelic/newrelic-php-agent/blob/f30642fd4f51514d4ba507ca643cb8767327b922/agent/php_minit.c#L572 - essentially New Relic cannot write a file to the 4 chosen locations.
Solution options
We could set the pidfile location to be in /tmp in the ini file for NewRelic, e.g.:
newrelic.daemon.pidfile=/tmp/newrelic-daemon.pid
The other option would be to allow write access to one of the folders
mkdir -p /var/log/newrelic/ && fix-permissions /var/log/newrelic/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working