The tag has no wiki summary.

learn more… | top users | synonyms

39
votes
4answers
32k views

Increase the maximum number of open file descriptors in Snow Leopard?

I am trying to do something that requires a large number of file descriptors sudo ulimit -n 12288 is as high as Snow Leopard wants to go; beyond this results in /usr/bin/ulimit: line 4: ulimit: ...
3
votes
1answer
45 views

Output to a file using file descriptor

I was wondering if it's possible to redirect output of one process (in OS X/ Linux) to another process if I know the fd of another process. For example: I open a file using vim: vim /tmp/test. This ...
0
votes
0answers
69 views

what are sane open file descriptor limits on linux?

Where can I get good guidance on sane values for open file descriptor limits on linux. We have users asking for massive numbers as their limits and I am unsure of the impact of this and what should ...
2
votes
3answers
2k views

Meaning of FDSize in /proc/PID/status

I'm looking for a way to find out the open FD limit under Ubuntu machines which doesn't have the /proc/PID/limits, namely EC2 machines. I have been looking into /proc/PID/limits, and found the the ...
1
vote
1answer
597 views

Other ways to increase max open files?

I have an application which keeps giving me the following error. tail: inotify cannot be used, reverting to polling: Too many open files I have already followed all the advice I've been able to ...
0
votes
0answers
29 views

Finding FD usage in windows application - Linux like FD

I have been recently porting a Linux application to Windows and have been quite successful in running the application. To analyze the performance of the the application, I found that resource monitor ...
-1
votes
1answer
91 views

change descriptor when renaming file linux [closed]

I got a programm in CentOS which writes its log to a file. When I rename it, the programm still writes to it. Is there a way to change that file descriptor without restarting the programm?
0
votes
1answer
149 views

Number of max open files for a process stays low

I have a process running on a ubuntu under a user which its ulimit is 400000 for both -Hn and -Sn options. The /etc/security/limits.conf value for that user is 100000. However, when I execute cat ...
0
votes
1answer
44 views

Is it possible to apply special restrictions for a content of a directory?

I want restrict permissions to the content of a directory /abc/def/: disable links (symbolic or hard) limit the number of write permissions pointing to the same file (e.g. to 1, so only one process ...
5
votes
3answers
2k views

tail -f not tracking file changes

I was recently looking into using tail -f to monitor some text files like so: tail -f /var/sometext However, when I did some testing, it doesn't seem to work. What I did was I created a new file and ...
1
vote
2answers
2k views

What is file descriptor 10?

What is file descriptor 10? Real-world example (where standard output is ignored, standard error redirected to standard output and data from file descriptor 10 is redirected to standard output) that ...
0
votes
2answers
160 views

An Application to describe .patch files

Do you know any application that be able to describe .patch files? I mean an application that be able to get .patch file & give me a human readable of the changes it make on files so I'll be able ...
0
votes
3answers
346 views

Find out what app is using a file under Windows [duplicate]

Possible Duplicate: Windows 7: File In Use when deleting file Sometimes I can't delete a file because it's being used by some unknown applications. How can I find out what apps?
1
vote
1answer
1k views

ulimit soft limit for file descriptors - for a non-root user on CentOS 5.6

I am needing to increase the soft limit for "file descriptors", and make it effective for a non-root user (lets say user1). Ran these commands, while logged in as user1: >ulimit -a core ...
0
votes
2answers
197 views

How many file descriptors accessing a given file?

On linux, is there a way to count the number of file descriptors open to a some file?