From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ronja.mits.lan by ronja.mits.lan with LMTP id IKtSD3WteWZ8ZQAAxxbTJA (envelope-from ); Mon, 24 Jun 2024 19:31:33 +0200 Received: from proxmox-new.maurer-it.com (unknown [192.168.2.33]) by ronja.mits.lan (Postfix) with ESMTPS id 23398F6462A; Mon, 24 Jun 2024 19:31:33 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 0657D486BF; Mon, 24 Jun 2024 19:31:33 +0200 (CEST) Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by proxmox-new.maurer-it.com (Proxmox) with ESMTPS; Mon, 24 Jun 2024 19:31:30 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D8978391C; Mon, 24 Jun 2024 19:31:29 +0200 (CEST) Message-ID: <9114c156-ef5a-4ca1-8383-14dc087fe815@proxmox.com> Date: Mon, 24 Jun 2024 19:30:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Dietmar Maurer , Proxmox Backup Server development discussion References: <20240624142415.41470-1-c.ebner@proxmox.com> <1897229403.670.1719244415488@webmail.proxmox.com> Content-Language: en-US, de-DE From: Christian Ebner In-Reply-To: <1897229403.670.1719244415488@webmail.proxmox.com> Subject: Re: [pbs-devel] [PATCH proxmox-rrd] cache: skip non-utf8 lines in rrd journal X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" X-SPAM-LEVEL: Spam detection results: 0 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods MAILING_LIST_MULTI -2 Multiple indicators imply a widely-seen list manager RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record On 6/24/24 17:53, Dietmar Maurer wrote: >> In certain situations garbage might be written to the rrd journal, >> e.g. by a hard crash of the host. > > Why does a host crash writes garbage to a file? I did not investigate any further how the file corruption might have occurred: might be truncated output leading to incorrect, non-utf8 encoding before the full line was written? Nevertheless, the reported error message points to this location and the line should be skipped if not correctly encoded, no matter how the file was corrupted to begin with. Otherwise the mentioned issues arise. _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel