Jetzt habe ich die Sache mal ein paar Tage beobachtet.
Bei CUtils habe ich keine Unregelmäßigkeiten beobachen können, alle 10 Minuten wird ein Logfile geschrieben.
Anschl. wurde in HTOP der Speicher wieder freigegeben.
Bei CumulusMX jedoch erhöhte sich der Speicherbedarf immer weiter.
Um 17:30 Uhr wurde bei HTOP weiterhin 22 Task mit einem
VIRT Speicher von 2121M und bei RES 2064M angezeigt.
Eine Stunde später wurde CumulusMX neu gestartet:
Das sind die letzten Zeilen vor dem Neustart:
Code: Alles auswählen
2023-08-21 18:46:00.342 FTP[39]: Error uploading realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2023-08-21 18:46:00.342 FTP[39]: Inner Exception: Insufficient memory to continue the execution of the program.
2023-08-21 18:46:00.342 Realtime[39]: End cycle
2023-08-21 18:46:00.446 Interval: Creating standard web files
2023-08-21 18:46:00.446 Current CPU temp = 44,3°C
2023-08-21 18:46:00.447 Interval: Done creating standard Data file
2023-08-21 18:46:00.447 Interval: Creating graph data files
2023-08-21 18:46:00.453 !!! Unhandled Exception !!!
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at (wrapper alloc) System.Object.AllocVector(intptr,intptr)
at System.Text.StringBuilder..ctor (System.String value, System.Int32 startIndex, System.Int32 length, System.Int32 capacity) [0x00099] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Text.StringBuilder..ctor (System.String value, System.Int32 capacity) [0x0000f] in <d636f104d58046fd9b195699bcb1a744>:0
at CumulusMX.WeatherStation.GetTempGraphData (System.Boolean incremental, System.Boolean local, System.Nullable`1[T] start) [0x0000d] in <b0ae9ad91692488da7ace3260fd3c598>:0
at CumulusMX.WeatherStation.CreateGraphDataJson (System.String filename, System.Boolean incremental) [0x002c9] in <b0ae9ad91692488da7ace3260fd3c598>:0
at CumulusMX.WeatherStation.CreateGraphDataFiles () [0x0004e] in <b0ae9ad91692488da7ace3260fd3c598>:0
at CumulusMX.Cumulus.DoHTMLFiles () [0x000f9] in <b0ae9ad91692488da7ace3260fd3c598>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x00007] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <d636f104d58046fd9b195699bcb1a744>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0
2023-08-21 18:46:00.854 Reading live data
2023-08-21 18:46:00.857 DoCommand(CMD_GW1000_LIVEDATA): Valid response
2023-08-21 18:46:00.857 Received: FF-FF-27-00-7A-01-01-15-06-37-08-27-B9-09-27-EF-02-01-16-07-33-0A-00-7D-0B-00-00-0C-00-0B-15-00-02-E0-7C-16-00-00-17-00-1A-01-17-22-37-1B-01-12-23-3B-1C-01-0B-24-3D-1D-01-18-25-39-1E-01-2B-26-46-62-00-00-00-00-61-64-DD-52-55-60-22-19-00-55-0E-00-00-10-00-00-11-00-00-12-00-00-04-45-13-00-00-16-93-0D-00-00-63-00-E3-4A-70-01-1E-38-00-25-00-26-00-1F-00-21-00-00-00-08-06-60
2023-08-21 18:46:00.857 WH45 CO₂: Decoding...
2023-08-21 18:46:00.857 WH45 CO₂: temp=28,6, hum=56, pm10=3,7, pm10_24h=3,8, pm2.5=3,1, pm2.5_24h=3,3, CO₂=0, CO₂_24h=8
2023-08-21 18:46:00.857 LiveData: Wind Decode >> Last=0,0, LastDir=125, Gust=4,0, (MXAvg=1,9)
und das die ersten Zeilen nach dem Neustart:
Code: Alles auswählen
2023-08-21 18:46:17.491 ========================== Cumulus MX starting ==========================
2023-08-21 18:46:17.496 Command line: /usr/lib/mono/4.5/mono-service.exe -d:/opt/CumulusMX CumulusMX.exe -service
2023-08-21 18:46:17.496 Cumulus MX v.3.26.0 build 3248
2023-08-21 18:46:17.498 Mono version : 6.12.0.200 (tarball Tue Jul 11 21:54:54 UTC 2023)
2023-08-21 18:46:17.621 Platform : Unix
2023-08-21 18:46:17.625 OS Description : Unix 5.10.103.7
2023-08-21 18:46:17.625 Current culture: German (Germany) [de-DE]
2023-08-21 18:46:17.625 Running as a 32 bit process
2023-08-21 18:46:17.632 Checking required folders
2023-08-21 18:46:17.740 Reading Cumulus.ini file
2023-08-21 18:46:17.782 AvgSpdMins=10 AvgSpdTime=00:10:00
2023-08-21 18:46:17.804 Cumulus start date Parsed: 2015-01-01
2023-08-21 18:46:17.924 Reading Cumulus.ini file completed
2023-08-21 18:46:17.927 Creating lock file /tmp/cumulusmx-8998.lock
2023-08-21 18:46:17.957 Stop second instance: No other running instances of Cumulus found
2023-08-21 18:46:17.961 Create FTP log file: FTP-20230821-184617.txt
2023-08-21 18:46:17.963 Directory separator=[/] Decimal separator=[,] List separator=[;]
2023-08-21 18:46:17.963 Date separator=[.] Time separator=[:]
2023-08-21 18:46:17.963 Standard time zone name: CET
2023-08-21 18:46:17.963 Daylight saving time name: CEST
2023-08-21 18:46:17.973 Daylight saving time? True
2023-08-21 18:46:17.976 21.08.2023 18:46:17
2023-08-21 18:46:17.976 No start-up delay - disabled
2023-08-21 18:46:17.976 No start-up PING
2023-08-21 18:46:17.984 Data path = data/
2023-08-21 18:46:18.102 BackupData: Creating backup folder backup/20230821184618/
2023-08-21 18:46:18.146 Created backup folder backup/20230821184618/
2023-08-21 18:46:18.146 Debug logging :enabled
2023-08-21 18:46:18.146 Data logging :enabled
2023-08-21 18:46:18.146 FTP logging :enabled
2023-08-21 18:46:18.147 Email logging :disabled
2023-08-21 18:46:18.147 Spike logging :enabled
2023-08-21 18:46:18.147 Logging interval = 5 mins
2023-08-21 18:46:18.147 Real time interval = 20 secs