socketpair - too many open files

From: Jose González
Date: Thu Jan 05 2006 - 07:19:41 EST


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?
Best regards,
Jose.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/