[問題] gitlab管理請益
各路大神好
是這樣的
公司有一台只做版控的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本身就有常常重開的需要嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 101.15.216.126 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1581490796.A.9EF.html
→
02/13 09:22,
5年前
, 1F
02/13 09:22, 1F
→
02/13 09:23,
5年前
, 2F
02/13 09:23, 2F
我後來也有發現這是DB,
但有大神知道為什麼會有這麼多閒置程序嗎
還有有辦法處理它嗎( ;∀;)
※ 編輯: ggreeaart (101.9.211.244 臺灣), 02/13/2020 12:36:15
推
02/13 13:04,
5年前
, 3F
02/13 13:04, 3F
推
02/13 13:51,
5年前
, 4F
02/13 13:51, 4F
→
02/13 13:51,
5年前
, 5F
02/13 13:51, 5F
→
02/13 21:51,
5年前
, 6F
02/13 21:51, 6F
推
02/14 16:21,
5年前
, 7F
02/14 16:21, 7F
→
02/14 16:21,
5年前
, 8F
02/14 16:21, 8F
很遺憾的是全部都在同一台server,另外有找到一個關於DB連線數限制的設定不知道有沒
有用
https://gitlab.com/gitlab-org/gitlab-foss/issues/26671
推
02/15 15:24,
5年前
, 9F
02/15 15:24, 9F
推
02/23 19:20,
5年前
, 10F
02/23 19:20, 10F
重開機之後230上下,觀察到第18天大概變成260上下
目前zabbix設定350會叫(原本是用預設值300)
※ 編輯: ggreeaart (101.13.226.187 臺灣), 02/24/2020 09:26:36
※ 編輯: ggreeaart (101.13.226.187 臺灣), 02/24/2020 09:42:57
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章