Postgresql many processes

Asked

Viewed 335 times

1

I have Postgresql installed in a machine where runs a system, and throughout the day there are several processes with postgres.exe and consumes machine resources. At times it has more than 100 instances of these processes.

Any suggestions?

Version: Postgres 9.2

1 answer

3


In 9.2 I do not know any way. In 9.4 onwards you can limit the maximum number of active processes with the configuration directive max_worker_processes (documentation). This can obviously limit the ability to respond to requests, if you are creating so many it is because you need it. But there are also cases that can improve the functioning. Only testing on real loads to see.

Complete documentation of possible settings.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.