My hunch is that the Puppeteer instances (which are Chromium instances)
saturate the allocated memory limit for BPF, because they restart quite
a lot, so maybe each time a new instance starts, it makes BPF allocate
more memory, until it's full.

But I have no idea:
- how does JIT memory limit correlate to this? Isn't BPF pruned?
- about how BPF works internally 

I wonder how could I tune my setup.

Thanks for letting me know where is the constant computed (FYI I don't
understand these heuristics at all).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libseccomp in Ubuntu.
https://bugs.launchpad.net/bugs/1956954

Title:
  Can't load seccomp filter

Status in libseccomp package in Ubuntu:
  Incomplete

Bug description:
  After migrating from Ubuntu 20 amd64 to aarch64 I started experiencing
  "can't load seccomp filter" when doing `apt update && apt upgrade` and
  "Kernel refuses to turn on BPF filters" when using Puppeteer.

  I wrote about it more extensively here:
  https://stackoverflow.com/questions/69892137/after-a-few-days-i-can-
  no-longer-start-puppeteer-until-i-restart-the-server

  
  lsb_release -rd
  ---------------
  Description:  Ubuntu 20.04.3 LTS
  Release:      20.04

  apt-cache policy seccomp
  ---------------
  seccomp:
    Installed: (none)
    Candidate: 2.5.1-1ubuntu1~20.04.2
    Version table:
       2.5.1-1ubuntu1~20.04.2 500
          500 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports 
focal-updates/main arm64 Packages
          500 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 
Packages
       2.4.3-1ubuntu1 500
          500 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports focal/main 
arm64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1956954/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to