J
J
jtag2018-08-21 12:03:38
linux
jtag, 2018-08-21 12:03:38

How to free up disk space for a session?

phpmyadmin says session_write_close(): write failed: No space left on device (28)
debian 9 system, how can i free up space and login to phpmyadmin?

Filesystem      Size  Used Avail Use% Mounted on
udev           1001M     0 1001M   0% /dev
tmpfs           202M   22M  181M  11% /run
/dev/sda1        38G   38G     0 100% /
tmpfs          1009M     0 1009M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs          1009M     0 1009M   0% /sys/fs/cgroup
tmpfs           202M     0  202M   0% /run/user/0

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-08-21
@Sanasol

du -sh /*
etc. until you find something to delete.
In 99% of cases, you can delete a lot of old logs in /var/log/*
Well, look what you have there, most likely something junk is accumulating somewhere in the project.

S
SagePtr, 2018-08-21
@SagePtr

From convenient console tools - ncdu (pseudographic wrapper over du), and then look where you have accumulated trash and delete

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question