A few questions for you:
- why do you believe weectl import is the cause of your memory leak 
problem? 
- what does the WeeWX log say? 
- what do you mean by "I have now seen that the weectl import service is 
not stopped". weectl import is a plain ordinary python utility that is run 
from the command line, it is not a WeeWX (or system) service.
- regards your second post, I'm not seeing anything unusual there: weectl 
import was run and appears to have completed execution normal, then ctl-C 
seems to have been pressed. Exactly what did you do (ie commands entered, 
keys pressed)?

Gary
On Tuesday 23 July 2024 at 05:15:49 UTC+10 sebastian...@googlemail.com 
wrote:

>
> One more note
> The message appears after cancellation
>
>
> Finished calculating missing derived observations
> Finished import
> 248 records were processed and 248 unique records imported in 0.42 seconds.
>
> Those records with a timestamp already in the archive will not have been
> imported. Confirm successful import in the weectl log file.
> ^CException ignored in: <module 'threading' from 
> '/usr/lib/python3.11/threading.py'>
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/threading.py", line 1590, in _shutdown
>     lock.acquire()
> KeyboardInterrupt:
> root@weewx5:~#
>
> Sebastian E schrieb am Montag, 22. Juli 2024 um 13:56:45 UTC+2:
>
>> Hello everyone, I currently have the problem that my RAM is regularly 
>> full and I have to restart the server. 
>>
>> I have now seen that the weectl import service is not stopped. I'm 
>> attaching the output. Does anyone have an idea what this Area 31 30 means? 
>> That's where it seems to hang. Thank you
>>
>>
>> root@weewx5:~# weectl import 
>> --import-config=/etc/weewx/import/wu-example.conf --no-prompt --verbose
>> Using configuration file /etc/weewx/weewx.conf
>> Starting weectl import...
>> Observation history for Weather Underground station 'I*****' will be 
>> imported.
>> The following options will be used:
>> config=/etc/weewx/weewx.conf, 
>> import-config=/etc/weewx/import/wu-example.conf
>> station=I******, from=None, to=None
>> apiKey=******************************
>> dry-run=False, calc_missing=True, ignore_invalid_data=True
>> tranche=250, interval=5, wind_direction=[0.0, 360.0]
>> Using database binding 'wx_binding', which is bound to database 
>> 'weewx.sdb'
>> Destination table 'archive' unit system is '0x10' (METRIC).
>> The following imported field-to-WeeWX field map will be used:
>> source field 'epoch' in units 'unix_epoch' --> WeeWX field 'dateTime'
>> source field 'tempAvg' in units 'degree_F' --> WeeWX field 'outTemp'
>> source field 'humidityAvg' in units 'percent' --> WeeWX field 
>> 'outHumidity'
>> source field 'dewptAvg' in units 'degree_F' --> WeeWX field 'dewpoint'
>> source field 'heatindexAvg' in units 'degree_F' --> WeeWX field 
>> 'heatindex'
>> source field 'windchillAvg' in units 'degree_F' --> WeeWX field 
>> 'windchill'
>> source field 'pressureAvg' in units 'inHg' --> WeeWX field 'barometer'
>> source field 'precipTotal' in units 'inch' --> WeeWX field 'rain'
>> (source field 'precipTotal' will be treated as a cumulative value)
>> source field 'precipRate' in units 'inch_per_hour' --> WeeWX field 
>> 'rainRate'
>> source field 'windspeedAvg' in units 'mile_per_hour' --> WeeWX field 
>> 'windSpeed'
>> source field 'winddirAvg' in units 'degree_compass' --> WeeWX field 
>> 'windDir'
>> source field 'windgustHigh' in units 'mile_per_hour' --> WeeWX field 
>> 'windGust'
>> source field 'solarRadiationHigh' in units 'watt_per_meter_squared' --> 
>> WeeWX field 'radiation'
>> source field 'uvHigh' in units 'uv_index' --> WeeWX field 'UV'
>> Missing derived observations will be calculated.
>> Starting import ...
>> Records covering multiple periods have been identified for import.
>> Obtaining raw import data for period 1 ...
>> Raw import data read successfully for period 1.
>> Mapping raw import data for period 1 ...
>> Mapped 139 records.
>> Raw import data mapped successfully for period 1.
>> Saving mapped data to archive for period 1 ...
>> 139 records identified for import.
>> Unique records processed: 139; Last timestamp: 2024-07-22 11:34:52 CEST 
>> (1721640892)
>> Mapped data saved to archive successfully for period 1.
>> Calculating missing derived observations ...
>> Processing record: 140; Last record: 2024-07-23 00:00:00 CEST (1721685600)
>> Recalculating daily summaries...
>> Finished recalculating daily summaries
>> Finished calculating missing derived observations
>> Finished import
>> 139 records were processed and 139 unique records imported in 0.28 
>> seconds.
>> Those records with a timestamp already in the archive will not have been
>> imported. Confirm successful import in the weectl log file.
>> area 30 31
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/022cef90-c426-4184-b48f-78f97ba47d09n%40googlegroups.com.

Reply via email to