ulimit gets or sets the upper limit for resources available to the current shell.
Questions tagged [ulimit]
356 questions
0
votes
1 answer
system: Resource temporarily unavailable, which one?
I search for answer and so far haven't found a clear one.
I am doing testing which launches many threads calling "system()", like below.
for (int i = 0; i < 3000; ++i)
pthread_create(&thread[i], NULL, thread_func, NULL);
for (int i = 0; i < 3000;…

user3108468
- 63
- 8
0
votes
0 answers
Esync limit won't change
I installed Lutris with Wine to play games on my Linux computer but I'm encountering an issue with Esync which is required to play the game I want. So I tried everything on both those links : https://github.com/lutris/docs/blob/master/HowToEsync.md…

Antoine Olivier
- 83
- 8
0
votes
1 answer
My Weblogic's soft limit and hard limit is same
in Linux, I test about ulimit and WebLogic. I set soft limit and hard limit differently, but process's soft limit and hard limit is same. Why they have same value?
# Set Soft limit
[was@was10 bin]$ ulimit –S -n 2048
# Check Soft limit
[was@was10…

swz
- 63
- 6
0
votes
0 answers
limiting User from executing a specific process in duplicate
I'm trying to figure out a way to limit a specific process from running in duplicate.
I have a process (named ops_tool) that is executed with a functional user.
This user is accessible to multiple users and the process is executed on demand.
If one…

anmoreira
- 3
- 2
0
votes
0 answers
Playwright not opening browser on subprocess
I'm trying to use playwright python and restrict its memory using a subprocess using the following code:
# scrapper.py
from playwright.sync_api import sync_playwright
if __name__ == '__main__':
with sync_playwright() as p:
browser =…

itepifanio
- 572
- 5
- 16
0
votes
1 answer
What is the right way to increase the hard and soft ulimits for a singularity-container image?
The task I want to complete: I need to run a python package inside of a singularity-container that is asking to open at least some 9704 files. This is the first I have heard of it and searching around this has something to do with a system’s…

OnBorrowedLime
- 53
- 8
0
votes
1 answer
Load testing in mac and redhat OS throwing j.n.SocketException: Too many open files
we are doing the large loading testing(50000TPS)using gatling, we are using Red Hat Enterprise Linux Server VM's for performing the testing.
Load testing is good with 500 TPS for single VM(4cpu and 8gb ram), More than 500 TPS we are not achieving…

Debugger
- 690
- 1
- 18
- 41
0
votes
0 answers
Accidentally set nofile & nproc for root to unlimited in /etc/security/limits.conf - Now can't login
I accidentally set nofile and nproc values to unlimited and when I again tried to login, I can't login using root ssh account.
I have another user account which can login fine but root won't login... Problem is that I can't revert settings from…

rustynail
- 1
- 1
0
votes
1 answer
Too many open files in linux we are closing file descriptor
We are facing too many open files in linux server and we already increase ulimits to maximum.
I am planning to close file descriptor using gdb command and then close fd for pid which I am looking for.
Will that solve issue of too many files, we are…

Nilay Tiwari
- 492
- 5
- 16
0
votes
1 answer
Ulimit not having effect in ssh session
I am building a docker image and I'd like to increase the maximum amount of files that can be opened. I tried several things but none of them worked when I opened a new SSH session that connected to the container. They did work when executing a bash…

user1315621
- 3,044
- 9
- 42
- 86
0
votes
0 answers
Segfault without `ulimit -s unlimited`
I'm attempting to wrap a C API in a generic C++ call method, but get different behaviour when running depending on the value of ulimit -s. I'm running this code on Linux: Debian GNU/Linux 10 (buster) x86_64, kernel 4.19.0-18-amd64, compiler is…

szeneca
- 1
- 1
0
votes
0 answers
Process soft stack limit changes after calling occi:createenvironment
I have been using Oracle 11 occi libraries to interface my OracleDb server.
After trying to upgrade to the Oracle12 occi libraries I have noticed that the process's
soft stack size limit have chnaged.
After doing some experiments I havre zoomed in…

Barak Friedman
- 279
- 1
- 2
0
votes
0 answers
To understand the open files limits set in the /etc/security/limits.conf file
I am having a scenario where I wanted to increase the open file limit for a specific user.
So I tried adding the limit in the/etc/security/limits.conf file.
Can you please help me understand how the open file limit is set? Because in my case in the…

pranauv
- 1
- 1
0
votes
1 answer
How to work around "Too many open files error" when writing arrow dataset with pyarrow?
import pyarrow as pa
f = 'my_partitioned_big_dataset'
ds = dataset.dataset(f, format='parquet', partitioning='hive')
s = ds.scanner()
pa.dataset.write_dataset(s.head(827981), 'here', format="arrow", partitioning=ds.partitioning) # is…

mathtick
- 6,487
- 13
- 56
- 101
0
votes
1 answer
docker service inside a LXC container: unable to apply RC_ULIMIT settings
I have a Debian hypervisor in which I ran a LXC Alpine 3.14 container. In the Alpine container, I would like to install a docker service. Alpine provides a docker package, but starting the docker service raises this error:
$ sudo service docker…

azmeuk
- 4,026
- 3
- 37
- 64