コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    製品デモを利用する
  • 料金
  • ヘルプ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

odoo FATAL: sorry, too many clients already

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
nginxworkerslongpollodoo9
7 返信
27848 ビュー
アバター
Baintex Technologies S.L.

I have Odoo 9 with postgreSQL 9.6, with nginx and the longpolling well configured.

Everything is working fine, and suddenly, the server crashes and this message appears in the log:

OperationalError: FATAL:  sorry, too many clients already
2018-05-16 13:00:02,496 141 INFO ? openerp.sql_db: Connection to the database failed
2018-05-16 13:00:02,496 141 ERROR ? openerp.service.server: Worker (141) Exception occured, exiting...
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 721, in run
    self.process_work()
  File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 790, in process_work
    db_names = self._db_list()
  File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 783, in _db_list
    db_names = openerp.service.db.list_dbs(True)
  File "/usr/lib/python2.7/dist-packages/openerp/service/db.py", line 323, in list_dbs
    with closing(db.cursor()) as cr:
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 643, in cursor
    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 177, in __init__
    self._cnx = pool.borrow(dsn)
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 526, in _locked
    return fun(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 594, in borrow
    **connection_info)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)


I have to restart the server to temporal fix, but I don't know what is the cause.

I have a 4 cores CPU with 8 GB RAM.

I set these parameters in Odoo.conf file:

...
workers = 7
max_cron_threads = 2
db_maxconn = 64

What is the reason of the crash? Is it an odoo config error or a postgreSQL config error?


2
アバター
破棄
Ludo - 21South

We're suffering from a similair problem, only when running the scheduler. It seems like Odoo is keeping the connections "alive" (even though they might be idle) for well over 2 days. This might be the cause.

Nacho

21south, Ludo - 21South

Do you have a better solution than set workers to 0?

OdooBot
Qué me envías?







   



2018-05-17 9:18 GMT+02:00 Nacho <nacho@baintex.com>:

21south, Ludo - 21South

Do you have a better solution than set workers to 0?

--
Nacho

Sent by Odoo S.A. using Odoo.


Fatih Piristine

check postgres and system logs. you will surely find something. monitor how many idle users you have hanging in postgres so on. can't say much by looking at that log

アバター
Rafael Portilla
最善の回答

Try to check your postgres config

(ex:/etc/postgresql/9.5/main/postgresql.conf in ubuntu) in max_connections 

maybe you have some other connections to your database, not just from odoo, and you need to increase it. 



2
アバター
破棄
Nacho

There is 100 max_connections in postgresql.conf file.

There are 8 instances of odoo connecting to the database.

I have set db_maxconn = 10 instead of 64 and now it works fine and it does not crash.

アバター
Hilar Andikkadavath
最善の回答

Here is the link which helps for worker calculations. so you can deploy odoo correctly. Have a look here maybe helps

https://www.odoo.com/documentation/10.0/setup/deploy.html#worker-number-calculation

0
アバター
破棄
Baintex Technologies S.L.
著作者

I know this page but I don't know what is the problem with my configuration.

I put 7 workers and 2 max_cron_threads.

Why is the server crashing after a period of short time (less than a day)?

OdooBot
Can you please ask the same question here <technical@mail.odoo.com>

On Wed, May 16, 2018 at 7:57 PM, Baintex Technologies S.L. <mariajose@baintex.com> wrote:

I know this page but I don't know what is the problem with my configuration.

I put 7 workers and 2 max_cron_threads.

Why is the server crashing after a period of short time (less than a day)?

--
Baintex Technologies S.L.

Sent by Odoo S.A. using Odoo.




--
Hilar AK  Python / Odoo Developer

m: +917736617619
e: hilarak@gmail.com
Follow me:
twitteryoutubegithubstack-overflow


Nacho

I have tried to send an email at that address and I only receive this automatic mail:

Invalid response code from remote server: 5

Final-Recipient: rfc822; technical@mail.odoo.com

Action: failed

Status: 4.5.0

Remote-MTA: dns; ob3.odoo.com. (137.74.205.210, the server for the domain mail.odoo.com.)

Diagnostic-Code: smtp; Invalid response code from remote server: 5 5 0 5 . 7 . 1 M a i l b o x u n a v a i l a b l e - M a i l b o x u n a v a i l a b l e - a l i a s t e c h n i c a l : r e s t r i c t e d t o c h a n n e l m e m b e r s

Last-Attempt-Date: Sat, 19 May 2018 10:18:43 -0700 (PDT)

ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
Odoo12: Help on tunning up odoo config file 解決済
nginx workers
アバター
アバター
1
5月 25
24222
Why am I getting 502 error with longpolling?
nginx port longpoll
アバター
アバター
アバター
3
12月 19
22686
adding workers to my config gives me errors that dependencies are not met and fields do not exist 解決済
workers longpoll odoo10
アバター
アバター
4
11月 19
5381
Odoo 11 Longpolling 502 (Bad Gateway) Error 解決済
nginx reverse_proxy longpoll odoov11
アバター
アバター
アバター
アバター
3
1月 22
45221
CSRF validation failed on path '/web/login'
web nginx odoo9 CSRF
アバター
アバター
1
2月 21
12798
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now