Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 开发与实施交流
  4. 启动Odoo8.0多线程后,系统常常挂掉

启动Odoo8.0多线程后,系统常常挂掉

Scheduled Pinned Locked Moved Odoo 开发与实施交流
7 Posts 4 Posters 7.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eric2013
    wrote on last edited by
    #1

    在这里请教一个最近困扰我很久的问题。 我们的Odoo8.0启动了多线程之后,读写速度快了很多,公司的同事都欢心鼓舞,但是最近新的问题出现了(其实很久的事了):  odoo跑一段时间,web就访问不了了,打开后台看了看,odoo的设置好的8个线程还在,但是公司的同事们就是打不开odoo的页面。我们的odoo还要定时从我们的官网同步数据,这个同步的操作也是OK的。跟踪了很多天也是没有任何线索,请问大家有遇到过这样的问题么?

    谢谢!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lown
      wrote on last edited by
      #2

      看看服务器内存使用状况

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mencaca
        wrote on last edited by
        #3

        请问哪里开启多线程

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Eric2013
          wrote on last edited by
          #4

          用Top命令来看,情况也没有什么不正常的

          [quote author=emc link=topic=17098.msg30311#msg30311 date=1431064925]
          看看服务器内存使用状况
          [/quote]

          1 Reply Last reply
          0
          • E Offline
            E Offline
            Eric2013
            wrote on last edited by
            #5

            在那个openerp-server.conf里设置  workers  =  X ,  X的值要看CPU的个数啦

            [quote author=mencaca link=topic=17098.msg30312#msg30312 date=1431066816]
            请问哪里开启多线程
            [/quote]

            1 Reply Last reply
            0
            • D Offline
              D Offline
              digitalsatori
              管理员
              wrote on last edited by
              #6

              应该对系统有一个全面的监控,通过监控数据来分析原因。你可以安装Munin这个软件试试。
              这是我们给客户的服务器的监控分析的例子: [检测到链接无效,已移除]

              【上海先安科技】(tony AT openerp.cn)

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Tags
              • Popular
              • Users
              • Groups