各路大神好
是這樣的
公司有一台只做版控的server
因zabbix偵測該server process太多
一天到晚告警讓主管覺得很煩
進來看了之後發現有這個東西
而且他的進程有慢慢變多的跡象
ps axjf看起來可疑的部分如下
\_ runsv postgresql
| \_ svlogd -tt /var/log/gitlab/postgresql
| \_ /opt/gitlab/embedded/bin/postgres -D /var/opt/gitlab/postgresql/data
| \_ postgres: checkpointer process
| \_ postgres: writer process
| \_ postgres: wal writer process
| \_ postgres: autovacuum launcher process
| \_ postgres: stats collector process
| \_ postgres: gitlab-psql postgres [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
| \_ postgres: gitlab gitlabhq_production [local] idle
查了官方手冊只提到
postgres
-D datadir
Specifies the file system location of the database configuration files. See Se
ction 19.2 for details.
請問這些閒置進程可以直接kill掉嗎
或是gitlab server本身就有常常重開的需要嗎?