gitlab管理請益 - Linux

By Agatha
at 2020-02-12T14:59
at 2020-02-12T14:59
Table of Contents
各路大神好
是這樣的
公司有一台只做版控的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本身就有常常重開的需要嗎?
--
是這樣的
公司有一台只做版控的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本身就有常常重開的需要嗎?
--
Tags:
Linux
All Comments

By Ingrid
at 2020-02-14T01:39
at 2020-02-14T01:39

By Kelly
at 2020-02-14T07:39
at 2020-02-14T07:39

By John
at 2020-02-14T22:43
at 2020-02-14T22:43

By Liam
at 2020-02-17T03:22
at 2020-02-17T03:22

By Rae
at 2020-02-17T11:23
at 2020-02-17T11:23

By Hardy
at 2020-02-18T05:30
at 2020-02-18T05:30

By Quintina
at 2020-02-19T23:24
at 2020-02-19T23:24

By Vanessa
at 2020-02-24T02:16
at 2020-02-24T02:16

By Callum
at 2020-02-28T15:28
at 2020-02-28T15:28
Related Posts
請問/home 掛載

By Hedda
at 2020-02-10T21:28
at 2020-02-10T21:28
查詢 Linux (Fedora) 版本的不同結果

By Oscar
at 2020-02-07T21:38
at 2020-02-07T21:38
fcitx輸入法 enter 輸入問題

By Emily
at 2020-02-07T10:44
at 2020-02-07T10:44
如何在連線建立時才啟動scripts

By Agnes
at 2020-02-06T17:16
at 2020-02-06T17:16
備份硬碟上的Onedrive資料夾

By Aaliyah
at 2020-02-05T00:26
at 2020-02-05T00:26