{"id":2017,"date":"2025-05-01T13:07:07","date_gmt":"2025-05-01T13:07:07","guid":{"rendered":"https:\/\/havari.me\/?p=2017"},"modified":"2025-05-02T07:32:53","modified_gmt":"2025-05-02T07:32:53","slug":"worker-analyzer-1","status":"publish","type":"post","link":"https:\/\/havari.me\/en\/odoo\/worker-analyzer-1\/","title":{"rendered":"Worker Analyzer Story: \"An Immortal's Adventure in the World of Odo's Servant\""},"content":{"rendered":"<div dir=\"rtl\">\n<style>\n\/* WordPress-style general styling *\/\nbody {\n    font-family: 'Noto Sans Arabic', sans-serif;\n    color: #333;\n    line-height: 1.8;\n    direction: rtl;\n}\n.wp-block-group {\n    margin-bottom: 2em;\n    padding: 0 1em;\n}\n.wp-block-group h3 {\n    color: #2c3e50;\n    font-size: 1.8em;\n    margin-bottom: 0.5em;\n    border-bottom: 2px solid #3498db;\n    padding-bottom: 0.2em;\n}\n.wp-block-group h4 {\n    color: #34495e;\n    font-size: 1.4em;\n    margin-bottom: 0.5em;\n}\n.wp-block-group p {\n    color: #555;\n    font-size: 1.1em;\n    margin-bottom: 1em;\n}\n.wp-block-group ul {\n    list-style-type: disc;\n    margin-right: 2em;\n    margin-bottom: 1em;\n}\n.wp-block-group ul li {\n    margin-bottom: 0.5em;\n    color: #555;\n}\n.wp-block-group strong {\n    color: #2c3e50;\n}<\/p>\n<p>\/* Code block styling with syntax highlighting *\/\n.wp-block-code {\n    background: #1e1e1e;\n    color: #d4d4d4;\n    padding: 16px;\n    border-radius: 8px;\n    font-family: 'Consolas', 'Monaco', monospace;\n    font-size: 14px;\n    overflow-x: auto;\n    margin: 1em 0;\n    border: 1px solid #3c3c3c;\n}\n.wp-block-code code {\n    display: block;\n}\n.wp-block-code.ini .key { color: #9cdcfe; } \/* e.g., INI keys *\/\n.wp-block-code.ini .value { color: #b5cea8; } \/* e.g., INI values *\/\n.wp-block-code.ini .section { color: #ce9178; } \/* e.g., INI section headers *\/<\/p>\n<p>\/* Responsive design *\/\n@media (max-width: 768px) {\n    .wp-block-group h3 {\n        font-size: 1.5em;\n    }\n    .wp-block-group h4 {\n        font-size: 1.2em;\n    }\n    .wp-block-group p {\n        font-size: 1em;\n    }\n}\n<\/style>\n<div class=\"wp-block-group\">\n<h3>Story: \"An Immortal's Adventure in the World of Odo's Servant\"<\/h3>\n<p>In a crowded digital city, an ambitious young man named <strong>Khalid<\/strong>He owned a small furniture business. He had 20 hard-working employees, managing sales, inventory, and accounts. But Khaled decided to make his business more efficient by using a <strong>Odo<\/strong>a program that resembles a smart city that organizes everything in one place. Little did he know that running Odoo on his server would be like building a castle in a challenging forest!<\/p>\n<\/div>\n<div class=\"wp-block-group\">\n<h4>Chapter one: Digital Castle<\/h4>\n<p>Khalid bought a new servant, which looks like a magic box with <strong>4 processor cores<\/strong> and<strong>8GB of memory<\/strong>. He was excited, but soon discovered that the server needed digital \"workers\" to serve its employees. These workers are <strong>Workers<\/strong> At Odoo, each one of them is like a small robot that handles employee requests, such as registering a sale or creating a report.<\/p>\n<p>Khaled didn't know how many workers he needed, and how much memory to give to each one! If he put too many workers, the server would collapse like an overcrowded castle. If he put too few, the employees would complain that the system was slow. Khaled was at a loss!<\/p>\n<\/div>\n<div class=\"wp-block-group\">\n<h4>Chapter two: Smart Witch<\/h4>\n<p>On a sunny day, Khalid heard about <strong>Odoo Labor Analyzer<\/strong>a magical tool that resembles a wise witch who lives in the cloud (on a site like havari.me). He decided to consult her. The witch asked him to answer questions to understand his world:<\/p>\n<ul>\n<li><strong>How many processor cores does your server have?<\/strong> Khaled replied: \"4 nuclei, like 4 strong horses!\"<\/li>\n<li><strong>How many memories do you have?<\/strong> He said, \"8GB, my digital treasure!\"<\/li>\n<li><strong>How many employees use the system?<\/strong> \"20 employees, but not all of them work at the same time,\" he replied.<\/li>\n<li><strong>What percentage of employees are active?<\/strong> Khaled thought: \"About 25%, that's 5 employees using the system together.\"<\/li>\n<li><strong>Is your work light or heavy?<\/strong> \"Average, because we manage sales and simple reporting,\" he replied.<\/li>\n<\/ul>\n<\/div>\n<div class=\"wp-block-group\">\n<h4>Chapter three: Magic is completed<\/h4>\n<p>The witch nodded her head and started counting very quickly. I told him:<\/p>\n<ul>\n<li><strong>Number of workers<\/strong>: \"You have 4 cores, so you can run about 6 workers. This will keep your server robust and leave room for the database.\"<\/li>\n<li><strong>Memory per worker<\/strong>: \"Each worker will need about 2GB soft limit, and 2.5GB hard limit, to ensure the server doesn't crash.\"<\/li>\n<li><strong>Rear tasks<\/strong>: \"Use one thread for background tasks (max_cron_threads), because your server is relatively small.\"<\/li>\n<li><strong>Total memory<\/strong>: \"You'll need about 4.5GB of memory, leaving some space for the system and database.\"<\/li>\n<\/ul>\n<p>The witch then gave him a magical document (a configuration file) that he could place in his server:<\/p>\n<pre class=\"wp-block-code ini\"><code><span class=\"section\">[options]<\/span>\n<span class=\"key\">workers<\/span> = <span class=\"value\">6<\/span>\n<span class=\"key\">limit_memory_soft<\/span> = <span class=\"value\">2147483648<\/span>\n<span class=\"key\">limit_memory_hard<\/span> = <span class=\"value\">2684354560<\/span>\n<span class=\"key\">max_cron_threads<\/span> = <span class=\"value\">1<\/span><\/code><\/pre>\n<\/div>\n<div class=\"wp-block-group\">\n<h4>Chapter four: The prosperous castle<\/h4>\n<p>Khaled returned to his company and applied the settings to his server. Suddenly, the Odoo system was running smoothly! Employees were happy, because reports were generated quickly, and sales were recorded without delay. The server was like an organized castle, with each Worker working harmoniously, without being crowded or interrupted.<\/p>\n<p>But the witch warned him: \"Keep an eye on your server! If you add new employees or complex modules, you may need a bigger server or a recalculation.\" Khalid promised to stay vigilant, and consult the witch (or a tool like Odoo Worker Analyzer) whenever he needed to.<\/p>\n<\/div>\n<div class=\"wp-block-group\">\n<h4>Last chapter: Lesson<\/h4>\n<p>From Khalid's adventure, he learned that running an Odoo system isn't just installing a program, it's like building a digital city that needs a delicate balance of workers, memory, and resources. With the help of tools like <strong>Odoo Labor Analyzer<\/strong>Anyone, even if they're not technically savvy, can make their server work efficiently, just like Khaled's thriving castle.<\/p>\n<p><strong>The end.<\/strong><\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u0642\u0635\u0629: &#8220;\u0645\u063a\u0627\u0645\u0631\u0629 \u062e\u0627\u0644\u062f \u0641\u064a \u0639\u0627\u0644\u0645 \u062e\u0627\u062f\u0645 \u0623\u0648\u062f\u0648&#8221; \u0641\u064a \u0645\u062f\u064a\u0646\u0629 \u0631\u0642\u0645\u064a\u0629 \u0645\u0632\u062f\u062d\u0645\u0629\u060c \u0643\u0627\u0646 \u0647\u0646\u0627\u0643 \u0634\u0627\u0628 \u0637\u0645\u0648\u062d \u064a\u064f\u062f\u0639\u0649 \u062e\u0627\u0644\u062f\u060c \u064a\u0645\u0644\u0643 \u0634\u0631\u0643\u0629 \u0635\u063a\u064a\u0631\u0629 \u0644\u062a\u062c\u0627\u0631\u0629 \u0627\u0644\u0623\u062b\u0627\u062b. \u0643\u0627\u0646 \u0644\u062f\u064a\u0647 20 \u0645\u0648\u0638\u0641\u064b\u0627 \u064a\u0639\u0645\u0644\u0648\u0646 \u0628\u062c\u062f\u060c \u064a\u062f\u064a\u0631\u0648\u0646 \u0627\u0644\u0645\u0628\u064a\u0639\u0627\u062a\u060c \u0627\u0644\u0645\u062e\u0632\u0648\u0646\u060c \u0648\u0627\u0644\u062d\u0633\u0627\u0628\u0627\u062a. \u0644\u0643\u0646 \u062e\u0627\u0644\u062f \u0642\u0631\u0631 \u0623\u0646 \u064a\u062c\u0639\u0644 \u0639\u0645\u0644\u0647 \u0623\u0643\u062b\u0631 \u0643\u0641\u0627\u0621\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0646\u0638\u0627\u0645 \u0623\u0648\u062f\u0648\u060c \u0648\u0647\u0648 \u0628\u0631\u0646\u0627\u0645\u062c \u064a\u064f\u0634\u0628\u0647 \u0645\u062f\u064a\u0646\u0629 \u0630\u0643\u064a\u0629 \u062a\u0646\u0638\u0645 \u0643\u0644 \u0634\u064a\u0621 \u0641\u064a \u0645\u0643\u0627\u0646 \u0648\u0627\u062d\u062f. \u0644\u0643\u0646\u0647 [&hellip;]<\/p>","protected":false},"author":1,"featured_media":2203,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[16,48,11],"tags":[5,43,12],"class_list":["post-2017","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-how-to","category-odoo","tag-docker","tag-how-to","tag-odoo"],"acf":[],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/havari.me\/wp-content\/uploads\/2025\/05\/worker-analyzer-odoo.png?fit=2048%2C1024&ssl=1","_links":{"self":[{"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/posts\/2017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/comments?post=2017"}],"version-history":[{"count":5,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/posts\/2017\/revisions"}],"predecessor-version":[{"id":2204,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/posts\/2017\/revisions\/2204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/media\/2203"}],"wp:attachment":[{"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/media?parent=2017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/categories?post=2017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/havari.me\/en\/wp-json\/wp\/v2\/tags?post=2017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}