Skip to contentSkip to conversation

2.6.28, rlimits, performance and debian etch

DISCUSSION Frans Pop 3 participants 3 messages Feb 26, 2009 – Feb 27, 2009

lore
Share & tools
lore

Frans Pop

author
#0 lore raw
Quoted 5 lines · Steve Langasek

It has already been mentioned that this does not apply to the upcoming Debian 5.0 release (lenny); this patch is only present in the 4.0 release (etch), it was actually fixed in the development series to not use RLIM_INFINITY *because* previous kernels didn't support this and would cause pam_limits to throw log warnings.

I've just migrated my home servers from Debian etch to lenny and bind9 now gives me this:

named[17207]: max open files (1024) is smaller than max sockets (4096)

Redhat's BTS [1] tells me this is a kernel issue thatshould be solved [2] by the "rlimit: permit setting RLIMIT_NOFILE to RLIM_INFINITY" patch in 2.6.28.

One of my servers (DNS slave) is running the standard Debian 2.6.26 kernel, the other (DNS master) is running 2.6.29-rc6 so that does include that patch. But both show the error!

I'd appreciate your input where to take this.

Cheers,
FJP

[1] https://bugzilla.redhat.com/show_bug.cgi?id=477540
[2] https://bugzilla.redhat.com/show_bug.cgi?id=461458

#1 lore raw
Quoted 11 lines · Frans Pop
Quoted 5 lines · Steve Langasek

It has already been mentioned that this does not apply to the upcoming Debian 5.0 release (lenny); this patch is only present in the 4.0 release (etch), it was actually fixed in the development series to not use RLIM_INFINITY *because* previous kernels didn't support this and would cause pam_limits to throw log warnings.

I've just migrated my home servers from Debian etch to lenny and bind9 now gives me this:

named[17207]: max open files (1024) is smaller than max sockets (4096)

That's a separate issue; Debian bug #515673. I intend to solve this for Debian 5.0.1.

Signature · 4 lines
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
#2 lore raw
In reply to Frans Pop
Quoted 12 lines · Frans Pop
Quoted 5 lines · Steve Langasek

It has already been mentioned that this does not apply to the upcoming Debian 5.0 release (lenny); this patch is only present in the 4.0 release (etch), it was actually fixed in the development series to not use RLIM_INFINITY *because* previous kernels didn't support this and would cause pam_limits to throw log warnings.

I've just migrated my home servers from Debian etch to lenny and bind9 now gives me this:

named[17207]: max open files (1024) is smaller than max sockets (4096)

Quoted 7 lines

Redhat's BTS [1] tells me this is a kernel issue thatshould be solved [2] by the "rlimit: permit setting RLIMIT_NOFILE to RLIM_INFINITY" patch in 2.6.28.

One of my servers (DNS slave) is running the standard Debian 2.6.26 kernel, the other (DNS master) is running 2.6.29-rc6 so that does include that patch. But both show the error!

That patch has been reverted for 2.6.29 and 2.6.28.(5 or 6 or so).

Signature · 4 lines
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/