1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does anyone have a problem with space being taken up on their Windows VPS?

Discussion in 'Web Hosting' started by coolsheet, Sep 3, 2016.

  1. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades
    Hey all,

    Does anyone have a problem with space being taken up on their VPS? My VPS seems to just meet the limits all on its own. Its a windows VPS and I stopped using Win as a personal computer some time ago for the same reason. They're extremely tedious to manage.

    Im not a computer tech just an advertiser. I got into VPS's about a year ago to start learning and running SEO tools. I've lost quite a bit of hair since then.

    ANy advice for keeping the files to a minimum on your VPS would be greatly appreciated. Ive already done a clean up but only cleared about a GB of space.

    BTW Im runnin

    • 5 CPU
    • 40GB SSD Space
    • 5GB DDR3 Dedicated RAM
     
  2. jamie3000

    jamie3000 Supreme Member

    Joined:
    Jun 30, 2014
    Messages:
    1,414
    Likes Received:
    655
    Occupation:
    Finance coder looking for semi-retirement
    Location:
    uk
    Thought of compressing the disk?
     
  3. Marcoluca56

    Marcoluca56 Newbie

    Joined:
    Apr 1, 2014
    Messages:
    23
    Likes Received:
    0
    which is the problem exactly?
     
  4. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Jr. VIP

    Joined:
    Nov 10, 2012
    Messages:
    12,635
    Likes Received:
    34,811
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
    What is eating the space?
    Is it log files?
    What are you using the VPS for?
    Just Hosting?

    You need to provide more information to get help.
     
  5. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades
    I did mention that I use the VPS for SEO tools and I also mentioned it was the winsxs folder. Forgive me but I am in no way Windows savvy. Its why my question was so empty. I really dont know what I am looking for. What I know is what Ive included.

    I can say that I was running GSA for a while and the debug folder would take up space, but Ive since learned how to keep that down and haven't been running GSA lately anyway. Only Scrapebox, DHG, and Kontent machine for building my own expired properties.



     
  6. davids355

    davids355 Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    10,429
    Likes Received:
    8,128
    Winsxs I think relates to updates? You could reload and then turn updates off - but in conjunction with this I would suggest a) locking down your server and b) being careful what you run. Because an unpatched server is potentially dangerous.

    Also you should look elsewhere for issues - if you haven't already, get a pro trial of treesize by jam software. It will give you a granular overview of file size usage.

    You might find something like logs/temp files or something. Maybe check shadow copies, system restore allocation if it's a client os.

    If that doesn't help then maybe you just need a bigger drive. Sorry if you already said but what is the HDD size and what OS are you running?
     
    • Thanks Thanks x 1
  7. Malcolm Max

    Malcolm Max Regular Member

    Joined:
    Aug 12, 2016
    Messages:
    265
    Likes Received:
    85
    Gender:
    Male
    Occupation:
    Web Development, IM
    OP no matter how horrible windows is, it itself doesn't eat up space with time that much. Make sure you have Systen>System protection disabled for the drive, this System restore files has a history of eating space.

    what left is your seo tools, I would examine each tool and find out where they are storing log/work files. Additionally you may try CCleaner, its quite good at removing junks. Check the appdata and programdata folders to see if your seo tools are keeping their files there.

    Also turn windows update off.
     
  8. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Jr. VIP

    Joined:
    Nov 10, 2012
    Messages:
    12,635
    Likes Received:
    34,811
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:

    Have a look at these for tips on reducing the winsxs folder:
    https://support.microsoft.com/en-gb/kb/2795190
    http://www.ghacks.net/2016/03/14/analyze-the-winsxs-folder/
    http://www.laptopmag.com/articles/clean-winsxs-folder-to-save-space
    http://lmgtfy.com/?q=winsxs

    It isn't caused by the tools but by Windows itself, what OS version are you using? Had the same problem on an older machine years ago but don't really notice it these days with the size of drives.
    Chat to your VPS provider too as it still shouldn't be eating the majority of you disk space.

    Use these tools to analyse your disk space:
    http://www.techsupportalert.com/best-free-disk-space-analyzer.htm
    http://lifehacker.com/5915921/the-best-disk-space-analyzer-for-windows
    http://lmgtfy.com/?q=free+disk+space+tool

    And use these tools to help clean the disk:
    https://www.piriform.com/ccleaner/download
    http://privazer.com/
    https://www.bleachbit.org/
    http://www.nirsoft.net/utils/clean_after_me.html
    http://www.revouninstaller.com/
    http://lmgtfy.com/?q=free+disk+cleaner
     
    • Thanks Thanks x 1
  9. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades
    So I've done a bit more digging around and before I answer other questions would like to address what I've come across. Here are the specs on my VPS again:

    • 5 CPU
    • 40GB SSD Space
    • 5GB DDR3 Dedicated RAM
    I think my issue maybe that i do not understand how the SSD is supposed to operate. I know that with my home computers I store all files on an external hard drive and just the programs on my SSD. Should I be stroing my files elsewhere?

    Moving forward I used TreeSize and found that this folder was quite large....

    pagefile.sys

    https://drive.google.com/file/d/0B_YPZG7IEN9ea0tSNWtKS1BReTg/view?usp=sharing


    Which lead me to this forum and post, talking about deleting the hiberfil.sys and how to.

    http://www.tomshardware.com/forum/15101-63-pagefile-hiberfil-gigantic-filling#12893546

    Is this something I need to do? I cant find that file so Im guessing its not an issue with a VPS? Also interested in the comment in the linked to post:

    "If you need to recover space on the SSD, I would look to move application install directories to the HDD. Loading those applications will be slower since they are on the HDD, but they will run just as fast, because once they load then they are in memory and you won't need your SSD/HDD (except virtual memory (pagefile.sys) which I hope you have left on the SSD)."

    I'm not sure what the application install directories are.

    And what about the pagefile.sys file? It's 5gb. Thats massive! If you look at the above google doc with the SS it will show the date this folder was last updated so that indicates to me it's updating and filling all on its own.


    That winsxs folder does relate to updates and it appears as though the bulk of the files, that begin with amd64, relate to the NET Framework updates (from what I've googled). Check the screenshot from Treesize (my apologies as I included this all in an original post and it wasn't published so i had to re-post it and didn't put a lot of effort):

    https://drive.google.com/file/d/0B_YPZG7IEN9eYmh5NzZVbFI1b1k/view?usp=sharing
    Ive used CCleaner to clean up a lot of the files. But seriously with everything Ive done Ive only cleared up about 5gb. Here's what I've done:

    Disk Clean up
    CCleaner
    Manually deleted and moved files i personally uploaded



    Thanks for all of the resources, but I've literally already read through all of those. Which some, like following the process for Disk Cleanup were pretty easy to understand. But others (one of the links you posted) displayed setting permanent service packs (currently have service pack 1 on Win 7 2008 btw), and I wasn't sure if that was a good idea which lead me to more questions and another rabbit hole of answers.

    As said above I've used CCleaner and Treesize. The main thing is, I don't know what would cause a disruption in the system upon deletion and causes a bit of anxiety before running any cleaner or deletion type program. So I usually leave the defaults and run as is.

    Everytime I contact my VPS provider, their response is "buy more space". But I know for the tasks Im running my VPS is more than capable to run efficiently.
     
  10. Malcolm Max

    Malcolm Max Regular Member

    Joined:
    Aug 12, 2016
    Messages:
    265
    Likes Received:
    85
    Gender:
    Male
    Occupation:
    Web Development, IM
    Pagefile is virtual memory.
     
    • Thanks Thanks x 1
  11. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades
    Lol ok can I clean this file up in any way? It's extremely large
     
  12. Malcolm Max

    Malcolm Max Regular Member

    Joined:
    Aug 12, 2016
    Messages:
    265
    Likes Received:
    85
    Gender:
    Male
    Occupation:
    Web Development, IM
    I am sorry for the short answer.

    You shouldn't completely delete pagefile because its an important part of windows. Whenever your actual ram runs out windows use this space to extend physical ram.

    You can lower the amount of pagefile, its located at System>advance system settings>Advanced>performance>Advance>Virtual Memory.
    Another Tips for you, Disable Hibernation in your VPS, having hibernation enabled will use same space as your RAM size. And disable system restore, it doesn't work half of the times, and waste some space.
     
    • Thanks Thanks x 1
  13. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades

    Thanks, this was actually an answer to one of my questions! That pertains to hiberfil.sys file I spoke about above. I know disabling the hibernation gets rid of that folder, just didn't know if it was wise to do so with my VPS. Ill try it and see what happens.
     
  14. Malcolm Max

    Malcolm Max Regular Member

    Joined:
    Aug 12, 2016
    Messages:
    265
    Likes Received:
    85
    Gender:
    Male
    Occupation:
    Web Development, IM
    Hibernation is useless for VPS because you will never sleep/hibernate the machine, it supposed to be on 24/7.
     
  15. davids355

    davids355 Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    10,429
    Likes Received:
    8,128
    Really I think 40gb is just not really enough space for a server os.

    Best thing is turn off hibernation, maybe reduce pagefile size as stated above, turn off Windows update, make sure shadow copy is off - I can't remember where setting is for that but just google it.

    And maybe also enable disk compression and generally keep a check on your disk usage.

    Also if it possible you should reload the machine and then turn updates off straight away - because it sounds like already updates have installed and taken up fair amount of space.
     
    • Thanks Thanks x 1
  16. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades
    This is another question I have. SSD is much more expensive, and for the same price ($80 a month) I gan get 150 gb of HDD. Which is the better option at this point? Should I switch to HDD?

     
  17. davids355

    davids355 Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    10,429
    Likes Received:
    8,128
    It depends what you are doing and how important speed is for you. BUT I am starting to think that SSD is less important for a vps. Sure they are great in a desktop PC when you want fast boot times, fast data copying etc. But on a vps if you are just running an automation tool or something I don't think there is a massive benefit.
     
    • Thanks Thanks x 1
  18. coolsheet

    coolsheet Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    357
    Likes Received:
    164
    Occupation:
    Being me
    Location:
    The Pleiades
    That was my same assumption, (with my limited knowledge) but maybe someone can comment whether or not it matters when running data mining software.

     
  19. davids355

    davids355 Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    10,429
    Likes Received:
    8,128
    I'm gonna say no - SSD only helps with disk activity but I think with data mining the biggest bottlenecks are going to be bandwidth and waiting for replies from the sites you are mining.
    Especially when you add proxies into the mix which are generally much slower, then the time it takes to query for and get data returned is going to be far slower than the time it takes to write that data to disk.
     
    • Thanks Thanks x 1