Author Topic: number of files exceeded  (Read 541 times)

Offline Sam_78

  • Full Member
  • ***
  • Posts: 170
  • Karma: +30/-1
    • View Profile
number of files exceeded
« on: October 30, 2018, 04:48:55 PM »
Hi I am hosting my site on godaddy and they have limit of maximum 250,000 files and AbanteCart cart has used 250,033 files and now I am not able to add any product in my cart or login to backend to clear cache. Can you tell me which files to delete my site is down. also how to avoid this situation as I think I am doing something wrong there can not be 250k files

I also noticed one strange thing inside thumbnail all my folders has index.php file that has this <?php die('Restricted Access!'); ?>  just one line.
« Last Edit: October 30, 2018, 05:35:05 PM by Sam_78 »

Offline natdroid

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +27/-2
    • View Profile
    • Contact
Re: number of files exceeded
« Reply #1 on: October 31, 2018, 01:48:16 AM »
Change to hosting for humans  ;D  without files limit https://goo.gl/CDePDg

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4096
  • Karma: +202/-0
    • View Profile
Re: number of files exceeded
« Reply #2 on: October 31, 2018, 04:33:30 AM »
Hello.

Even if you remove some core files more files created with cache or image thumbnails while visitors browsing your site or when you add more products
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Sam_78

  • Full Member
  • ***
  • Posts: 170
  • Karma: +30/-1
    • View Profile
Re: number of files exceeded
« Reply #3 on: November 01, 2018, 09:12:17 AM »
ok so this many files is normal? I thought I did something wrong. I will change my hosting then.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4096
  • Karma: +202/-0
    • View Profile
Re: number of files exceeded
« Reply #4 on: November 01, 2018, 11:55:27 AM »
Clean the caches, check if you have anything else installed
“Chuck Norris is so amazing.”
― Mother Teresa

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1428
  • Karma: +368/-2
    • View Profile
Re: number of files exceeded
« Reply #5 on: November 01, 2018, 12:20:27 PM »

Your file count includes everything on your account, emails, files, folders, anything you store on the server account.You might look at your emails  -  I find a lot of my clients do a poor job is keeping their email accounts well managed.
Each email  is a file count of 1. Adds up quickly.

Offline Sam_78

  • Full Member
  • ***
  • Posts: 170
  • Karma: +30/-1
    • View Profile
Re: number of files exceeded
« Reply #6 on: November 01, 2018, 05:09:09 PM »
Ok so I upgraded my plan now I have enough space but still my site is down

following are some errors I get:
2018-11-01 20:52:15 - App Error:  AbanteCart core v.1.2.12 Error: Unable to identify file path to template common/footer_top.tpl! Check blocks in the layout or enable debug mode to get more details. 10002 in /home/gwp0npxrqelo/public_html/core/engine/view.php on line 317
2018-11-01 20:52:16 - warning:  AbanteCart core v.1.2.12 session_start(): open(/tmp/sess_9ab85bdb677f8e2d6521792071, O_RDWR) failed: Disk quota exceeded (122) in <b>/home/gwp0npxrqelo/public_html/core/lib/session.php</b> on line <b>107</b>
2018-11-01 20:52:16 - warning:  AbanteCart core v.1.2.12 session_start(): Failed to read session data: files (path: /tmp) in <b>/home/gwp0npxrqelo/public_html/core/lib/session.php</b> on line <b>107</b>
2018-11-01 20:52:16 - warning:  AbanteCart core v.1.2.12 session_start(): open(/tmp/sess_9ab85bdb6780975d9457581934, O_RDWR) failed: Disk quota exceeded (122) in <b>/home/gwp0npxrqelo/public_html/core/lib/session.php</b> on line <b>114</b>
2018-11-01 20:52:16 - warning:  AbanteCart core v.1.2.12 session_start(): Failed to read session data: files (path: /tmp) in <b>/home/gwp0npxrqelo/public_html/core/lib/session.php</b> on line <b>114</b>
2018-11-01 20:52:16 - warning:  AbanteCart core v.1.2.12 fopen(/home/gwp0npxrqelo/public_html/system/cache/localization/676447828e39abeabf3cbb976903648f.php): failed to open stream: Disk quota exceeded in <b>/home/gwp0npxrqelo/public_html/core/cache/file.php</b> on line <b>125</b>
2018-11-01 20:52:16 - App Error:  AbanteCart core v.1.2.12 Error: Unable to identify file path to template common/footer_top.tpl! Check blocks in the layout or enable debug mode to get more details. 10002 in /home/gwp0npxrqelo/public_html/core/engine/view.php on line 317

I have attached my resources image

I still can't login to my backend


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4096
  • Karma: +202/-0
    • View Profile
Re: number of files exceeded
« Reply #7 on: November 02, 2018, 01:29:54 AM »
Hello.

In your log
failed: Disk quota exceeded

This is answer from server. Contact your hosting support
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Sam_78

  • Full Member
  • ***
  • Posts: 170
  • Karma: +30/-1
    • View Profile
Re: number of files exceeded
« Reply #8 on: November 02, 2018, 09:04:23 AM »
Yes this was server issue they fixed it.
General question though how many files should be there with about 5,000 product? and I only have AbanteCart on this server.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4096
  • Karma: +202/-0
    • View Profile
Re: number of files exceeded
« Reply #9 on: November 06, 2018, 12:28:19 AM »
Default installation with demo products it is about 12 000 files
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Sam_78

  • Full Member
  • ***
  • Posts: 170
  • Karma: +30/-1
    • View Profile
Re: number of files exceeded
« Reply #10 on: November 06, 2018, 09:18:49 AM »
Yes I saw that but lets say my site is live for 6 months and I had 10,000 visitors till date and I have 5,000 products and I have about 250,000 files is this number right?

I am worried because I have added a custom cron job script that runs every minute and not sure if that is making files every minute. That cron job just sends me an email it doesn't do anything fancy though.

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1428
  • Karma: +368/-2
    • View Profile
Re: number of files exceeded
« Reply #11 on: November 06, 2018, 10:21:12 AM »
You can do some researching on your own using cPanel. This will easily display all the files (doesn't count)  but shows the disk usage size.  But it can give you some quick answers to some of your questions. 

 On your cPanel  in the Files section  find  Disk Usage
This interface displays the following disk space usage summaries:
 
  • Files that your home directory contains.
  • Files that exist in hidden subdirectories.
  • Mailing lists that Mailman manages.
  • Files that your home directory does not contain.
 
Scroll down the page until you see Sort Directories by:
Click on the > (not the folder name) to expand for more details.   This can be several levels deep.
If you click on the file name it will take you to the file manager.
We have one client (dropshipper)  that has 9000+ items most with 2 images associated,  and run three different cron jobs many times during the day -  and there is a little over 100,000 files in that account.

 

 

Powered by SMFPacks Social Login Mod