AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-115079

Kashif's questions

Martin Hope
Kashif
Asked: 2012-05-12 09:34:38 +0800 CST

许多Postgresql进程。如何处理它们?

  • -2

我正在尝试修复已在 ubuntu 上安装的 openNMS 系统。目前我正面临 postgresql 的问题。我使用这个命令停止服务器:

service postgresql -$PGVERSION stop

之后当我运行命令时:

ps ax | grep postgres

我得到以下输出:

8198 pts/1    S+     0:00 grep --color=auto postgres
29104 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55176) idle                                                                             
29193 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55220) idle                                                                             
29195 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55221) idle                                                                             
29196 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55222) idle                                                                             
29198 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55223) idle                                                                             
30367 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55345) idle                                                                             
30373 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55350) idle                                                                             
30381 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55358) idle                                                                             
30396 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55370) idle                                                                             
30406 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55380) idle                                                                             
30415 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55387) idle                                                                             
30423 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55395) idle                                                                             
30430 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55401) idle                                                                             
30441 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55410) idle                                                                             
30445 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55414) idle                                                                             
30447 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55415) idle                                                                             
30449 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55416) idle                                                                             
30451 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55417) idle                                                                             
30453 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55418) idle                                                                             
30455 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55419) idle                                                                             
30457 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55420) idle                                                                             
30460 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55421) idle                                                                             
30463 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55422) idle                                                                             
30466 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55423) idle                                                                             
30468 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55424) idle                                                                             
30471 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55425) idle                                                                             
30474 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55426) idle                                                                             
30480 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55427) idle                                                                             
30485 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55428) idle                                                                             
30490 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55429) idle                                                                             
30492 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55430) idle                                                                             
30501 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55446) idle                                                                             
30504 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55453) idle                                                                             
30507 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55459) idle                                                                             
30509 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55461) idle                                                                             
30512 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55464) idle                                                                             
30514 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55466) idle                                                                             
30516 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55470) idle                                                                             
30518 ?        Ss     0:00 postgres: opennms opennms 127.0.0.1(55472) idle 

现在我不知道如何结束所有这些过程。同样,当我运行 top 命令时...我可以看到一长串 postgresql 进程。这是生产服务器,所以我无法重新启动它。请让我知道我怎样才能摆脱它。

ubuntu postgresql opennms
  • 1 个回答
  • 2159 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve