Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

My Odoo 14 instance crashes randomly without any activity

Subscriure's

Get notified when there's activity on this post

This question has been flagged
crashv14
1 Respondre
4757 Vistes
Avatar
Minh

I have a strange issue with my self installed odoo 14 instance where it crashes randomly. Any insight or help on this issue would be appreciated.


2021-06-13 04:14:38,240 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Snailmail: process letters queue`.
2021-06-13 04:14:38,252 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Snailmail: process letters queue` done.
2021-06-13 04:17:00,979 26881 INFO odoo14 werkzeug: 108.193.2.35 - - [13/Jun/2021 04:17:00] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.006 50.016
2021-06-13 04:17:38,448 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Calendar: Event Reminder`.
2021-06-13 04:17:38,465 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Calendar: Event Reminder` done.
2021-06-13 04:19:38,597 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Invoice OCR: Update All Status`.
2021-06-13 04:19:38,613 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Invoice OCR: Update All Status` done.
2021-06-13 04:19:38,615 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`.
2021-06-13 04:19:38,629 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-13 04:29:39,218 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`.
2021-06-13 04:29:39,230 26881 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-13 04:37:03,861 26881 WARNING odoo14 odoo.service.server: Thread virtual real time limit (1252/1200s) reached.
2021-06-13 04:37:03,861 26881 INFO odoo14 odoo.service.server: Dumping stacktrace of limit exceeding threads before reloading
2021-06-13 04:37:03,878 26881 INFO odoo14 odoo.tools.misc:
# Thread: (db:n/a) (uid:n/a) (url:n/a)
File: "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
self._bootstrap_inner()
File: "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File: "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File: "/usr/lib/python3.7/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File: "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File: "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File: "/opt/venv-odoo14/lib/python3.7/site-packages/werkzeug/serving.py", line 329, in handle
rv = BaseHTTPRequestHandler.handle(self)
File: "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File: "/opt/venv-odoo14/lib/python3.7/site-packages/werkzeug/serving.py", line 360, in handle_one_request
self.raw_requestline = self.rfile.readline()
File: "/usr/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
2021-06-13 04:37:03,879 26881 INFO odoo14 odoo.service.server: Initiating server reload



0
Avatar
Descartar
Avatar
Gailius Kazlauskas, Jr.
Best Answer

From the log you provided (mainly the line with the big WARNING word) it seems that your server is reloading because it tries to run your Schedules Actions (or simply Cron Jobs) and they are taking more than 20 minutes to complete. 

The 20 minutes (1200s) is your current value for a parameter --limit-time-real you can set when launching Odoo or in the odoo.conf file. Looks like you have it set as in the linked sample from the documentation.

Now your options are to either increase this limit, which would temporarily solve the issue, but 20 minutes should be enough most of the time, so it is not sustainable to keep increasing the parameter.

Or, and I would recommend this, trying to find what is actually causing your Odoo cron jobs to run so long.
As a pointer, try looking at the "Post process payment transactions" cron job, as from the log it's the last one to run before the reload (the "crash") and it seems to have executed twice with ~10 minutes between the runs.

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
Server crashed, Access denied by ACLs
accessdenied crash v14
Avatar
Avatar
1
d’ag. 24
2659
Odoo14 alternative for Automated Translations through Gengo API module
v14
Avatar
Avatar
Avatar
Avatar
3
de set. 25
3609
Odoo Community v14 Slow on High-End Servers, Fast on i5/i7 PCs
v14
Avatar
0
d’ag. 25
1061
How to Managing Birthdate and Age in Odoo
v14
Avatar
Avatar
1
d’ag. 25
3405
Update Initial Stock of Product using XMLRPC API [Odoo14] Solved
v14
Avatar
Avatar
Avatar
2
de jul. 25
8974
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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