Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

When Odoo 14 connects to PostgreSQL 15.7, the connection is idle but cannot be released

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
postgresql
2941 Weergaven
Avatar
Mantra

ENV: Ubuntu24 + docker-compose + odoo14

test14: 10 users

xmoo: 3 users


These two databases, every day access to the database connection close the browser, can not be released, every day the connection is increasing, this is not a good way.


Does manually setting a database timeout cause the odoo container to become inaccessible or the database to crash.

ALTER SYSTEM SET idle_session_timeout = '10min';

psql (15.7)

Type "help" for help.


postgres=# SELECT datname, usename, client_addr, state FROM pg_stat_activity ORDER BY datname, usename;

 datname  | usename  | client_addr | state  

----------+----------+-------------+--------

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 test14 | test14 | 172.18.0.11 | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoo      | xmoo14    | 172.18.0.8  | idle

 xmoowx    | xmoowx14  | 172.18.0.6  | idle

 xmoowx    | xmoowx14  | 172.18.0.6  | idle

 xmoowx    | xmoowx14  | 172.18.0.6  | idle

 postgres | test14 | 172.18.0.11 | idle

 postgres | xmoo14    | 172.18.0.8  | idle

 postgres | postgres |             | idle

 postgres | postgres |             | idle

 postgres | postgres |             | active

          | postgres |             |

          |          |             |

          |          |             |

          |          |             |

          |          |             |

(98 rows)

odoo.conf

[options]

addons_path = /mnt/extra-addons

csv_internal_sep = ,

data_dir = /var/lib/odoo

db_host = db

db_maxconn = 128

db_name = False

db_password = odoo

db_port = 5432

db_sslmode = prefer

db_template = template0

db_user = xmoo14

dbfilter = ^%d$

;dbfilter = %d_db

demo = {}

email_from = False

geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb

http_enable = True

http_interface =

http_port = 8069

import_partial =

limit_memory_hard = 2684354560

limit_memory_soft = 2147483648

limit_request = 8192

limit_time_cpu = 300

limit_time_real = 600

limit_time_real_cron = -1

list_db = True

log_db = False

log_db_level = warning

log_handler = :INFO

log_level = info

logfile =

longpolling_port = 8072

max_cron_threads = 1

osv_memory_age_limit = False

osv_memory_count_limit = False

pg_path = /usr/lib/postgresql/15/bin

pidfile =

proxy_mode = True

reportgz = False

screencasts =

screenshots = /tmp/odoo_tests

server_wide_modules = base,web

smtp_password = False

smtp_port = 25

smtp_server = localhost

smtp_ssl = False

smtp_user = False

syslog = False

test_enable = False

test_file =

test_tags = None

transient_age_limit = 1.0

translate_modules = ['all']

unaccent = False

upgrade_path =

without_demo = False

workers = 0




0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: fe_sendauth: no password supplied
postgresql
Avatar
Avatar
Avatar
2
jan. 25
10203
Odoo backend to Google Data Studio Opgelost
postgresql
Avatar
Avatar
2
jan. 24
10139
Reason why Odoo being slow when there is huge data inside the database
postgresql
Avatar
Avatar
Avatar
Avatar
7
jan. 24
51022
Postgresql db connection failing often and causing http 500 error Odoo v11
postgresql
Avatar
0
mrt. 23
2947
postgresql user and password
postgresql
Avatar
Avatar
5
apr. 24
55218
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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