public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Mark Schouten <mark@tuxis.nl>
To: pbs-devel <pbs-devel@lists.proxmox.com>
Subject: [pbs-devel] Timeouts on Proxmox Backup Server
Date: Wed, 6 Apr 2022 12:57:14 +0200	[thread overview]
Message-ID: <A6532B5F-9923-47F6-BF2D-C35CDE0B09D3@tuxis.nl> (raw)

Hi,

We are suffering from some slowness in Proxmox Backup Server, which results in timeouts in Proxmox VE and monitoring-notifications thereof. We’re looking into why this is happening, but I cannot really find anything wrong with the setup.

As you may know, we have a few PBS-machines running with more than a few users on it. The machine that suffers the most of this issue is pbs001, which is handling about 34 authentication requests per second. We have over 250 users on that machine. What I notice is that even though there are no tasks running, we see quite a lot of CPU usage:


    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
3035778 root      20   0  857840  27900  14124 S 163.7   0.0  59:22.43 /usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-api
   7658 backup    20   0 6603600 528644  14004 S  74.5   0.8  40706:05 /usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy

When stracing PID 3035778, most output I see is the reading of the file '/etc/proxmox-backup/tfa.json’, one byte at a time.

Could it be that this part of authentication could use some optimisation?

Happy to help, if we need to provide information about this machine or the setup. Please let me know.

— 
Mark Schouten, CTO
Tuxis B.V.
mark@tuxis.nl







                 reply	other threads:[~2022-04-06 11:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A6532B5F-9923-47F6-BF2D-C35CDE0B09D3@tuxis.nl \
    --to=mark@tuxis.nl \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal