This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
*newbie* /dev/root full after 24hrs
#19
(2018-06-11, 06:34 PM)Sailoog Wrote: Thanks, we could limit the allowed size of this log file or even prevent to write on it but we should try to find the loop that is creating such amount of messages.
We should wait for some feedback from other users suffering this issue to confirm.

Actually I think that it should be another problem, because my system doesn't freeze. That file increases its size suddenly but only once. After become giant file, it doesn't change any more. Symptoms aren't equal.

I've updated the link for the log I've make: Link to the log.

If somebody wants to do a similar log, in order to investigate what is happening with your system, here is the code I've used in a bash script:

Code:
#!/bin/bash
# Test program to know OpenPlotter partition's size along the time
# It'll obtain the /dev/root/ directory's size each 1 hour
# To Stop it: kill or Ctrol+c

while true; do
echo ------------------------- >> size_test.txt
date  >> size_test.txt
echo "df -h " >> size_test.txt
df -h >> size_test.txt
echo  "sudo du -xh / "'| grep -P "G\\t"' >> size_test.txt
sudo du -xh / | grep -P "G\t" >> size_test.txt
echo ------------------------- >> size_test.txt
echo "For stopping it, Ctrol+c"
sleep 3600
done

How to use:
  1. In raspberry (in a new installation, e.g.) make a new file in your home (/home/pi): Right button of the mouse and choose "Create new" --> 'Empty file'. Give it this name: SizeTest.sh
  2. Open the new file and paste the code which is above and close it, keeping changes.
  3. Right button on the new file, choose 'Properties' and in the tab 'Permissions' choose 'Anyone' for 'Execute' and click in Ok.
  4. Open a terminal (Menu Raspy --> Accessories --> Terminal) and write:
    Code:
    sh SizeTest.sh

  5. It will create a new file "size_test.txt" in your home (/home/pi) logging the size of directories at each hour until press Ctrol+c in the Terminal. While it's running you can use the Raspberry, but not close Terminal.
  6. If the system freezes and collapses, that file can give you some tracks.
Good luck
Reply


Messages In This Thread
*newbie* /dev/root full after 24hrs - by Yannick - 2018-06-06, 06:27 PM
RE: *newbie* /dev/root full after 24hrs - by Otoio - 2018-06-11, 08:48 PM
*newbie* /dev/root full after 24hrs - by tkurki - 2018-08-05, 02:41 PM
*newbie* /dev/root full after 24hrs - by PaddyB - 2018-08-06, 11:39 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)