From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <mark@tuxis.nl>
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 (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 6D66C9126D
 for <pbs-devel@lists.proxmox.com>; Wed,  7 Sep 2022 14:33:00 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 5BA54238F
 for <pbs-devel@lists.proxmox.com>; Wed,  7 Sep 2022 14:32:30 +0200 (CEST)
Received: from kerio.tuxis.nl (alrami.saas.tuxis.net [31.3.111.57])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS
 for <pbs-devel@lists.proxmox.com>; Wed,  7 Sep 2022 14:32:29 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tuxis.nl; s=mail;
 h=from:reply-to:subject:date:message-id:to:mime-version:content-type:
 content-transfer-encoding;
 bh=mWAonfsgJkibfxbnCrvnkLuelBTCSKCP3XuzNLmzDOU=;
 b=RdGYuDWgCCfVFPu3Dhy/RwZK5JJ+mVux6NoiA6m2BgiWYc1L3PP2c9OJr+RIIPiUMikAsULclY1ky
 CbrPwjwRwY81yqdrUZTYUMCT6om5FZaXHew2owbSEoAthyDkDDq04x6Bub19/Hx3ylCvfv/QCvqWNb
 vueMOf5aXqPED9gssV/g5D5FFcLM/UIYUwnS0Clo/udAbdXJqRNaKWmAa1J7lDW1cpYw6FhwCJmUzR
 K8rE8b90C8Srmma3mwpRyuLCoksiaRrwrOUyx1lkXWE6ivuwT4BkEu7DUXAT/uxhx/bxWnu1GAGJRD
 VlwJAnWlaMSIDLueJqQ3wMaD8D8c9/A==
X-Footer: dHV4aXMubmw=
Received: from [IPv6:2a03:7900:64::1000] ([2a03:7900:64::1000])
 (authenticated user mark@tuxis.nl)
 by kerio.tuxis.nl (Kerio Connect 9.4.2) with ESMTPSA
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits))
 for pbs-devel@lists.proxmox.com; Wed, 7 Sep 2022 14:02:20 +0200
From: "Mark Schouten" <mark@tuxis.nl>
To: pbs-devel <pbs-devel@lists.proxmox.com>
Date: Wed, 07 Sep 2022 12:02:14 +0000
Message-Id: <emb468a227-f50d-49a8-92f2-1c3a0e7fa058@3a15c2fd.com>
Reply-To: "Mark Schouten" <mark@tuxis.nl>
User-Agent: eM_Client/9.1.2109.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.021 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 T_SCC_BODY_TEXT_LINE    -0.01 -
Subject: [pbs-devel] Too many open files
X-BeenThere: pbs-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox Backup Server development discussion
 <pbs-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pbs-devel>, 
 <mailto:pbs-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pbs-devel/>
List-Post: <mailto:pbs-devel@lists.proxmox.com>
List-Help: <mailto:pbs-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel>, 
 <mailto:pbs-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Wed, 07 Sep 2022 12:33:00 -0000

Hi,

On our shared PBS-server, on busy moments, we get the following error:
Sep  7 00:00:35 pbs001 proxmox-backup-proxy[9288]: error accepting tcp=20
connection: Too many open files (os error 24)

This is a box with quite a lot of datastores, but looking at the open=20
files setting:
root@pbs001:/var/log# cat /proc/sys/fs/file-max
9223372036854775807

That should be enough. :)

Does PBS itself limit the open files somewhere?

Thanks,


=E2=80=94
Mark Schouten, CTO
Tuxis B.V.
mark@tuxis.nl