<div dir="ltr">Hi Rizky, <div>Thank for your suggestion, i will try add new disk and format it as EXTFS4 </div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 26, 2021 at 2:14 PM Rizky Maulana Nugraha <<a href="mailto:rizky@kartoza.com">rizky@kartoza.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Irland,<div><br></div><div>> is any way to solve this problem? *beside re-installing the os</div><div><br></div><div>No worries, this is just filesystem issues. No need to reinstall.</div><div><br></div><div>Basically, your disk is already full because all the possible inodes were already used up.</div><div>Inodes is like the available address in your disk. If it already used up, then no more address can be given.</div><div>Even if your disk says it still have some extra GB left.</div><div><br></div><div>As I assume this is for production server, it is best if you solve it for the long term.</div><div>Buy a new disk dedicated to store caches. Format it using XFS or EXTFS4 but choose format </div><div>parameters that allows for many small files to be stored. In mkfs.ext4, I think the parameter is:</div><div>“-T small”. Check the available Inodes count using “df -i”. It should be higher than 6.2M (your previous default value).</div><div><br></div><div>After formatting the new disk, mount it to your server, then move/copy your tilecaches to your new disk.</div><div><br></div><div>You can then clean up your root disk (delete those tile caches in the root disk). This will free up your inodes in your root disk.</div><div><br></div><div>Last step, specify in your docker-compose file that the GWC directory mount to this new disk that you mounted for storing caches.</div><div><br></div><div><br></div><div><br></div><div>Regards,<br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>-- </div><div>Rizky Maulana Nugraha</div><div>Senior Software Engineer</div><div>Kartoza</div><div><a href="mailto:rizky@kartoza.com" target="_blank">rizky@kartoza.com</a></div><div><br></div></div><br></div><br><br>
</div>
<div><br><blockquote type="cite"><div>On 26 Apr 2021, at 11.17, irland fardani <<a href="mailto:irlan128@gmail.com" target="_blank">irlan128@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi Rizky,<div>thanks for your reply</div><div>My disk size is quite free, but you are right, i have a problem with the inode</div><div><span id="gmail-m_-3939666098820494804cid:ii_kny361ve0"><geonode2.jpeg></span><br></div><div>i am only tiled the map about 20 million image of png, but the inode already full.</div><div>i using linux (ubuntu). is any way to solve this problem? *beside re-installing the os</div><div><br></div><div>Thanks before</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 26, 2021 at 10:44 AM Rizky Maulana Nugraha <<a href="mailto:rizky@kartoza.com" target="_blank">rizky@kartoza.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Irland,<div><br></div><div>I don’t see anything wrong with the command output.</div><div>Your total docker image size is around 5.151 GB.</div><div>I see that your local volumes have 18 GB which is normal if you store your files there in docker volume.</div><div><br></div><div>> because my docker size is about 18 Gb, the docker usually crashes.</div><div><br></div><div>What I understand from your screenshots, the 18 GB size is for docker volume and that is normal if persistent store is used.</div><div>Probably you misunderstand a little bit. Docker image size is not the same thing as Docker volume size.</div><div><br></div><div>> I want to ask, how to up size the geonode docker?</div><div><br></div><div>There’s no way to resize docker image size. For the docker volume size, it will expand indefinitely as your filesystem/disk allows if your OS is Linux.</div><div>If your OS is Macos then usually it is limited by the size of the qcow2 disk image itself (docker in MacOS is not native).</div><div><br></div><div>> is it any variable that i must add when i do the docker compose command?</div><div><br></div><div>No there isn’t any docker-compose command to control that. AFAIK there is some command to limit file size, but that is for log files.</div><div><br></div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>> or it is the default/maximum size of the docker geonode/geoserver only 18 Gb?</div><div><br></div><div>I think there is no correlations.</div><div><br></div><div>Some suggestion for me to figure out the root cause:</div><div>1. You could try checking your disk size if it has plenty of spaces to store 30 GB of data</div><div>2. What is your environment? Native Linux? In a VPS? There might be some limits imposed by the underlying systems</div><div>3. Does your filesystem optimized to store caches? You maybe run out of inodes. Check using “df -i” and “df -h”</div><div>4. Check the logs of your GeoServer. What was the error message? Why do you assume it was space issue?</div></div></div></div></div><div><br></div><div>Regards,<br><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>-- </div><div>Rizky Maulana Nugraha</div><div>Senior Software Engineer</div><div>Kartoza</div><div><a href="mailto:rizky@kartoza.com" target="_blank">rizky@kartoza.com</a></div><div><br></div></div><br></div><br><br>
</div>
<div><br><blockquote type="cite"><div>On 24 Apr 2021, at 11.21, irland fardani <<a href="mailto:irlan128@gmail.com" target="_blank">irlan128@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear All,<div>I install geonode and geoserver via docker. In Geoserver GWC I create a tiled file, and the size is very big (about 30 Gb). because my docker size is about 18 Gb, the docker usually crashes.</div><div>I want to ask, how to up size the geonode docker? is it any variable that i must add when i do the docker compose command?or it is the default/maximum size of the docker geonode/geoserver only 18 Gb?</div><div>Thanks</div><div><div><br></div><div><span id="gmail-m_-3939666098820494804gmail-m_-1492033097088570066cid:ii_knv8ges21"><WhatsApp Image 2021-04-23 at 3.00.41 PM.jpeg></span><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Irland Fardani M.T.<br>+628562257785<br>+6281223261345<br><a href="http://planologi.unisba.ac.id/" target="_blank">Program Studi Perencanaan Wilayah Kota</a><br><a href="http://planologi.unisba.ac.id/" target="_blank">Fakultas Teknik</a><br><a href="http://planologi.unisba.ac.id/" target="_blank">Universitas Islam Bandung</a><br>Hatur Nuhun<br></div></div></div></div></div></div></div><div id="gmail-m_-3939666098820494804gmail-m_-1492033097088570066DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:rgb(68,83,234)" target="_blank">www.avg.com</a>
</td>
</tr>
</tbody></table><a width="1" height="1"></a></div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br></div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Irland Fardani M.T.<br>+628562257785<br>+6281223261345<br><a href="http://planologi.unisba.ac.id/" target="_blank">Program Studi Perencanaan Wilayah Kota</a><br><a href="http://planologi.unisba.ac.id/" target="_blank">Fakultas Teknik</a><br><a href="http://planologi.unisba.ac.id/" target="_blank">Universitas Islam Bandung</a><br>Hatur Nuhun<br><br></div></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Irland Fardani M.T.<br>+628562257785<br>+6281223261345<br><a href="http://planologi.unisba.ac.id/" target="_blank">Program Studi Perencanaan Wilayah Kota</a><br><a href="http://planologi.unisba.ac.id/" target="_blank">Fakultas Teknik</a><br><a href="http://planologi.unisba.ac.id/" target="_blank">Universitas Islam Bandung</a><br>Hatur Nuhun<br><br></div></div></div>