Jump to content

Small Case-Study to Manage Server Space on Resellers Account..


Recommended Posts

Friends,

 

I have reseller's account with Hostgator.

 

I have created 100 Cpanel accounts (One site each Cpanel), as we know, problem with Reseller account is the Limited Server Space.

 

The one that i have has a Limit of 30 GB Only.

 

So technically, 30 GB / 100 = 300 MB Each Site Or Each Cpanel.

 

The content of Each site is cached and put into a Folder (Each site has its own seperate Folder).

 

I have two Solutions to Manage this Situation:

 

 

Option A:

I get a PHP Script in Place, which will be Scheduled to run on Each day of the Week, and it will Clear the Content of (100/7 = 15 Sites) 15 Sites. So technically i am emptying the Cache Folder content of Each site Once in a Week.

 

So i do not cross the 300 MB Limit wchih i have set for each site.

 

 

Option B:

I get a PHP script in place, which will calculate the Size of the Cache folder for each site and when the Size exceeds 300 MB, the Script will get executed to Empty the Cache content.

 

In Option B the Challange is, When to run the Script to check the Space Occupied by the Folder!!!

 

 

Now over to you all, Which option make more sense for a Reseller Account?

OR

can you suggest a better Option?

 

Cheers

Natasha Thomas

 

 

I seriously don't see how anyone can be put in charge of a reseller account without server administration experience. That is all I have to say on the matter.

 

Not sure what you meant above......

 

But i believe both the options are plausible and achievable all am looking for enhancement possibility of both the Options.

 

Cheers

Natasha

You would run the cron the same, no matter the option. The difference is that with option B you would calculate the size and clear the cache when it exceeds the soft limit:

 

Soft limit: 250

Hard limit: 300

 

Depending on the number of cache files created per day you would run this every 3 days/week/month

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.