WXforum.net
Web Weather => Weather Web Site Help => Topic started by: mkutche on February 19, 2018, 10:07:26 PM
-
I goto my website, www.gosportwx.com and get this...
Warning: session_start(): open(/tmp/sess_31878b78c9e16fb6064d8387c32e7dfa, O_RDWR) failed: Disk quota exceeded (122) in /home/hj2ke8lfpx43/public_html/Settings.php on line 353
Warning: session_start(): Failed to read session data: files (path: ) in /home/hj2ke8lfpx43/public_html/Settings.php on line 353
Warning: Cannot modify header information - headers already sent by (output started at /home/hj2ke8lfpx43/public_html/Settings.php:353) in /home/hj2ke8lfpx43/public_html/top.php on line 43
My host is godaddy but it says I haven't used that much space..
-
I guess its the file usage?? File Usage
250,044 / 250,000
but when I goto upgrade it won't show anything to upgrade..
-
Anyway to fix this??
-
Hi Mike,
That error means you are out of disk space for your plan, I believe. Are there any temporary or log files you can delete to free up some space?
-
Whats on line 353 of your Settings.php file?
-
Whats on line 353 of your Settings.php file?
session_start(); // for preservation of language settings.
There is no disk problem for the normal files. All kind of cache files are saved during the execution of the main-page.
Forecast data, curly warnings and so on.
Only the session data can not be saved.
And that session data is stored in /temp/ which is outside the scope of the website itself.
Maybe when using the godaddy cpanel/filemanager you can inspect the contents of the /temp/ folder and see what is stored there.
If not, you have to contact support as your disk-quota is not used 100%.
It is their disk-quota, the /temp/ folder is normally used by all clients on that server, not only by gosportwx.com
Wim
-
I guess I will need to upgrade but cant do that until I get paid Friday.
-
I guess I will need to upgrade but cant do that until I get paid Friday.
I do not understand this.
Your scripts work fine they save data in the cache/ folder on your website.
The only folder with a problem is the /temp/ folder.
Godaddy support should first explain what is in that folder if you can not inspect that folder yourself.
If you have access to that folder you can empty it, it should only be forgotten temporary files.
Probably it is not your data at all.
Wim
-
I guess I will need to upgrade but cant do that until I get paid Friday.
I do not understand this.
Your scripts work fine they save data in the cache/ folder on your website.
The only folder with a problem is the /temp/ folder.
Godaddy support should first explain what is in that folder if you can not inspect that folder yourself.
If you have access to that folder you can empty it, it should only be forgotten temporary files.
Probably it is not your data at all.
Wim
Ya I chatted with support all he said was I needed to upgrade to deluxe for unlimited storage.. I will actually call them when i get off work and see where I go from there.
-
The only folder I found was tmp
-
I guess I will need to upgrade but cant do that until I get paid Friday.
I do not understand this.
Your scripts work fine they save data in the cache/ folder on your website.
The only folder with a problem is the /temp/ folder.
Godaddy support should first explain what is in that folder if you can not inspect that folder yourself.
If you have access to that folder you can empty it, it should only be forgotten temporary files.
Probably it is not your data at all.
Wim
Ya I chatted with support all he said was I needed to upgrade to deluxe for unlimited storage.. I will actually call them when i get off work and see where I go from there.
You should not have to pay them more for storage you aren't using. What FTP software do you use to upload files to your website? If using Filezilla, look under Server on the taskbar and check "Force showing hidden files". This should allow you to see everything on your part of the server you can access and see if you can find this "temp" folder and see what's in it.
-
The only folder I found was tmp, sorry for the typo.
That is the one to check, this is the error from the first post:
open(/tmp/sess_31878b78c9e16fb6064d8387c32e7dfa, O_RDWR) failed:
What is in that folder, are it your files and do you need them?
Wim
-
The only folder I found was tmp, sorry for the typo.
That is the one to check, this is the error from the first post:
open(/tmp/sess_31878b78c9e16fb6064d8387c32e7dfa, O_RDWR) failed:
What is in that folder, are it your files and do you need them?
Wim
Ok I will check when I get home.
-
Ok so I deleted the 2 files sess_31878b78c9e16fb6064d8387c32e7dfa, O_RDWR that was in my tmp folder think I fixed it
-
Still showing the errors, unfortunately.
-
Still showing the errors, unfortunately.
Hmm Idk then
I have the economy package its the file resource thats high
-
I have economy package could it be because i have http://gosportwx.com/PWS/ and http://gosportwx.com/j-template ??
-
Hi Mike,
Another thought. Do you have access to your server logs? There could be a script that is hung or a bot has a page hung, etc.
I had this issue where bots were swarming my site, causing excessively high CPU usage. I have since implemented a .htaccess file to quell this.
-
Hi Mike,
Another thought. Do you have access to your server logs? There could be a script that is hung or a bot has a page hung, etc.
I had this issue where bots were swarming my site, causing excessively high CPU usage. I have since implemented a .htaccess file to quell this.
Where do I find those at?
-
I cant upgrade anyway max is 250,000 files Idk what I'm gonna do
-
Hi Mike,
Another thought. Do you have access to your server logs? There could be a script that is hung or a bot has a page hung, etc.
I had this issue where bots were swarming my site, causing excessively high CPU usage. I have since implemented a .htaccess file to quell this.
Where do I find those at?
There will be a folder called logs, or something close to that. It could be located here /home/hj2ke8lfpx43/public_html/, or /home/hj2ke8lfpx43/, or /home/. One of those 3 directories should contain the log folder.
There could be an option to see the log files from within the control panel, or at least access them.
-
I cant upgrade anyway max is 250,000 files Idk what I'm gonna do
How many files are in the /tmp/ folder?
Do you really need them.
250.000 files is far, far more then all files in the three templates you use combined.
If it is not the /tmp/ folder, maybe it is a runaway cache/ folder with far to many webcam shots. Or trillions of old weather-warnings from the curly scripts.
Wim
-
Here is what is in the /tmp folder http://prntscr.com/ihjd4b (http://prntscr.com/ihjd4b)
-
I cant upgrade anyway max is 250,000 files Idk what I'm gonna do
How many files are in the /tmp/ folder?
Do you really need them.
250.000 files is far, far more then all files in the three templates you use combined.
If it is not the /tmp/ folder, maybe it is a runaway cache/ folder with far to many webcam shots. Or trillions of old weather-warnings from the curly scripts.
Wim
When I goto new mail its loading slow but it has alot of this in it.. http://prntscr.com/ihjgsf (http://prntscr.com/ihjgsf) but it wont let me delete..
-
Hmmm....
That could be part of the issue right there. There ought to be a way to delete those inbox files, especially if you aren't using them. How many are in there, by chance?
Also, do you have a folder in your public_html directory called "alertlog"? If so, see what is in there, and if there is anything, delete it, and see if that makes any difference.
In that screen shot, there is a folder called logs. Look and see if there are files/folders in there.
-
Hmmm....
That could be part of the issue right there. There ought to be a way to delete those inbox files, especially if you aren't using them. How many are in there, by chance?
Also, do you have a folder in your public_html directory called "alertlog"? If so, see what is in there, and if there is anything, delete it, and see if that makes any difference.
In that screen shot, there is a folder called logs. Look and see if there are files/folders in there.
Loads of files in that "mail" folder I called support he said that's the problem and to delete those. So I'm deleting those atm hopefully the guy is right ..
-
Hopefully that solves the problem.
-
Hopefully that solves the problem.
Yep that is the problem its somethin to do with Cron the way I have it setup http://prntscr.com/ihjgsf (http://prntscr.com/ihjgsf) but idk how to use godaddy cron for j-template.. ignore the other cron i had goin
-
Glad you found the issue. Can you set the CRON to only mail you if there is a problem?
-
Glad you found the issue. Can you set the CRON to only mail you if there is a problem?
im not sure i thought i used another cron site besides godaddy but i will look into that once im done with this problem. :)
-
I am using easycron.com for mine and like it a bunch. Cost is $20 a year. I use it for NWS Alerts, River updates, Blitzortung lightning updates, etc.
-
Much better!
-
I am using easycron.com for mine and like it a bunch. Cost is $20 a year. I use it for NWS Alerts, River updates, Blitzortung lightning updates, etc.
I use something i just can't remember the name of it LOL
-
I am using easycron.com for mine and like it a bunch. Cost is $20 a year. I use it for NWS Alerts, River updates, Blitzortung lightning updates, etc.
I use something i just can't remember the name of it LOL
OK found it i use https://cron-job.org/en/
-
I am using easycron.com for mine and like it a bunch. Cost is $20 a year. I use it for NWS Alerts, River updates, Blitzortung lightning updates, etc.
I use something i just can't remember the name of it LOL
OK found it i use https://cron-job.org/en/
I have my NWS Alerts to update every 5 minutes normally, but when I know severe weather is about, I activate another CRON to update every 2 minutes, which is as fastas the NWS updates. My Blitzortung updates every 5 minutes, and my River Forecast page updates every 20 minutes.
-
I am using easycron.com for mine and like it a bunch. Cost is $20 a year. I use it for NWS Alerts, River updates, Blitzortung lightning updates, etc.
I use something i just can't remember the name of it LOL
OK found it i use https://cron-job.org/en/
I have my NWS Alerts to update every 5 minutes normally, but when I know severe weather is about, I activate another CRON to update every 2 minutes, which is as fastas the NWS updates. My Blitzortung updates every 5 minutes, and my River Forecast page updates every 20 minutes.
Cool, I'm usually at work when bad weather hits lol