(Solved) Storage Servers Problem In Size

worldofpcgames46668

Member
YetiShare User
YetiShare Supporter
Jul 28, 2017
65
11
8
Last edited:

ollie

Member
YetiShare User
Apr 25, 2013
76
5
8
United Kingdom
Are the cron jobs set up correctly on the file servers? How is your action queue looking? /admin/file_manage_action_queue.php
 

worldofpcgames46668

Member
YetiShare User
YetiShare Supporter
Jul 28, 2017
65
11
8
Yes cron jobs are working properly fine or atleast thats what seems, the queue are processed properly fine.

This issue i think happened when i deleted an entire account of a user of 4 TB data, i clicked on the delete button but it took time as it was a big account so i closed the page without letting the process be done and then i opened his account page again and clicked delete, i though it wasnt working so i went and deleted some files manually and then the account vanished.

May be this could have caused the issue i dont know, the crons are working perfectly tho.
 

ollie

Member
YetiShare User
Apr 25, 2013
76
5
8
United Kingdom
Hmm probably.

The only thing i can think of is to create another file server then use the "Move" feature to migrate the live files, then delete the old server. http://prntscr.com/lspxjl

Not used this feature myself so not sure how reliable it is. I would do a bit at a time if you go ahead with it.

Also just to let you know, you've hidden your server name in the first screenshot but leaked it in the second terminal one :)
 
Last edited:
  • Like
Reactions: worldofpcgames46668

worldofpcgames46668

Member
YetiShare User
YetiShare Supporter
Jul 28, 2017
65
11
8
Thank you for the server hint, i have changed the image.

I am not sure what to do, lets wait for adam and may be he can find a reliable fix.,
 
  • Like
Reactions: ollie

adam

Administrator
Staff member
Dec 5, 2009
1,795
32
48
mfscripts.com
Hello, i am having issue with my Direct file servers.

The space used in the admin panel is different than the actual space utilized on the server.

1st Server: http://prntscr.com/lsn81n Now look at the NCDU output http://prntscr.com/lsn85j

2nd Server: http://prntscr.com/lsn8fr Now look at the NCDU output http://prntscr.com/lsq079

The same issue i have with other 2 servers.

Please help me by giving a clue where to start looking.
Hi,

The difference is normally within these 3 folders:

/files/_tmp
/files/_deleted
/files/_backup


_deleted you can manually clear the contents and it wont impact anything. _backup items you can clear if you no longer need them. _tmp I would clear anything older than 1 hour.

If that still doesn't match with the script total storage, try using the script located here:

/admin/_test_scripts/test_sanity_check_files.php

You'll need to run it on the command line on each server like this:

php test_sanity_check_files.php

It should check the files you have on your file system vs the database and flag any orphaned ones.

It's been a while since I've looked at the script so let me know if you have any issues.

Thanks,
Adam.
 
  • Like
Reactions: ollie

worldofpcgames46668

Member
YetiShare User
YetiShare Supporter
Jul 28, 2017
65
11
8
Hi,

The difference is normally within these 3 folders:

/files/_tmp
/files/_deleted
/files/_backup


_deleted you can manually clear the contents and it wont impact anything. _backup items you can clear if you no longer need them. _tmp I would clear anything older than 1 hour.

If that still doesn't match with the script total storage, try using the script located here:

/admin/_test_scripts/test_sanity_check_files.php

You'll need to run it on the command line on each server like this:

php test_sanity_check_files.php

It should check the files you have on your file system vs the database and flag any orphaned ones.

It's been a while since I've looked at the script so let me know if you have any issues.

Thanks,
Adam.


Thank you very very much adam, once again you saved me lots of trouble. I even went and purchase another server i wish i knew this earlier. Thank you very much :):):)

I got free space of around 1 TB in each server.
 
  • Like
Reactions: adam