Mostafa Elhavary

Worker Analyzer Story: "Khaled's Adventure in the World of the Odoo Server"

Story: “Khaled’s Adventure in the World of the Odoo Server”

In a busy digital city, there lived an ambitious young man named Khaled, who owned a small furniture trading company. He had 20 hard-working employees who handled sales, inventory and accounting. Khaled decided to make his business more efficient with Odoo, a system that is like a smart city organising everything in one place. What he did not know was that running Odoo on his server would be like building a castle in a forest full of challenges!

Chapter One: The Digital Castle

Khaled bought a new server, a kind of magic box with 4 CPU cores and 8 GB of memory. He was excited, but he soon discovered that the server needed digital “workers” to serve his employees. These workers are the Workers in Odoo, and each one is like a small robot that handles employee requests, such as recording a sale or generating a report.

The problem? Khaled did not know how many workers he needed, or how much memory to give each one! If he added too many workers, the server would collapse like a castle crammed with soldiers. If he added too few, the employees would complain that the system was slow. Khaled was stuck!

Chapter Two: The Wise Sorceress

One sunny day, Khaled heard about the Odoo Worker Analyzer, a magic tool that is like a wise sorceress living in the digital cloud (on a site such as havari.me). He decided to consult her. The sorceress asked him to answer a few questions so she could understand his world:

  • How many CPU cores does your server have? Khaled answered: “4 cores, like 4 strong horses!”
  • How much memory do you have? He said: “8 GB, my digital treasure!”
  • How many employees use the system? He answered: “20 employees, but not all of them work at the same time.”
  • What percentage of employees are active? Khaled thought and said: “About 25%, so 5 employees use the system at once.”
  • Is your workload light or heavy? He answered: “Medium, because we manage sales and simple reports.”

Chapter Three: The Magic Is Complete

The sorceress nodded and began calculating at incredible speed. She told him:

  • Number of workers: “You have 4 cores, so you can run about 6 workers. That will keep your server strong and leave room for the database.”
  • Memory per worker: “Each worker will need about 2 GB as a soft limit and 2.5 GB as a hard limit, so the server does not crash.”
  • Background jobs: “Use a single thread for background jobs (max_cron_threads), because your server is relatively small.”
  • Total memory: “You will need about 4.5 GB of memory, leaving some room for the system and the database.”

Then the sorceress gave him a magic document (a configuration file) to put on his server:

[options]
workers = 6
limit_memory_soft = 2147483648
limit_memory_hard = 2684354560
max_cron_threads = 1

Chapter Four: The Thriving Castle

Khaled went back to his company and applied the settings to his server. Suddenly, Odoo ran smoothly! The employees were happy, because reports were generated quickly and sales were recorded without delay. The server was like a well-organised castle, where every Worker did its job in harmony, without crowding or stalling.

But the sorceress warned him: “Keep an eye on your server! If you add new employees or complex modules, you may need a bigger server or a new calculation.” Khaled promised to stay alert and to consult the sorceress (or a tool like the Odoo Worker Analyzer) whenever he needed to.

Final Chapter: The Lesson

Khaled’s adventure taught him that running Odoo is not just installing software. It is like building a digital city that needs a careful balance between Workers, memory and resources. With the help of tools like the Odoo Worker Analyzer, anyone, even someone who is not a technical expert, can make their server run efficiently, just like Khaled’s thriving castle.

The End.

All posts

Sign in to save your progress

Sign in with your Google account. Your course progress is saved to your account and follows you to any device.