◄ ► | Edit | Home | Admin | en de fr et | Sign in

#5441 (kuurunner says low disk space)

by Luc Saffre · in Hosting (system administration) · assigned to Sharif Mehedi

Summary

Children

Comments

  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : After verifying once more, Hannes and I agreed that yes 20GB is simply too small for a gitlab-runner. Removing the cms1 demo site from kuu would bring us another 1.2 GB but that won't save the situation. So we now migrated kuu at the datacenter from 20 GB of disk space to 40 GB. Costs us 2€ per mont...
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : Okay, the low disk space is already back: [url gitlab.com/lino-framework/book/-/jobs/6241804306] : pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: OSError(28, 'No space left on device')", OSError(28, 'No space left on device'))
    Which probably means that we want a bigger hard disk ...
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : Now "df -h" on kuu is again nice:
    Filesystem     Size Used Avail Use% Mounted on /dev/sda1       20G  12G 7,0G 63% /
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) (1 reply) : I added --volumes to the prune_docker.sh cron job. Because 5 images are taking 2GB while 58 volumes are taking 4GB. This might make it needless to remove the cms1 demo site.
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : I spawned a child ticket #5453 (What to do with cms1 demo?) .
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : To see my question, go to [url cms1.mylino.net/p/12] and the page will ask you confirmations with nothing but "1" as text. Looking at the page source I see tags like "{img src="/static/"> or {img src=x onerrora=confirm() onerror=confirm(1)>" and I am wondering how they get there...
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : That last question is for @8lurry , I want to show this to you when we meet again.
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : And also before removing it I'd like to understand why it asks a confirmation "1".
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : I think that we will remove the Lino demo sites from kuu. There is only one, cms1, and because I had installed it with --clone, it takes more than a GB of disk space. But before removing it, create another cms demo site, maybe on pilv?
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : [url gitlab.com/lino-framework/book/-/jobs/6230684651#L1226 There is again a job failing] because of low disk space: "failed to write (No space left on device)"
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : I created a cron script /etc/cron.daily/prune_docker.sh with the following content:
    #!/bin/sh docker system prune -af
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : $ df -h Filesystem     Size Used Avail Use% Mounted on /dev/sda1       20G  19G 194M 99% / ...
    $ sudo docker system df TYPE           TOTAL    ACTIVE   SIZE     RECLAIMABLE Images         10       0        5.218GB  5.218GB (100%) Containers     0        0        0B       0B Local Volumes  58       0...
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : kuurunner says low disk space. see [url gitlab.com/lino-framework/book/-/jobs/6196223321 pipeline job]
  • 2 years, 8 months ago by Luc Saffre about #5441 (kuurunner says low disk space) : Created new Ticket #5441@hosting (kuurunner says low disk space).