Re: socketpair - too many open files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Cox wrote:

On Iau, 2006-01-05 at 13:21 +0100, Jose González wrote:
Hello.
I am programming an application that need to create over 300 threads. Each thread calls socketpair function, but it returns EMFILE when it is called 150 times. Which kernel parameter can I change to do it?

Its a user space matter. See "ulimit -a" and find out how your
distribution sets the default limits


I modified this limit (open files, ulimit -n), even I have modified it in the kernel sources. I think that open file number isn't the problem.
Is there a limit in the open sockets?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux