Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
userslogin
4 Replies
40704 Zobrazenia
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šiť
Avatar
Gustavo
Best Answer

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šiť
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
Best Answer

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šiť
Avatar
Nimesh
Best Answer

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šiť
Avatar
Landy
Autor Best Answer

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šiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
How to link user to custom model in Odoo to sing up and log in?
users login
Avatar
Avatar
1
nov 20
5390
Limited User can access Openerp 7
users login
Avatar
0
mar 15
3551
Odoo Community Edition 18 Adding Users Without Email Solved
users user login
Avatar
Avatar
1
nov 24
3796
Getting internal server error in database. Solved
web users login
Avatar
Avatar
Avatar
2
júl 19
5296
Someone Deleted Default and Public users Solved
users login user_management
Avatar
Avatar
2
mar 24
6519
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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