Hard to say what started the original "pile up" without seeing the log. It
could be a failing disk: you didn't say whether this was an SD card, but I
suppose not.

-tk

On Wed, Nov 30, 2016 at 1:37 PM, wep11 <[email protected]> wrote:

> Okay, I fixed it! I'll list what I did:
>
> 1.) I ran the command ./wee_database ../weewx.conf --backfill-daily which
> in all likelihood did nothing
> 2.) I attempted to stop weewx. This wasn't happening because, as you
> pointed out, our weewx processes were backing up out the door.
> 3.) I rebooted and found out that I haven't logged data since I started
> messing with this around 3:15PM, so I waited for that to backlog
> 4.) While I was waiting, I went in to reduce the number of plots (I want
> another computer to handle this anyways)
> 5.) After the database was done backfilling, the two NOAA reports were
> generated no problem
>
> I have a suspicion that it was the pile-up of requests that you noticed,
> but I also don't know if anything else I did played a role. Any ideas on
> what the deal was? And thanks for pointing me in the right direction.
>
> Thanks for the help!
>
> On Wednesday, November 30, 2016 at 4:15:33 PM UTC-5, Tom Keffer wrote:
>>
>> Well, unless your archive interval is longer than 1991 seconds, you're
>> going to run into problems. The next archive record is coming due before
>> the last one has been processed, leading to thrashing and reports that are
>> ever more behind.
>>
>> Your machine is being asked to do too much. Even on my 10 year old Fit-PC
>> with its antique 500 MHz Geode processor, it only takes 3 seconds or so.
>>
>> How long since you restarted weewx?
>>
>> Let's try an experiment: set debug=1, then restart weewx. Let it run
>> through your first archive report (5 minutes? 10 minutes?). Send the log
>> from the restart.
>>
>> -tk
>>
>> On Wed, Nov 30, 2016 at 1:03 PM, wep11 <[email protected]> wrote:
>>
>>> Yes, the file /home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl
>>> definitely exists with no special hidden characters in its name.
>>>
>>> This is Weewx V.3.6.2 , I just upgraded today from 3.4.0 but the problem
>>> has existed for a while now. The error is very consistent, I think it is
>>> occurring each time. I haven't seen the yearly report this year at all, and
>>> this month's report only stopped working a few weeks ago.
>>>
>>> Yeah, the machine we're proudly running on is a Xeon dual core machine
>>> with about 2 GB of RAM. I suspect the reason for such a long generation
>>> time is that the computer is pretty much the flagship for our website
>>> weather.uncc.edu (albeit an old steamer compared to a speed boat).
>>>
>>> Thanks
>>>
>>> On Wednesday, November 30, 2016 at 3:49:07 PM UTC-5, Tom Keffer wrote:
>>>>
>>>> Just to confirm: you are saying that the file
>>>> /home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl exists?
>>>>
>>>> What version of weewx?
>>>>
>>>> Does it give this error every time? Or, just occasionally?
>>>>
>>>> I should also note that your time to generate 12 images, 1991 seconds,
>>>> or over half an hour, is exceptionally long. This may  be a sign of a
>>>> failing disk. What is this being run on? Does it use an SD card, or a hard
>>>> disk?
>>>>
>>>> -tk
>>>>
>>>> On Wed, Nov 30, 2016 at 12:27 PM, wep11 <[email protected]> wrote:
>>>>
>>>>> Hi Everyone,
>>>>>
>>>>> I am having trouble getting this month's report and yearly report
>>>>> written. The following is coming out:
>>>>>
>>>>> Nov 30 15:24:32 WxDisPC-3 weewx[1774]: genimages: Generated 12 images
>>>>> for StandardReport in 1991.13 seconds
>>>>> Nov 30 15:24:32 WxDisPC-3 weewx[1774]: reportengine: copied 0 files to
>>>>> /home/weewx/public_html
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: cheetahgenerator: Generate
>>>>> failed with exception '<type 'exceptions.OSError'>'
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Ignoring
>>>>> template /home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Reason:
>>>>> [Errno 2] No such file or directory
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: ****  Traceback (most recent
>>>>> call last):
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: ****    File
>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 301, in generate
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: ****      except os.error:
>>>>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: ****  OSError: [Errno 2] No
>>>>> such file or directory
>>>>>
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: cheetahgenerator: Generate
>>>>> failed with exception '<type 'exceptions.OSError'>'
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Ignoring
>>>>> template /home/weewx/skins/Standard/NOAA/NOAA-YYYY-MM.txt.tmpl
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Reason:
>>>>> [Errno 2] No such file or directory
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: ****  Traceback (most recent
>>>>> call last):
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: ****    File
>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 301, in generate
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: ****      except os.error:
>>>>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: ****  OSError: [Errno 2] No
>>>>> such file or directory
>>>>>
>>>>> Any ideas why the file is being reported as not existing? I can
>>>>> confirm that it does indeed exist. Permissions error perhaps?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "weewx-user" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to