WXforum.net

Web Weather => Weather Web Site Help => Topic started by: mkutche on February 19, 2018, 10:07:26 PM

Title: This crazy error...
Post by: mkutche on February 19, 2018, 10:07:26 PM
I goto my website, www.gosportwx.com and get this...
Code: [Select]
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..
Title: Re: This crazy error...
Post by: mkutche on February 19, 2018, 10:17:17 PM
I guess its the file usage?? File Usage
250,044 / 250,000

but when I goto upgrade it won't show anything to upgrade..
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 04:24:24 AM
Anyway to fix this??
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 08:45:46 AM
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?
Title: Re: This crazy error...
Post by: CNYWeather on February 20, 2018, 08:56:11 AM
Whats on line 353 of your Settings.php file?
Title: Re: This crazy error...
Post by: wvdkuil on February 20, 2018, 09:18:53 AM
Whats on line 353 of your Settings.php file?
Code: [Select]
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
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 11:06:29 AM
I guess I will need to upgrade but cant do that until I get paid Friday.
Title: Re: This crazy error...
Post by: wvdkuil on February 20, 2018, 11:54:45 AM
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
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 12:03:05 PM
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.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 12:09:18 PM
The only folder I found was tmp
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 12:10:50 PM
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.
Title: Re: This crazy error...
Post by: wvdkuil on February 20, 2018, 12:12:30 PM
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
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 12:14:12 PM
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.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 12:23:02 PM
Ok so I deleted the 2 files sess_31878b78c9e16fb6064d8387c32e7dfa, O_RDWR  that was in my tmp folder think I fixed it
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 12:35:30 PM
Still showing the errors, unfortunately.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 12:44:49 PM
Still showing the errors, unfortunately.

Hmm Idk then

I have the economy package its the file resource thats high
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 01:24:37 PM
I have economy package could it be because i have http://gosportwx.com/PWS/ and http://gosportwx.com/j-template ??
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 01:45:26 PM
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.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 01:55:07 PM
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?
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 02:11:24 PM
I cant upgrade anyway max is 250,000 files Idk what I'm gonna do
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 02:27:51 PM
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.
Title: Re: This crazy error...
Post by: wvdkuil on February 20, 2018, 03:03:20 PM
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

Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 04:37:58 PM
Here is what is in the /tmp folder http://prntscr.com/ihjd4b (http://prntscr.com/ihjd4b)
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 04:46:02 PM
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..
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 05:01:11 PM
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.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:04:04 PM
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 ..
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 05:05:26 PM
Hopefully that solves the problem.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:11:14 PM
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
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 05:16:11 PM
Glad you found the issue. Can you set the CRON to only mail you if there is a problem?
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:17:25 PM
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. :)
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 05:18:56 PM
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.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:20:32 PM
Much better!
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:21:42 PM
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
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:23:08 PM
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/
Title: Re: This crazy error...
Post by: Maumelle Weather on February 20, 2018, 05:29:35 PM
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.
Title: Re: This crazy error...
Post by: mkutche on February 20, 2018, 05:33:23 PM
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