Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My server is running Centos 5.8 64 bit and I installed New Relic a short while ago to try and solve a few performance issues - as the server is not especially high spec I found it used too much system resources so I removed it using the Purge method as recommended on their site. https://newrelic.com/docs/general/how-do-i-uninstall-the-new-relic-agent#php

Even after doing this I keep getting messages from lfd warning about excess resource usage for New Relic and I dont know how to completely remove it. The warning from lfd is:

Time:         Sat Jan 26 10:31:14 2013 +0000
Account:      XXXXX
Resource:     Process Time
Exceeded:     30712 > 1800 (seconds)
Executable:   /usr/bin/newrelic-daemon
Command Line: /usr/bin/newrelic-daemon -l /var/log/newrelic/newrelic-daemon.log
PID:          1794 (Parent PID:1793)
Killed:       No

How can I get totally rid of New Relic?

share|improve this question

3 Answers 3

Did you stop the daemon? Simply uninstalling it would still leave it running.

share|improve this answer
    
@Jason As the startup scripts have probably gone for good during the uninstall, you might either issue a killall newwelic-daemon or restart your system to get rid of it. –  the-wabbit Jan 26 '13 at 16:10
    
Yes I did stop it - I did a ps -e and found and then killed two processes called newrelic but it restarts itself –  bhttoan Jan 26 '13 at 20:44
    
Have just gone in and killed three running processes now and within a minute they have respawned. killall has made no difference, if I need to reboot then I will have to plan for it but I was hoping there would be a way of blocking the process from respawning –  bhttoan Jan 26 '13 at 21:17

Had the same problem.

newrelic-install uninstall 

did the trick for me

share|improve this answer
    
The instructions on their own site did not work for me, but this did the trick –  Laurence Cope Jul 14 at 12:06

If you are running newrelic in CentOS, try using yum or rpm commands to remove it, instead of the purge method described in their documentation.

  1. stop the service
  2. Uninstall it using either of the following commands -

yum remove newrelic-sysmond

rpm -ev newrelic-sysmond

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.