test@gae-5482:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
none 30G 24G 4.4G 85% /
test@gae-5482:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
none 30G 20G 8.2G 72% /
test@gae-5482:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
none 30G 22G 6.6G 77% /
test@gae-5482:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
none 30G 26G 2.1G 93% /
test@gae-5482:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
none 30G 27G 1.1G 97% /
test@gae-5482:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
none 30G 30G 0 100% /
Does your disc belong to a compute engine instance?
gcloud infoGoogle Cloud SDK [201.0.0]Platform: [Linux, x86_64] ('Linux', 'cs-6000-devshell-vm-0a549b2f-e336-4f48-bd86-a2d2e6923d35', '3.16.0-6-amd64', '#1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08)', 'x86_64', '')Python Version: [2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]]Python Location: [/usr/bin/python2]Site Packages: [Disabled]Installation Root: [/google/google-cloud-sdk]Installed Components: datalab: [20180503] kubectl: [] container-builder-local: [] pubsub-emulator: [2018.02.02] core: [2018.05.11] app-engine-java: [1.9.63] app-engine-python: [1.9.69] app-engine-php: [ ] docker-credential-gcr: [] app-engine-python-extras: [1.9.69] beta: [2017.09.15] gsutil: [4.31] cloud-datastore-emulator: [1.4.1] cbt: [] alpha: [2017.09.15] gcd-emulator: [v1beta3-1.0.0] app-engine-go: [] bq: [2.0.33]
Do you actually use the G Suite?
Do you make calls to the Datastore API?
from google.appengine.ext import ndbclass UserController():token_jose = Nonedef __init__(self):passdef create_user(self):usr = Account(first_name='test', last_name='test')usr.put()class Account(ndb.Model):first_name = ndb.StringProperty()last_name = ndb.StringProperty()
More information is needed on your disc and your app's architecture.
Could you list the top 20 files for example (by size) from your /tmp directory? Something like:du -a /tmp 2>/dev/null | sort -gr | head -n20
128 /tmp36 /tmp/dotnet-installer32 /tmp/tmpLL2RSP32 /tmp/dotnet-installer/.dotnet20 /tmp/dotnet-installer/.dotnet/optimizationdata16 /tmp/tmp.FCMuxpIW8F16 /tmp/metadata.go16 /tmp/dotnet-installer/.dotnet/optimizationdata/2.0.012 /tmp/dotnet-installer/.dotnet/optimizationdata/2.0.0/debian.9-x648 /tmp/tmppwp2Ip8 /tmp/tmp.FCMuxpIW8F/configurations8 /tmp/dotnet-installer/.dotnet/optimizationdata/2.0.0/debian.9-x64/dotnet4 /tmp/tmux-10004 /tmp/tmp.FCMuxpIW8F/configurations/config_cloudshell-253224 /tmp/tmp.FCMuxpIW8F/active_config4 /tmp/npm-427-3430096d4 /tmp/hsperfdata_root4 /tmp/dotnet-installer/.dotnet/2.0.0_MachineId.dotnetUserLevelCache4 /tmp/dotnet-installer/.dotnet/2.0.0_IsDockerContainer.dotnetUserLevelCache4 /tmp/b63773568.patch
A quick look seems to indicate that the .NET framework installer had left some big temporary files there.
If so, please note that this is a temporary instance allocated to run light-weight tasks: https://cloud.google.com/shell/docs/limitations
If you do not access Cloud Shell for 120 days, we will delete your home disk. You will receive an email notification before we do so and simply starting a session will prevent its removal.