File descriptor limit

Ferenc Wagner wferi at afavant.elte.hu
Thu Jul 3 10:10:59 CDT 2003


Mike Hearn <m.hearn at signal.qinetiq.com> writes:

> it opens a truly amazing 18,000 odd file descriptors.
>
> wine client error:9a: pipe: Too many open files
>
> The problem is, that I don't know what limit is being used
> for this. In theory, the OPEN_MAX macro should tell me,
> but for some reason this is defined on my box as 256 (red
> hat 8), even though sysconf(_SC_OPEN_MAX) says "1024".

That's probably a per process limit.  See instead

$ cat /proc/sys/fs/file-nr
1844    1331    26208
(alloc  (used)  (max)
 ated)

> something is a bit broken here.

Probably, but I can't help you with that...
                                                Feri.



More information about the wine-devel mailing list