unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: Louis DeLosSantos <louis.delos@gmail.com>
Cc: meta@public-inbox.org
Subject: Re: Issues with `lei` as non-root
Date: Tue, 28 Mar 2023 02:52:05 +0000	[thread overview]
Message-ID: <20230328025205.M639038@dcvr> (raw)
In-Reply-To: <CAE6jdTok74ORobFTrxtv=JxpZ1PKLi4KtOtY80RLFMdjDWww-w@mail.gmail.com>

Louis DeLosSantos <louis.delos@gmail.com> wrote:

<snip>

> Above is 54 open sockets. Which seems fine.

Actually, only 18 (0..17).  The `mem' stuff is mmap-ed and
doesn't count against `ulimit -n` (RLIMIT_NOFILE).

> Should daemon be running as root, if I intend to only use lei as user?

Definitely not; the lei-daemon is per-user.

I also forgot, inotify has its own per-user limits; perhaps
you're hitting those?

# show system-wide limits
$ head /proc/sys/fs/inotify/max_*

# show per-user inotify FDs (-nP speeds up lsof by avoiding lookups)
$ lsof -nP -u $USER |grep inotify

  reply	other threads:[~2023-03-28  2:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-28  1:00 Issues with `lei` as non-root Louis DeLosSantos
2023-03-28  1:32 ` Eric Wong
2023-03-28  1:36   ` public-inbox.org downtime expected in the next 6-8 hours Eric Wong
2023-03-28  2:30   ` Issues with `lei` as non-root Louis DeLosSantos
2023-03-28  2:52     ` Eric Wong [this message]
2023-03-28  3:05       ` Louis DeLosSantos
2023-03-28  3:38         ` Eric Wong
2023-03-28  4:08           ` Louis DeLosSantos
2023-03-28 11:12             ` [PATCH] inotify: wrap with informative error message Eric Wong

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

  List information: https://public-inbox.org/README

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

  git send-email \
    --in-reply-to=20230328025205.M639038@dcvr \
    --to=e@80x24.org \
    --cc=louis.delos@gmail.com \
    --cc=meta@public-inbox.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).