PDA

View Full Version : Disk Space Usage ???


jlovi
3-12-05, 04:06 AM
Just a small stupid question.

In Ops -> Packages -> Web Site -> FTP -> Usage, the system tells me:

Used: 1065.04 MB (52.0%) / 4781 Files (15.6%)
Quota: 2048.00 MB / 30720 Files

...but the pie chart shows me that about only one third of my disk space is used.

What's the meaning of this disk space usage pie chart ???

Alli
3-12-05, 05:05 AM
Mine as well come to think of it. Maybe it's some sort of blend between the percentage of mb used and the percentage of files used?

jlovi
3-12-05, 07:57 AM
Mine as well come to think of it. Maybe it's some sort of blend between the percentage of mb used and the percentage of files used?

I thought to that option as well but I think it would really be useless. Better to have a pie showing the worst situation between space and number of files or to have two pies showing each of it than to have such kind of blend.

My two cents...

cyberCrank
3-12-05, 02:23 PM
I have also wondered in the past how it relates to PW backups, logs, email, database usage, etc., i.e., how all user site-related storage space used (FTP uploaded and otherwise) is or is not counted againt a 2GB limit/total and how exactly one know they hit a/the limit...

** being close to lunch time here, I'd much rather have two pies than one pie also ;) **

jorgfe
3-12-05, 02:33 PM
For official values try the following programs:

==== quota.php ====
<?php
print "System command: quota -v";
print "<pre>";
print system('quota -v');
print "</pre>";
?>


==== du.php ====
<?php
$basedir = '/www/m/myhomedir/';
chdir($basedir);
print "System command: du -h";
print "<pre>";
print system('du -h');
print "</pre>";
print "You can also manually type 'du | sort -nr' to display a sorted list with the largest directories at the top.";
print "To output a list of all the files with sizes manually type 'du -ha > du.txt', gzip it, FTP it to your local drive to view.";

cyberCrank
3-12-05, 05:02 PM
yes -- that's good and has been used by some of us in cron jobs for /www... storage space, but does not directly address the question of aggregate usage (i.e., MySQL database storage limits, how included, etc.)...

** plus this method has some cross-site security issues (I will not mention) related to it as well :( **

jorgfe
3-12-05, 09:46 PM
I don't believe that mySQL is included in the 2 GB limit. I'm not sure how it could be. For example, I don't believe it factors in the # of files either. PowWeb would have to have some mechanism for tracking that, and I have not seen any evidence that such a mechanism exists.

I have found that "quota" seems to be pretty accurate.

It would be nice to have a definitive and official answer from PowWeb. Any ideas on how to get that, as wll as well to look up the value?

jlovi
3-15-05, 06:50 AM
I don't believe that mySQL is included in the 2 GB limit. I'm not sure how it could be.

Does anyone know wich are the mySQL limits on Powweb:

- number of database?
- number of tables?
- number of records?
- size of the entire mySQL databases?

jorgfe
3-15-05, 01:02 PM
databases > 5 == $$

I'd love to know the others as well.

White Bear
4-22-05, 04:18 AM
Does anyone know the answer to the above mySQL questions ?? The thread seems to have died.

Thanks

Skunkboy
4-22-05, 07:09 AM
That pie chart is just a generic graphic and not a true representation. The statistics below are valid but you can't go by the graphic. I would know considering this screen capture (http://photobox.skunkboy.net/limit.jpg). I took the pie chart out of it because the objective was to point out that I was maxed out - I wanted the site name and the quota numbers. Either way, despite my numbers, I still had a pie chart showing 2/3 or so available if I'm not mistaken

linnetwoods
4-23-05, 08:01 AM
It would be interesting to know how it is for a wide range of people. My domain contains about a dozen separate websites as subwebs of http://www.linnetwoods.com, not as subdomains. There are no pointer sites. I use no php, MySQL, Flash or any other high-tech coding, just html pages with text and images and some downloadable files for visitors like free screensavers and e-books. Here's my usage at this moment:

Used: 177.83 MB (3.5%) / 16780 Files (54.6%)
Quota: 5120.00 MB / 30720 Files

So, I clearly won't be needing even the original 500MB, which was what I signed up for, anytime soon, let alone 5GB, but I've already used up more than half my file allocation!

I'd be very happy to exchange the 3 gigs I've just been given for 15,000 of someone else's file allocation if PowWeb ever came up with an exchange mechanism. Perhaps some people would be willing to exchange part of their email capacity for webspace/file capacity too.

I wouldn't think such a system would be all that complicated to admisister, either - once someone had worked out how to do it, but I may well be mistaken about that! I do see that, without looking into it far, PowWeb might consider it easier to have a set package for all and leave it at that. Still, you never know - some suggestions turn out easier to implement than others, depending on who is considering them and where their skills lie. We can live in hope ;-)