You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/09 06:20:33 UTC

[GitHub] chetanmeh opened a new issue #3533: Vagrant box goes out of disk quickly

chetanmeh opened a new issue #3533: Vagrant box goes out of disk quickly
URL: https://github.com/apache/incubator-openwhisk/issues/3533
 
 
   Current Vagrant setup is configured to use `ubuntu/xenial64` box whose disk is sized to 10GB. Post out of the box OpenWhisk install the size left is only ~200MB with most of disk space gone in docker image directory
   
   ```
   $ sudo du -shx * | sort -rh | head -10
   7.6G    var
   1.4G    usr
   424M    home
   158M    lib
   42M boot
   16M bin
   14M sbin
   6.2M    etc
   5.6M    run
   88K root
   ```
   
   Also docker shows
   ```
   $ sudo docker system df -v
   Images space usage:
   
   REPOSITORY             TAG                 IMAGE ID            CREATED ago         SIZE                SHARED SIZE         UNIQUE SiZE         CONTAINERS
   badproxy               latest              fee79f5feb87        3 days ago ago      176.9MB             176.9MB             0B                  0
   badaction              latest              719493a8e77c        3 days ago ago      176.9MB             176.9MB             1.859kB             0
   invoker                latest              722a8d901ce2        3 days ago ago      377.2MB             182.9MB             194.3MB             1
   controller             latest              53e63d478d06        3 days ago ago      291.9MB             182.9MB             109MB               1
   scala                  latest              5c6c866050be        3 days ago ago      182.9MB             182.9MB             0B                  0
   action-nodejs-v8       latest              a32d2af0d5e4        9 days ago ago      675.9MB             0B                  675.9MB             0
   nodejs6action          latest              5deee20b745f        9 days ago ago      537.7MB             222.4MB             315.3MB             2
   action-swift-v4.1      latest              5ad46d2857bf        9 days ago ago      1.454GB             222.4MB             1.232GB             0
   redis                  3.2                 b05c3d76c8b3        3 weeks ago ago     99.71MB             0B                  99.71MB             1
   nginx                  1.12                1b155f07a3fa        3 weeks ago ago     108.4MB             0B                  108.4MB             1
   openwhisk/apigateway   0.9.10              f41d13cb5490        3 weeks ago ago     432MB               4.148MB             427.9MB             1
   dockerskeleton         latest              af4b89342619        4 weeks ago ago     176.9MB             176.9MB             0B                  0
   zookeeper              3.4                 56d414270ae3        2 months ago ago    146.2MB             4.148MB             142MB               1
   alpine                 3.6                 77144d8c6bdc        2 months ago ago    3.966MB             3.966MB             0B                  0
   python3action          latest              2f536aab12ba        5 months ago ago    293.2MB             88.69MB             204.5MB             0
   example                latest              efdd2984fecf        5 months ago ago    109.2MB             88.69MB             20.5MB              0
   apache/couchdb         2.1                 2613c58e7893        5 months ago ago    332.9MB             0B                  332.9MB             1
   java8action            latest              a789b2a893f3        5 months ago ago    452.5MB             0B                  452.5MB             0
   python2action          latest              57db6a28802f        6 months ago ago    293.5MB             0B                  293.5MB             0
   wurstmeister/kafka     0.11.0.1            b994f889ee53        6 months ago ago    264.6MB             4.811MB             259.8MB             1
   action-php-v7.1        latest              9154ca2014f3        6 months ago ago    138MB               4.811MB             133.1MB             0
   action-swift-v3.1.1    latest              02a5b08f2cdb        6 months ago ago    1.353GB             0B                  1.353GB             0
   
   Containers space usage:
   
   CONTAINER ID        IMAGE                         COMMAND                  LOCAL VOLUMES       SIZE                CREATED ago              STATUS              NAMES
   619e2b5b8e9f        whisk/nodejs6action:latest    "/bin/sh -c 'node --…"   0                   0B                  About a minute ago ago   Up About a minute   wsk00_4_prewarm_nodejs6
   599446d984aa        whisk/nodejs6action:latest    "/bin/sh -c 'node --…"   0                   0B                  About a minute ago ago   Up About a minute   wsk00_3_prewarm_nodejs6
   f7b5ea08a3e6        nginx:1.12                    "nginx -g 'daemon of…"   0                   2B                  3 days ago ago           Up 2 minutes        nginx
   d15e69c97bd3        whisk/invoker:latest          "/bin/sh -c 'exec /i…"   0                   32.8kB              3 days ago ago           Up 2 minutes        invoker0
   0c5d551edebb        whisk/controller:latest       "/bin/sh -c 'exec /i…"   0                   32.8kB              3 days ago ago           Up 2 minutes        controller0
   cfff430630b7        wurstmeister/kafka:0.11.0.1   "start-kafka.sh"         1                   2.91MB              3 days ago ago           Up 2 minutes        kafka0
   d084302cee92        zookeeper:3.4                 "/docker-entrypoint.…"   2                   32.9kB              3 days ago ago           Up 2 minutes        zookeeper0
   10f3f2562872        openwhisk/apigateway:0.9.10   "/usr/bin/dumb-init …"   0                   224B                3 days ago ago           Up 2 minutes        apigateway
   b05777d9b21e        redis:3.2                     "docker-entrypoint.s…"   1                   0B                  3 days ago ago           Up 2 minutes        redis
   ecd603832162        apache/couchdb:2.1            "tini -- /docker-ent…"   1                   27.4MB              3 days ago ago           Up 2 minutes        couchdb
   
   Local Volumes space usage:
   
   VOLUME NAME                                                        LINKS               SIZE
   a4b2cbe7208eb24c3d2b3ef83d2f5c6fd1bbd526a1e2e288d63ac1ed7006b6ab   1                   0B
   d2dd6435aa339f19c613a1aa6f2de3e051d23ee224211eda50d1d5a81235f9fb   1                   2B
   e3b814623a63cd94cd08309c4c0ec3f9917b05fb0033a74d577418399f026a40   1                   1.203GB
   67924b5dcc88a62264c1f296cc534eacb9a183f57d2c087abc1d1927c02a2bf6   1                   606.3kB
   690b5a63ae86757df952110fe26b73da6d5a9d3a5c895f07a165bbefe3d527ac   1                   134.2MB
   
   Build cache usage: 0B
   
   ```
   
   For now getting rid of swift images reclaimed ~ 3GB space. This can be used as a workaround if you are not using swift runtime.
   
   > sudo docker rmi $(sudo docker images |grep 'swift')
   
   We should provision image with probably 20GB size. However setting/changing the size does not look easy
   
   https://unix.stackexchange.com/questions/176687/set-storage-size-on-creation-of-vm-virtualbox
   
   ## Environment details:
   
   * Vagrant 2.0.2
   * Docker version 18.03.0-ce, build 0520e24
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services