Skip to main content

Questions tagged [open-files]

Dealing with files that are currently opened in a program

0 votes
1 answer
663 views

I'm new to Linux, and I need to know if there is a way to check which service or program is using a particular configuration file. A different deployment on the server is failing, and the error ...
paty CB's user avatar
0 votes
1 answer
861 views

I am having a problem where once I try to copy something from a mounted unit on a windows dfs server (Windows server 2012), I get the "Too many open files" errors from linux, but ONLY if I ...
Lovesong's user avatar
1 vote
0 answers
208 views

I'm trying to debug if my app keeps opened files somewhere in the code. I thought of using strace for that but all of the previous topics (like this one) were talking about only opened files. While ...
vesii's user avatar
  • 223
1 vote
1 answer
548 views

i want to increase the number of openfile, and on google there are so many ex about it, but there are plenty of number too. so, are there any limit in increase number of openfile in linux?
Dung Nguyen's user avatar
2 votes
2 answers
900 views

The so-called "standard streams" in Linux are stdin, stdout, and stderr. They must be called "standard" for a reason. Are there non-standard streams? Are those non-standard streams ...
user56834's user avatar
  • 137
4 votes
2 answers
474 views

I am coming fro MacOS system, and in that system I am addicted to one specific function: while working with (almost) any file, in (almost) any application, I can click in the title bar of the window ...
Fabio's user avatar
  • 565
1 vote
1 answer
153 views

/etc/security/limits.conf looks like this #<domain> <type> <item> <value> # #* soft core 0 #* hard rss ...
yael's user avatar
  • 14k
-2 votes
1 answer
139 views

Is there a comprehensive list of all the ways to view a file's contents in linux, including both methods like cat as well as methods like whiptail where it isn't the reason it was created for? I know ...
Michael Blane's user avatar
1 vote
1 answer
1k views

I'm working with USB and I want to read the content of usb device descriptor in /dev/bus/usb/00x/00y - it is a character device. I used fopen to open it as a binary file with "rb" parameter. ...
Manh Huynh's user avatar
3 votes
0 answers
335 views

Is there any formula or basis that we can consider to calculate hard and soft limits for NPROC and NOFILE? My system is currently using 4096 for NOFILE which is the default value, and we recently had ...
Dubious Programmer's user avatar
-4 votes
1 answer
844 views

I'm using a linux server with tomcat 9.0.24. When I stop the tomcat server, following output will return for 'lsof | wc -l' command fdmt@fdm-3-136 apache-tomcat-9.0.24]$ lsof | wc -l 1203 fdmt@fdm-3-...
Prasanna Deshappriya's user avatar
0 votes
1 answer
2k views

We can list only files opened by a specific PID as lsof -p 1000 lsof -p 1000 | wc -l How can we list/count the files opened by a specific program/COMMAND (e.g., java)? And so much better, if we can ...
Googlebot's user avatar
  • 2,009
2 votes
1 answer
2k views

on our rhel server 7.6 version we have the following systemctl service /etc/systemd/system/test-infra.service and the value of LimitNOFILE is systemctl show test-infra.service | grep LimitNOFILE ...
yael's user avatar
  • 14k
-1 votes
1 answer
316 views

I have a poorly designed build script that always overwrites files that it shouldn't; if I edit these files and then run the script, it overwrites their content and, thus, the build fails. How can I &...
Sebi's user avatar
  • 1,039
3 votes
0 answers
291 views

I have a: fresh installation of Linux mint 20 cinnamon a week ago (luv it) and i have 3d ays ago installed okular for pdfs. My Problem: when i want to open a file, that is unknown to the system with ...
kamino's user avatar
  • 46

15 30 50 per page
1
2 3 4 5
10