Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

My Odoo 14 instance crashes randomly without any activity

Subscribe

Get notified when there's activity on this post

This question has been flagged
crashv14
1 Reply
4725 Views
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
Discard
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
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Server crashed, Access denied by ACLs
accessdenied crash v14
Avatar
Avatar
1
Aug 24
2638
Odoo14 alternative for Automated Translations through Gengo API module
v14
Avatar
Avatar
Avatar
Avatar
3
Sep 25
3593
Odoo Community v14 Slow on High-End Servers, Fast on i5/i7 PCs
v14
Avatar
0
Aug 25
1052
How to Managing Birthdate and Age in Odoo
v14
Avatar
Avatar
1
Aug 25
3397
Update Initial Stock of Product using XMLRPC API [Odoo14] Solved
v14
Avatar
Avatar
Avatar
2
Jul 25
8957
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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