Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

"PoolError: The Connection Pool Is Full" with 100 users

Odebírat

Get notified when there's activity on this post

This question has been flagged
userslogin
4 Odpovědi
40677 Zobrazení
Avatar
Landy

I run 100 user on OpenERP, I have some error message.....

would you please kindly help me, Thank you....

1、
2014-01-05 15:49:14,305 7295 ERROR ? openerp.netsvc: FATAL:  sorry, too many clients already
Traceback (most recent call last):
  File "/home/landy/openerp-7.0-20131121-002445/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/service/web_services.py", line 122, in dispatch
    return fn(*params)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/service/web_services.py", line 359, in exp_list
    cr = db.cursor()

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 484, in cursor
    return Cursor(self._pool, self.dbname, serialized=serialized)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 182, in __init__
    self._cnx = pool.borrow(dsn(dbname))

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 377, in _locked
    return fun(self, *args, **kwargs)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 440, in borrow
    result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)

  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)

OperationalError: FATAL:  sorry, too many clients already



2、
2013-12-23 08:43:51,600 2347 ERROR ? openerp.netsvc: The Connection Pool Is Full
Traceback (most recent call last):

  File "/home/landy/openerp-7.0-20131121-002445/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/service/web_services.py", line 122, in dispatch
    return fn(*params)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/service/web_services.py", line 359, in exp_list
    cr = db.cursor()

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 484, in cursor
    return Cursor(self._pool, self.dbname, serialized=serialized)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 182, in __init__
    self._cnx = pool.borrow(dsn(dbname))

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 377, in _locked
    return fun(self, *args, **kwargs)

  File "/home/landy/openerp-7.0-20131121-002445/openerp/sql_db.py", line 437, in borrow
    raise PoolError('The Connection Pool Is Full')

PoolError: The Connection Pool Is Full
3
Avatar
Zrušit
Avatar
Gustavo
Nejlepší odpověď

Try increasing the db_maxconn parameter in the openerp-server.conf file, that parameter allows you to increase the number con connections in your database

2
Avatar
Zrušit
Landy
Autor

I set db_maxconn=1000 in file of openerp-server.conf and set max_connections = 1000 in file of Postgresql.conf, but there exists the same error in both files. What can I do?

This is my openerp-server.conf file as follow?

[options]

; This is the password that allows database operations:

; admin_passwd = admin

db_host = False

db_port = False

db_user = landy

db_password = xxxxxxxx

db_maxconn=1000

logfile = /var/log/openerp/openerp-server.log

logrotate = True

syslog = False

log_handler = [':INFO']

log_level = debug

Avatar
howaryoo
Nejlepší odpověď

Hi,

I also has this error, and noticed that starting openerp with (the new built-in multiprocess mode in v7):

⟫./openerp-server --workers=4

(or higher number of workers) solved this problem.

@Landy would you please share the tool you used to make your 100 concurrent user test ?

2
Avatar
Zrušit
Avatar
Nimesh
Nejlepší odpověď

I have resolved the same error by following :

 

--max-cron-threads <count>

 

number of workers dedicated to cron jobs. Defaults to 2. The workers are threads in multithreading mode and processes in multiprocessing mode.

1
Avatar
Zrušit
Avatar
Landy
Autor Nejlepší odpověď

I set db_maxconn=1000 in file of openerp-server.conf and set max_connections = 1000 in file of Postgresql.conf, but there exists the same error in both files. What can I do?

This is my openerp-server.conf file as follow?

[options]

; This is the password that allows database operations:

; admin_passwd = admin

db_host = False

db_port = False

db_user = landy

db_password = xxxxxxxx

db_maxconn=1000

logfile = /var/log/openerp/openerp-server.log

logrotate = True

syslog = False

log_handler = [':INFO']

log_level = debug

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
How to link user to custom model in Odoo to sing up and log in?
users login
Avatar
Avatar
1
lis 20
5363
Limited User can access Openerp 7
users login
Avatar
0
bře 15
3531
Odoo Community Edition 18 Adding Users Without Email Vyřešeno
users user login
Avatar
Avatar
1
lis 24
3757
Getting internal server error in database. Vyřešeno
web users login
Avatar
Avatar
Avatar
2
čvc 19
5276
Someone Deleted Default and Public users Vyřešeno
users login user_management
Avatar
Avatar
2
bře 24
6489
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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