Meshlium memory full

All related to the Kernel, packages system and libraries
Post Reply
Shakey7
Posts: 33
Joined: Mon Jan 26, 2015 6:32 pm

Meshlium memory full

Post by Shakey7 » Tue Mar 28, 2017 3:02 pm

Hi Libelium Dev,

I can't access anymore to meshlium webpage , cause I got this answer :

Warning: session_write_close() [function.session-write-close]: write failed: No space left on device (28) in /mnt/lib/var/www/ManagerSystem/login.php on line 42

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/user/php5) in /mnt/lib/var/www/ManagerSystem/login.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /mnt/lib/var/www/ManagerSystem/login.php:42) in /mnt/lib/var/www/ManagerSystem/login.php on line 43


I check the memory available , and I got :

meshlium_4b98:/# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.5G 967M 434M 70% /
udev 10M 2.6M 7.5M 26% /dev
/dev/disk/by-label/ROOT_FS
1.5G 967M 434M 70% /
tmpfs 125M 55M 71M 44% /lib/init/rw
varrun 125M 72K 125M 1% /var/run
varlock 125M 4.0K 125M 1% /var/lock
tmpfs 125M 4.0K 125M 1% /dev/shm
/dev/hda3 4.9G 4.7G 0 100% /mnt/user
tmpfs 125M 952K 125M 1% /tmp
tmpfs 125M 55M 71M 44% /var/log
tmpfs 125M 55M 71M 44% /var/tmp
/dev/mapper/lib 887M 43M 800M 6% /mnt/lib


It seem that one has achieved 100% space

How can I fix this issue to get access again to meshlium webpage ?
Thank's

Bernie

Shakey7
Posts: 33
Joined: Mon Jan 26, 2015 6:32 pm

Re: Meshlium memory full

Post by Shakey7 » Tue Mar 28, 2017 4:41 pm

I've deleted all files zigbeeData.* and now space is recovered, so I got access normally to meshlium web page.

Question : How can I delete all frame logs and sensor logs data ? Where are the files , can I delete them ?

Thanks

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Meshlium memory full

Post by libelium-dev » Wed Mar 29, 2017 9:24 am

Hi Shakey7,

You can delete or empty the logs located in the folder: /mnt/user/logs. You can list the logs with the biggest size with this command:

Code: Select all

ls -larSh
After that, you can empty the logs with this command:

Code: Select all

> /mnt/user/logs/MYLOG
NOTE: replace MYLOG for the log you want to empty

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest