Do you have installed the system?

|
Fueled by Coffee 2022-08-22 10:31:19
Because I’m a fool
Fueled by Coffee 2022-08-22 10:31:31
Sorry
sarmong 2022-08-22 11:31:11
I need to launch multiple node.js servers on my machine. Sometimes I am getting the following error:
Error: ENOSPC: System limit for number of file watchers reached

I do have 524288 in /proc/sys/fs/inotify/max_user_watches, which is apparently the maximum. However, it seems like still not enough for my needs. Is there a workaround?

C0rn3j 2022-08-22 11:50:00
sarmong 2022-08-22 11:31:11
I need to launch multiple node.js servers on my machine. Sometimes I am getting the following error:
Error: ENOSPC: System limit for number of file watchers reached

I do have 524288 in /proc/sys/fs/inotify/max_user_watches, which is apparently the maximum. However, it seems like still not enough for my needs. Is there a workaround?

We have 32768 on our large host servers and that’s fine, if you’re exceeding that, something is broken.

sarmong 2022-08-22 11:54:13
C0rn3j 2022-08-22 11:50:00
We have 32768 on our large host servers and that’s fine, if you’re exceeding that, something is broken.

I have two large projects, I need to launch the dev server on them and also launch neovim with typescript-language-server indexing both of them (which also runs on node)

C0rn3j 2022-08-22 11:56:34
sarmong 2022-08-22 11:54:13
I have two large projects, I need to launch the dev server on them and also launch neovim with typescript-language-server indexing both of them (which also runs on node)

When I say large I mean hundreds of GB of RAM and tens of servers.

C0rn3j 2022-08-22 11:57:09
You should definitely be able to launch 2 app servers without exhausting half a million watches, something is broken
sarmong 2022-08-22 11:57:40
Seems like one of the project has more than 500k files
C0rn3j 2022-08-22 11:58:31
Are you sure you’re not exhausting max_user_instances instead?
sarmong 2022-08-22 11:59:39
C0rn3j 2022-08-22 11:58:31
Are you sure you’re not exhausting max_user_instances instead?

Hm, don’t know, but the error is Error: ENOSPC: System limit for number of file watchers reached

sarmong 2022-08-22 12:00:27
And here did neovim fail

[NvimTree] Could not start the fs_event watcher for path [path] : ENOSPC

C0rn3j 2022-08-22 12:02:35
sarmong 2022-08-22 11:31:11
I need to launch multiple node.js servers on my machine. Sometimes I am getting the following error:
Error: ENOSPC: System limit for number of file watchers reached

I do have 524288 in /proc/sys/fs/inotify/max_user_watches, which is apparently the maximum. However, it seems like still not enough for my needs. Is there a workaround?

It looks like even the dynamic maximum is double that of what you have
https://github.com/torvalds/linux/commit/92890123749bafc317bbfacbe0a62ce08d78efb7

And it’s actually set dynamically since 5.11, TIL.

sarmong 2022-08-22 12:03:56
C0rn3j 2022-08-22 12:02:35
It looks like even the dynamic maximum is double that of what you have
https://github.com/torvalds/linux/commit/92890123749bafc317bbfacbe0a62ce08d78efb7

And it’s actually set dynamically since 5.11, TIL.

Oh, thanks. Everyone suggest that value on the internet though

Fueled by Coffee 2022-08-22 12:16:26
Hi! I actually left my system after pacstrap and it turned off. Now after booting up again (with iso obviously) my boot partition is empty but tere are files in root partition.
Fueled by Coffee 2022-08-22 12:16:40
Should I run pacstrap again?
C0rn3j 2022-08-22 12:17:22
Fueled by Coffee 2022-08-22 12:16:40
Should I run pacstrap again?

You don’t have to if it finished running before.
If you interrupted it mid install however, you’re probably better off nuking the root partition and pacstrapping anew.

Fueled by Coffee 2022-08-22 12:18:05
Okay 👍
Fueled by Coffee 2022-08-22 13:16:17
So I thought “since only files in /boot are missing, I should probably run # pacstrap /mnt linux”
And after setting up the bootloader (systemd) and doing all other things I rebooted. Now I have a system with no tty, no package manager and I’m promoted at [rootfs ]#
Fueled by Coffee 2022-08-22 13:16:39
FML
Fueled by Coffee 2022-08-22 13:17:15
And this is not the first time I’m installing arch. I’ve done it 3 times before
fabiscafe 2022-08-22 13:43:22
Fueled by Coffee 2022-08-22 13:16:17
So I thought “since only files in /boot are missing, I should probably run # pacstrap /mnt linux”
And after setting up the bootloader (systemd) and doing all other things I rebooted. Now I have a system with no tty, no package manager and I’m promoted at [rootfs ]#

Do you have installed the system?

JF049 2022-08-22 13:55:57
archlinuxgroup-608850.jpg
lol, that’s a very doubtful edit actually
JF049 2022-08-22 13:56:28
like, who recommends linux-zen and why
Alyx 🦊 2022-08-22 14:23:55
JF049 2022-08-22 13:56:28
like, who recommends linux-zen and why

Isn’t zen optimized for zen CPUs?

fabiscafe 2022-08-22 14:23:55
JF049 2022-08-22 13:55:57
lol, that’s a very doubtful edit actually

s/recommended/optimized/

JF049 2022-08-22 14:25:45
Alyx 🦊 2022-08-22 14:23:55
Isn’t zen optimized for zen CPUs?

It’s just a name of the linux kernel

saldorin 2022-08-22 14:25:51
Alyx 🦊 2022-08-22 14:23:55
Isn’t zen optimized for zen CPUs?

has nothing to do with those, no

Alyx 🦊 2022-08-22 14:28:41
I was misinformed
ston 2022-08-22 14:58:37
Alyx 🦊 2022-08-22 14:23:55
Isn’t zen optimized for zen CPUs?

no

C0rn3j 2022-08-22 15:19:07
JF049 2022-08-22 13:56:28
like, who recommends linux-zen and why

Is there a comparison somewhere?
What it has, why it has not been upstreamed and what benefits does it bring?
Other than “performance”

saldorin 2022-08-22 15:20:05
I think things like responsiveness (what BFQ is for for example) are hard to benchmark i’d say ^^
C0rn3j 2022-08-22 15:20:45
saldorin 2022-08-22 15:20:05
I think things like responsiveness (what BFQ is for for example) are hard to benchmark i’d say ^^

If it’s meant for UI responsiveness, take a recording with both and count the frames

ston 2022-08-22 15:21:42
JF049 2022-08-22 13:56:28
like, who recommends linux-zen and why

Generally zen will be faster, but the power consumption is higher

SwitchAxe 2022-08-22 15:21:55
C0rn3j 2022-08-22 15:19:07
Is there a comparison somewhere?
What it has, why it has not been upstreamed and what benefits does it bring?
Other than “performance”

i believe that https://liquorix.net/ has all the info a normal user would want

SwitchAxe 2022-08-22 15:22:18
if you’re searching for the implementation or implementation details though you’re better off reading the source i think
|