| Author |
Message |
OverlordQ
Joined: 04 Jun 2004
Posts: 200
|
| Posted: Sun Jun 20, 2004 3:18 pm Post subject: kernel 2.6.5 + bind error |
|
|
http://www.nomorepasting.com/paste.php?pasteID=14770
bind proceeds to eat all the cpu. |
|
| Back to top |
|
OverlordQ
Joined: 04 Jun 2004
Posts: 200
|
| Posted: Sun Jun 20, 2004 3:28 pm Post subject: |
|
|
looks like the first error is here:
http://www.nomorepasting.com/paste.php?pasteID=14771 |
|
| Back to top |
|
caker
Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ
|
| Posted: Mon Jun 21, 2004 5:30 pm Post subject: |
|
|
"page allocation failure" usually means you're out of RAM+swap.
Check "cat /proc/swaps" to see if that's the case.
-Chris |
|
| Back to top |
|
OverlordQ
Joined: 04 Jun 2004
Posts: 200
|
| Posted: Sun Jun 27, 2004 6:36 pm Post subject: |
|
|
| Switched to the lastest 2.4 kernel you offer and I haven't had the problem since. |
|
| Back to top |
|
zeroion
Joined: 12 Nov 2004
Posts: 6
|
| Posted: Sun Nov 14, 2004 1:35 pm Post subject: |
|
|
Now that I've switched to kernel 2.6 to get filesystem ACLs, I've been noticing that someone of my bind9 processes have started eating all of my CPU after awhile. Since the links in the original post are no longer active, I can only assume that I'm experiencing the same problem.
Anybody know how I can fix this w/o switching back to kernel 2.4? I really do need filesystem ACLs. |
|
| Back to top |
|
pclissold
Joined: 24 Oct 2003
Posts: 472
Location: Netherlands
|
| Posted: Sun Nov 14, 2004 2:12 pm Post subject: |
|
|
Have you disabled thread local storage? Bind is usually the first thing to cause problems on a Linode that is running with TLS enabled.
Code: mv /lib/tls /lib/tls-disabled
UML does not support NPTL/TLS under 2.4 or 2.6. The difference in the way the TLS problem manifests itself (or not) with 2.4 and 2.6 kernels is because NPTL enabled /lib/ld.so checks 'uname' in 2.4 kernels. If extraversion begins with "-nptl" then the 2.4 kernel has NPTL (and TLS) support. If extraversion doesn't have that string, ld.so assumes that the kernel doesn't have NPTL (or TLS) support (the Linode 2.4 case). If the kernel is >=2.6, then ld.so just assumes that NPTL (and TLS) support is present, so things start to go haywire under UML, where this assumption is invalid. |
|
| Back to top |
|
zeroion
Joined: 12 Nov 2004
Posts: 6
|
| Posted: Sun Nov 14, 2004 7:23 pm Post subject: |
|
|
Yes, I've disabled TLS. bind is still behaving strangely.
Here's a top display of my named when it goes crazy:
Code: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8121 bind 25 0 11192 1252 4160 R 98.9 2.1 47:27.35 named |
|
| Back to top |
|
| |