| Author |
Message |
gmt
Joined: 20 Jul 2003
Posts: 96
Location: Tropical Queensland, Australia
|
| Posted: Mon Mar 07, 2005 8:10 pm Post subject: Performance issue: Apache 2.0.52 & kernel 2.6 |
|
|
I'm using Redhat 9/kernel 2.6 & uprgaded to Apache 2.0.52 (there was a bug in the Apache that came with Redhat 9).
All of a sudden cgi were taking up 20 seconds on a machine with no load. I changed back to kernel 2.4 and things went back to normal - cgi were taking about 1 second. I also noticed that mysql went down from 28M to 10M.
Has anyone else seen anything like this? |
|
| Back to top |
|
kangaby
Joined: 20 Oct 2004
Posts: 67
|
| Posted: Mon Mar 07, 2005 8:56 pm Post subject: |
|
|
Did you
mv tls tls_disabled
for the 2.6 kernel. May be related, or not. |
|
| Back to top |
|
gmt
Joined: 20 Jul 2003
Posts: 96
Location: Tropical Queensland, Australia
|
| Posted: Mon Mar 07, 2005 9:10 pm Post subject: |
|
|
Thats a booting issue. I have no idea if its related.
Running Redhat 9/kernel 2.6 is OK, its upgrading Apache that causes the problem. |
|
| Back to top |
|
kangaby
Joined: 20 Oct 2004
Posts: 67
|
| Posted: Tue Mar 08, 2005 2:26 am Post subject: |
|
|
I thought it was a network services issue of sorts.
When I dig on 2.4 I get a result.
When I dig on 2.6 I get a segfault, until I disable tls.
Maybe apache is doing some sort of DNS thing that it didn't previously and is failing. Try using dig to display the dns for a site and see what happens.
Anyway I could be way off and it could be something completely different. If you have aleady disabled tls then it's not that. |
|
| Back to top |
|
tjfontaine
Joined: 11 Nov 2004
Posts: 10
|
| Posted: Fri Mar 11, 2005 1:10 pm Post subject: |
|
|
| tls is a thread issue (Thread Local Storage), if you plan on using 2.6 kernel it definitely needs to be moved out of it's default position. You'll get all kinds of weird behavior until you do (most notably segfaults) |
|
| Back to top |
|
gmt
Joined: 20 Jul 2003
Posts: 96
Location: Tropical Queensland, Australia
|
| Posted: Fri Mar 18, 2005 9:53 am Post subject: |
|
|
The problem turned out to be KDE on the SUSE 9.1 system I use for software development at home.
For some reason web browsing became slower & slower & finally KDE refused to start.
But KDE as root on the same machine is lightning fast. VERY weird. |
|
| Back to top |
|
| |