Re: maximum file descriptors not higher than 983

From: KIPO 14 <mathias.weiersmueller_at_credit-suisse.com>
Date: Thu, 20 Dec 2007 13:14:56 +0100

Marek and Alex,

thank you very much for your answers!

I changed the parameters as you specified:

==================================
Here is what I do for Ubuntu 2.6.15-26-server:

1) Edit /etc/security/limits.conf:
* soft nofile 16384
* hard nofile 16384

2) If you compile Polygraph on this box, then edit /usr/include/linux/posix_types.h and /usr/include/bits/typesizes.h to #define __FD_SETSIZE as 16384

==================================

- logged out and logged in again for the limits change to be picked up
- compiled it and ran it on the same box => voila and heureka, worked!

=== snip ===
 FDs: 16384 out of 16384 FDs can be used; safeguard limit: 15878
=== snip ===

Thank you again - I did the most of the changes before, but missed to adjust posix_types.h .

Cheers and have a quiet holiday season!

Mathias

_______________________________________________
Users mailing list
Users_at_web-polygraph.org
http://www.web-polygraph.org/mailman/listinfo/users
Received on Thu Dec 20 2007 - 08:00:11 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 19 2008 - 12:00:11 MST