Disk Quota Issue - Locating The Folders With The Highest Number Of Files
Jun 6, 2008
we've been having issues with reaching or exceeding our disk quotas. I've checked carefully, and while I've cleared our mail queue's, I don't think that's the issue.
So what I'm really looking for is a way to figure out why we have so many files (our quota is 220000, and I'm pretty confident that we aren't intentionally doing anything to create so many files). There's lots of information on finding the folders with the largest file sizes, but locating the folders with the greatest number of files isn't quite so simple--or at least, it doesn't seem very clear to me.
Does anyone know a way via the command line to figure out this information, short of going through every single folder and figuring out how many files are in the specific folder?
View 6 Replies
ADVERTISEMENT
Mar 3, 2015
I am having problems with two accounts, I get the following errors:
Code:
Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded
I have run the command
Code:
quotacheck -avugfm
And the output from the command
Code:
df -i
is:
Code:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 20000000 1542375 18457625 8% /
/dev/simfs 20000000 1542375 18457625 8% /tmp
/dev/simfs 20000000 1542375 18457625 8% /var/tmp
none 1415577 113 1415464 1% /dev
I am at a loss, I don't know what else to try.
View 1 Replies
View Related
Apr 19, 2008
if there is any good method for finding files that have not been accessed by the server for a long period of time. I was thinking this might be a good way of clearing space.
View 10 Replies
View Related
Jul 8, 2008
I'm running a VPS, it sounds weird but its more like a learning lab I bought to help me get better skills in linux environment, so far I've learned a bit more in BIND and apache.
I use the panel webmin, I tried setting a mount but it didn't work.
The mounted devices output this:
simfs on / type simfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
Now, that struck me is that other VPSes that have CentOS with cpanel has their disk quota installed already. (That includes directadmin and lxadmin)
View 3 Replies
View Related
May 7, 2008
Has anyone ever run into this before? We are running into issues with one of our hosting servers, it claims that the /tmp folder has exceeded the disk quota but when you actually go to the /tmp folder it's not at all.
Here are the outputs:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 60G 2.4G 58G 4% /
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 1500000 80589 1419411 6% /
# du -hs /tmp
8.2M /tmp
# echo 11111111 > /tmp/testfile
# cat /tmp/testfile
11111111
But it still gives a PHP error saying /tmp disk quota exceeded until I completely empty the folder and then it works for a few hours and does the same thing.
View 5 Replies
View Related
Jan 2, 2007
we have a plan that is go out quota.
In the old server we received an email alert when quota is near 80% and 100%..
now (new server) we haven't received nothing and our isp say that is not possible ...?
we have whm and notifications check is all cehcked.
how to config this?
View 5 Replies
View Related
Apr 18, 2007
Quota: Unlimeted
disk used: 0
for all listed account in WebHostManager.
Why?
what should i do in SSH for correct this?
View 3 Replies
View Related
Jan 15, 2007
I am trying to restore my backup and system keep saying.
Disk quota exceeded
in whm i have used only 40% from 20 gb
my backup size is only 500mb
View 3 Replies
View Related
May 19, 2009
Using cPanel/WHM to administer Accounts.
I've been allocated additional disk space by my host, but can't seem to use it -- the existing (original) Account quota won't update.
I've tried changing the quota for the existing Package, as well as creating a new package with the desired quota and 'upgrading' the Account to the new Package, but the Account's quota remains the same.
It's as tho' the Account quota value is cached somewhere, and isn't getting refreshed.
View 3 Replies
View Related
May 5, 2009
I am having Virtuozzo vps with cpanel/WHM installed.I have created some accounts in it by setting disk quota . Now the issue is : some users are using space over the allocted one ,when i use the command quota -u (username),i can see that the users are used the space over the allocated one and they are still allowed to upload file . How to fix this issue ?
View 6 Replies
View Related
Aug 18, 2008
I have had over 4 different VPS providers and in all of them, I was always using less than 5 gigs and most of it is from the OS and the VPS files, my website is less than 400 megs of size including the backups. For some reasons, my Disk Quota is at 8.3 gigs and it was at 8.2 gigs yesterday. My website's files are not that big and the Database is like 30 megs and the backups are compressed so they are like 4 megs. The problem is that I really don't know what files are making my Disk Quota to go up since I haven't uploaded anything or download files to my VPS.
View 6 Replies
View Related
Aug 7, 2007
LXadmin seem to have a preset disk quota limit to users/groups, even root!
So, how do I change these disk quota limits? There isn't an option in the LXadmin control panel either.
View 1 Replies
View Related
Mar 16, 2015
We have a lot of server with Plesk Panel 30 domains.We have migrated a website with a 2 Go disk space quota on a virtual server with Web Admin Plesk Panel License. So, we don't have field (or we don't find...) to update this value (or delete it). The website disk usage is now 2.1 Go. Every day, we have an email alert.
View 14 Replies
View Related
Jul 17, 2008
An automatic backup in plesk has filled up the disk space in my VPS. It seemed to crash first of all - couldn't access my website, then i tried to restart it. It wont restart and comes up with the error below.
As i can't get into plesk i don't know how to delete these old backup files, seem to be in a catch 22. Help
Jul 17, 2008 01:05:33 PM Start Process Completed
Jul 17, 2008 01:05:33 PM Click here to open/close operation details.Start VPS #48606643 Failed
Jul 17, 2008 01:05:33 PM Operation start with the VPS(s) VEID48606643 is started.
Jul 17, 2008 01:05:33 PM Starting VE ...
Jul 17, 2008 01:05:33 PM vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244]
Jul 17, 2008 01:05:33 PM VE is mounted
Jul 17, 2008 01:05:33 PM Setting devperms 20002 dev 0x7f00
Jul 17, 2008 01:05:33 PM Setting devperms 20007 dev 0xac8
Jul 17, 2008 01:05:33 PM Adding port redirection to VE(1): 4643 8443
Jul 17, 2008 01:05:33 PM Adding IP address(es): 212.227.251.151
Jul 17, 2008 01:05:34 PM ERROR: Can't write to file /etc/sysconfig/network-scripts/ifcfg-venet0
Jul 17, 2008 01:05:34 PM bash: line 264: echo: write error: Disk quota exceeded
Jul 17, 2008 01:05:35 PM vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244]
Jul 17, 2008 01:05:35 PM VE is unmounted
Jul 17, 2008 01:05:35 PM VE start failed
Jul 17, 2008 01:05:35 PM Operation start with the VPS(s) VEID48606643 is finished with errors: #1004 Error invoking vzctl utility: Starting VE ... vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] VE is mounted Setting devperms 20002 dev 0x7f00 Setting devperms 20007 dev 0xac8 Adding port redirection to VE(1): 4643 8443 Adding IP address(es): 212.227.251.151 ERROR: Can't write to file /etc/sysconfig/network-scripts/ifcfg-venet0 bash: line 264: echo: write error: Disk quota exceeded vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] VE is unmounted VE start failed . Failed
Jul 17, 2008 01:05:35 PM Complete Process Failed
View 4 Replies
View Related
Aug 15, 2014
I have 2 problems:
Firstly I wonder if there is any possibility to limit the number of cores the plesk backup zipping tool uses? This pigz takes up all my CPU. Is there any way I can reduce the amount of cores it uses because all my websites are down every time a backup takes place for around 3 minutes.
Secondly I get the following in my syslog:
1 baby plesk sendmail[20189]: Error during 'check-quota' handler
I don't know what is wrong. I think it's since the upgrade to Plesk 12. I now have 12.0.18 Update #13.
View 9 Replies
View Related
Feb 22, 2008
I'd like to know how to secure an SMF site. Is the default permission good enough?
View 4 Replies
View Related
Feb 25, 2015
I have a new CentOS 7, with Plesk 12, CentOS 7 by default has XFS filesystem.
I try migrate sites from another Plesk Server but Plesk agent say: "hard disk quota is not supported due to configuration of server file system" (my CentOS 7)
My CentOS7:
CentOS Linux 7.0.1406 64 bits
Plesk 12.0.36
My fstab
[root@ns ~]$ cat /etc/fstab
/dev/mapper/centos-root / xfs defaults,usrquota,grpquota 1 1
UUID=ba391bd5-786c-4ae7-8bbd-f36f831ae6eb /boot xfs defaults 1 2
/dev/mapper/centos-swap swap swap defaults 0 0
I added "usrquota,grpquota", then mount -o remount / ; but when I try quotacheck -fmv / I gest this:
[root@ns ~]$ quotacheck -fmv /
quotacheck: Skipping /dev/mapper/centos-root [/]
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
but quotaon command works:
[root@ns ~]$ quotaon /
quotaon: Enforcing group quota already on /dev/mapper/centos-root
quotaon: Enforcing user quota already on /dev/mapper/centos-root
The problem here is why Plesk does not recognize quotas as enabled on CentOS 7??
If I try this command it seems good:
[root@ns ~]$ /usr/local/psa/admin/sbin/usermng --isquotable
0
Also I do this:
- Disabled Selinux
- Check all packages as quota, etc.
I have been using some reference: [URL] ....
View 11 Replies
View Related
Mar 5, 2014
I have just discovered in my access log some people accessing urls like this:
domain.com/index.php/index.php/ or even
domain.com/index.php/index.php/index.php
I have opened those links in browser and they worked. Why?
My .htaccess is empty and I have no 'index.php' folder. But I do have 'index.php' file.
I think this is happening to most php sites, not just mine. This is a random example:
[URL] ....
My question is how to force apache to return 404 error when such url is accessed?
View 1 Replies
View Related
Jul 13, 2008
Something weird happening here. I have tried every string possible...
There are a number of folders I want to remove off my server, tried the good old and simple...
rm -r /folder/
And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.
Could this be a configuration option in CentOS?
View 3 Replies
View Related
Jun 3, 2009
I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)
I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?
Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?
View 10 Replies
View Related
Sep 1, 2007
Try this useful script to find all 777 permission files and folders in /home directory
also it can find all names of suspected folders and files you want
and then you can take the required action
to install this follow the steps
login as root
Code:
cd /root
Code:
pico checkpandnscript.sh
Enter this code and in the 5th line from the end change
email@email.com to your email
Code:
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
#!/bin/sh
echo " " > /root/perdfmbc
echo "################# Folders with 777 permission #################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type d -perm 777 |egrep -v "./cpapachebuild|./.cpan|./src" >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "################## Files with 777 permission ##################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type f -perm 777 >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "############### Folders & files must be checked ###############" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -name forum >> /root/perdfmbc
find /home -name upload >> /root/perdfmbc
find /home -name 4images >> /root/perdfmbc
find /home -name gallery >> /root/perdfmbc
find /home -name uploader >> /root/perdfmbc
find /home -name up >> /root/perdfmbc
find /home -name r57shell >> /root/perdfmbc
find /home -name r57shell.php >> /root/perdfmbc
find /home -name r57.php >> /root/perdfmbc
find /home -name c99shell >> /root/perdfmbc
find /home -name c99shell.php >> /root/perdfmbc
find /home -name c99.php >> /root/perdfmbc
find /home -name shell.php >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "###############################################################" >> /root/perdfmbc
echo "Developed by Alrutani Web Hosting http://www.alrutani.com" >> /root/perdfmbc
echo "For more informations please contact us." >> /root/perdfmbc
echo " " >> /root/perdfmbc
cat /root/perdfmbc | mail -s "Suspected files & folders in your server" email@email.com
cd /root
rm -rf perdfmbc
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
To add more files and folders that you want the system to list
fine
Code:
find /home -name upload >> /root/perdfmbc
after it add
Code:
find /home -name xxxxxx >> /root/perdfmbc
where xxxxx is the name of the file or the folder you want
Save file Ctrl X
select yes then click enter
Code:
chmod 755 checkpandnscript.sh
To make the script works daily
Code:
crontab -e
At the end enter
Code:
* 3 * * * sh /root/checkpandnscript.sh
save and exit done !!
now to test the script
Code:
cd /root
Code:
sh checkpandnscript.sh
you will receive email from the server
View 2 Replies
View Related
Aug 7, 2014
If users copy files/folders on Plesk Panel 11/12 with attribute "read-only", I don't see this attribute on File Manager, every time do next "attrib -r <path to file/folder".
Maybe you can improve functionality of "File Manager" on Plesk Panel 12?
View 1 Replies
View Related
Feb 20, 2015
I have a concern during the installation of PrestaShop. I created a subdomain through Plesk, put my files on my server via FTP. During installation of PrestaShop, I have a problem:
Recursive write permissions for the Apache user on the ~ / config /
My user is "NOWIS" and my group is "psacln" ....
I think the user "NOWIS" has no rights as "Apache" ....
View 3 Replies
View Related
Jun 23, 2014
I have the following problem, the files and folders generated by PHP are hidden in FTP.
I can see in the Plesk file manager that users, permissions and groups are the same for all files and folders (those that can be seen and those that cannot be seen from FTP).
All the options in the server are set by default. It is a new installation of Plesk 12.0.18 #4 in CentOS 6.5 (Final).
SO: CentOS 6.5 (Final)
Plesk: 12.0.18 #4
PHP: FasctCGI
Apache Modules:
View 3 Replies
View Related
Oct 29, 2006
i just wana know is it safe to do remote daily backup for about 70,000 files?
file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files ,
so how much it will take every time to compare that 70,000 files?
i have 2 option now:
1-using second hdd and raid 1
2-using rsync and backuping to my second server , so i can save about $70 each month.
View 9 Replies
View Related
Oct 30, 2014
I'm running Plesk v12.0.18 #22 on Ubuntu 12.04.
In the plesk backup-settings I've set the max. number of backup-files to 5.
Actually Plesk doesn't limit the number of backups stored in the local repository.
So unfortunately the partition is running out of space.
What can be done to solve that problem?
View 1 Replies
View Related
Aug 22, 2009
I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?
View 3 Replies
View Related