as in the object of the discussion thread I have the following situation: all time I start my linux OS, I check processes running with the top command in bash and I always find 7-8 postgres processes running. Why so? Are they daemon that start at the OS start? Should I deactivate them for better resource usage? And in which way can I stop definitevely them? And how can I reactivate them in future ? Thanks

top command

  • It's probably starting on boot. What distro and version of linux are you using? – Philip Kirkbride Dec 1 '17 at 20:32
  • If it's Ubuntu 16.04 try sudo systemctl disable postgres then restart and try top again. – Philip Kirkbride Dec 1 '17 at 20:33
  • @PhilipKirkbride I'm using Ubuntu 14.04. In a future postgres applicatio should I restart the service? – Albus Dec 1 '17 at 20:42

Try disabling postgres via upstart:

echo manual | sudo tee /etc/init/postgres.override

Based on this Q/A (shows methods for both systemD and upstart, if you have Ubuntu 14.04 you should have upstart).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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