<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[תמונת דוקר mysql:8.0 זוללת זיכרון]]></title><description><![CDATA[<p dir="rtl">התמונה הזו<br />
<a href="https://hub.docker.com/_/mysql" target="_blank" rel="noopener noreferrer nofollow ugc">https://hub.docker.com/_/mysql</a><br />
כשהיא עולה לראשונה, או כשאני עושה לה ריסטרט, היא לוקחת בערך 400 מגה, אבל תוך כמה שעות של עבודה מול המסד היא מתנפחת ומגיעה לגי'גה ואולי יותר.<br />
בדקתי אם זו בעיה של קוננקשנים פתוחים, נראה שלא זו הבעיה, גם כשהיא בשיא צריכת הזיכרון אין יותר מחמש או שש חיבורים פתוחים מולה.<br />
מה אפשר לעשות?</p>
]]></description><link>https://tchumim.com/topic/13146/תמונת-דוקר-mysql-8-0-זוללת-זיכרון</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 08:01:56 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/13146.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Apr 2022 09:06:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to תמונת דוקר mysql:8.0 זוללת זיכרון on Tue, 19 Apr 2022 14:35:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yossiz" aria-label="Profile: yossiz">@<bdi>yossiz</bdi></a> אמר ב<a href="/post/138848">תמונת דוקר mysql:8.0 זוללת זיכרון</a>:</p>
<blockquote>
<p dir="rtl">(יש בעיה ישנה ב-WSL של אי שחרור זכרון מטמון, יכול להיות שמדובר בבעיה זו?)</p>
</blockquote>
<p dir="auto">WSL זה של וינודוס? כי זה שרת של לינוקס</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yossiz" aria-label="Profile: yossiz">@<bdi>yossiz</bdi></a> אמר ב<a href="/post/138848">תמונת דוקר mysql:8.0 זוללת זיכרון</a>:</p>
<blockquote>
<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%99%D7%95%D7%A1%D7%A3-%D7%91%D7%9F-%D7%A9%D7%9E%D7%A2%D7%95%D7%9F" aria-label="Profile: יוסף-בן-שמעון">@<bdi>יוסף-בן-שמעון</bdi></a> האם מדובר בתהליך mysqld או על המכונה בכללות?<br />
כלומר האם נכנסת לתוך המכונה להריץ top ולראות מה תופס זכרון?</p>
</blockquote>
<p dir="rtl">בתוך המכונה אין top,</p>
<pre><code>bash: top: command not found
bash: htop: command not found
</code></pre>
<p dir="rtl">הרצתי מבחוץ docker top וזה התוצאה</p>
<pre><code>UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
systemd+            446012              445987              2                   09:03               ?                   00:06:43            mysqld --default-authentication-plugin=mysql_native_password
</code></pre>
<p dir="rtl">מה אפשר לעשות עם זה?</p>
]]></description><link>https://tchumim.com/post/138855</link><guid isPermaLink="true">https://tchumim.com/post/138855</guid><dc:creator><![CDATA[יוסף בן שמעון]]></dc:creator><pubDate>Tue, 19 Apr 2022 14:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to תמונת דוקר mysql:8.0 זוללת זיכרון on Tue, 19 Apr 2022 10:44:56 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%99%D7%95%D7%A1%D7%A3-%D7%91%D7%9F-%D7%A9%D7%9E%D7%A2%D7%95%D7%9F" aria-label="Profile: יוסף-בן-שמעון">@<bdi>יוסף-בן-שמעון</bdi></a> האם מדובר בתהליך mysqld או על המכונה בכללות?<br />
כלומר האם נכנסת לתוך המכונה להריץ top ולראות מה תופס זכרון?<br />
(יש בעיה ישנה ב-WSL של אי שחרור זכרון מטמון, יכול להיות שמדובר בבעיה זו?)</p>
]]></description><link>https://tchumim.com/post/138848</link><guid isPermaLink="true">https://tchumim.com/post/138848</guid><dc:creator><![CDATA[yossiz]]></dc:creator><pubDate>Tue, 19 Apr 2022 10:44:56 GMT</pubDate></item><item><title><![CDATA[Reply to תמונת דוקר mysql:8.0 זוללת זיכרון on Tue, 19 Apr 2022 09:49:23 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A8%D7%A4%D7%90%D7%9C" aria-label="Profile: רפאל">@<bdi>רפאל</bdi></a></p>
<pre><code>version: '3.7'
services:

  db:
    image: mysql:8.0
    command: --default-authentication-plugin=mysql_native_password
    volumes:
      - ./db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD
    ulimits:
      nproc: 6553
      nofile:
        soft: 2667
        hard: 4667
    networks:
      caddy:

  phpmyadmin:
    image: phpmyadmin/phpmyadmin
    restart: always
    environment:
      PMA_HOST: db
      MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD
    networks:
      caddy:



networks:
  caddy:
    external: true

</code></pre>
]]></description><link>https://tchumim.com/post/138846</link><guid isPermaLink="true">https://tchumim.com/post/138846</guid><dc:creator><![CDATA[יוסף בן שמעון]]></dc:creator><pubDate>Tue, 19 Apr 2022 09:49:23 GMT</pubDate></item><item><title><![CDATA[Reply to תמונת דוקר mysql:8.0 זוללת זיכרון on Tue, 19 Apr 2022 09:46:36 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%99%D7%95%D7%A1%D7%A3-%D7%91%D7%9F-%D7%A9%D7%9E%D7%A2%D7%95%D7%9F" aria-label="Profile: יוסף-בן-שמעון">@<bdi>יוסף-בן-שמעון</bdi></a> מאוד כדאי שתציג את הקובץ במלואו</p>
]]></description><link>https://tchumim.com/post/138845</link><guid isPermaLink="true">https://tchumim.com/post/138845</guid><dc:creator><![CDATA[רפאל]]></dc:creator><pubDate>Tue, 19 Apr 2022 09:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to תמונת דוקר mysql:8.0 זוללת זיכרון on Tue, 19 Apr 2022 09:31:00 GMT]]></title><description><![CDATA[<p dir="rtl">ניסיתי להכניס לקומפוז את השורות האלו <a href="https://github.com/docker-library/mysql/issues/579#issuecomment-519495808" target="_blank" rel="noopener noreferrer nofollow ugc">(ע"פ זה)</a></p>
<pre><code>    ulimits:
      nproc: 6553
      nofile:
        soft: 2667
        hard: 4667

</code></pre>
<p dir="rtl">בתוך המכונה נראה שהערכים נקלטו, אבל זה לא משפיע על צריכת הזיכרון בפועל</p>
]]></description><link>https://tchumim.com/post/138844</link><guid isPermaLink="true">https://tchumim.com/post/138844</guid><dc:creator><![CDATA[יוסף בן שמעון]]></dc:creator><pubDate>Tue, 19 Apr 2022 09:31:00 GMT</pubDate></item></channel></rss>