RE: Ubuntu 14.04 sessions not clearing fix
05-07-2017, 02:31 AM
(This post was last modified: 05-07-2017, 03:09 AM by FernandoGarcia.)
Hi!
I have problem with inodes 100% full and I have tested this solution but unfortunately it is not working to me.
The result for:
Is:
The result for:
Is:
Can you give me other suggestion to solve this problem with sessions?
Edit:
Trying delete the files manually the result is:
Maybe it's reason to cron not working, so many files to delete.
Best regards.
I have problem with inodes 100% full and I have tested this solution but unfortunately it is not working to me.
The result for:
PHP Code:
find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
Is:
PHP Code:
1161328 /var/sentora/sessions
The result for:
PHP Code:
df -i
Is:
PHP Code:
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 62581 402 62179 1% /dev
tmpfs 63403 347 63056 1% /run
/dev/disk/by-label/DOROOT 1310720 1298642 12078 100% /
none 63403 1 63402 1% /sys/fs/cgroup
none 63403 4 63399 1% /run/lock
none 63403 1 63402 1% /run/shm
none 63403 1 63402 1% /run/user
Can you give me other suggestion to solve this problem with sessions?
Edit:
Trying delete the files manually the result is:
PHP Code:
-bash: fork: Cannot allocate memory
Maybe it's reason to cron not working, so many files to delete.
Best regards.