Score:0

What the open file limit `ulimit -[H]n` does apply to?

us flag

A set of systems is configured to 1024 limit. I'm running a set of programs (written by me) for which lsof -p <pid>|wc -l returns values no greater than 200-300 at any time. But sometimes they cause a core dump with errno=24 from glibc logger (too many open files). While increasing to 2048 ois possible solution. I'm curious how that can happen. They are launched from same bash script this way:

prog1 & prog2 & prog3

This script is executed from a service.

And a couple of them create nested processes. Does ulimit -n apply integrally to total of all subprocesses created within one shell environment?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.