View previous topic :: View next topic |
Author |
Message |
RSnow n00b

Joined: 26 Jul 2002 Posts: 23
|
Posted: Fri Mar 19, 2004 5:17 pm Post subject: Apache2 & mod_perl slow startup slow shutdown |
|
|
I have apache 2.0.48-r4(r1 tried both just in case) running with mod_perl 1.99.11. After adding -D PERL to the apache2 options, apache2 takes FOREVER to load and shutdown. By forever I mean it can last up to an hour.
Running in debug mode shows the startup of apache2
Code: | [Fri Mar 19 11:05:02 2004] [debug] mod_so.c(290): loaded module logio_module
[Fri Mar 19 11:05:02 2004] [debug] mod_so.c(290): loaded module ssl_module
[Fri Mar 19 11:05:03 2004] [debug] mod_so.c(290): loaded module php4_module
[Fri Mar 19 11:05:03 2004] [debug] mod_so.c(290): loaded module perl_module |
At this point it will sit and wait and wait and wait.
I was curious if anyone else had this issue and if there is a solution to it? Once it starts up all seems well, it's just a matter of getting it to that point. |
|
Back to top |
|
 |
RSnow n00b

Joined: 26 Jul 2002 Posts: 23
|
Posted: Mon Mar 22, 2004 5:40 pm Post subject: |
|
|
No ideas at all?  |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Mon Mar 22, 2004 6:28 pm Post subject: |
|
|
A quick forum search shows that many people including me have a similar problem and no solution
But then, it's not marked as stable AND the actual module is still in beta. I expect this to be resolved then it moves to stable. |
|
Back to top |
|
 |
RSnow n00b

Joined: 26 Jul 2002 Posts: 23
|
Posted: Tue Mar 23, 2004 4:46 pm Post subject: |
|
|
I have one system that loves this config and has no problems at all. It's on the older 2.4 kernel. This new box is on 2.6 wonder if that has something to do with it?
Guess I can either move to apache1 or wait it out. It seems to take longer and longer to restart the more times I restart it. Thanks for the reply. |
|
Back to top |
|
 |
RSnow n00b

Joined: 26 Jul 2002 Posts: 23
|
Posted: Wed Mar 31, 2004 5:22 pm Post subject: |
|
|
This seems to have solve the issue:
MY_BUILTINS="--with-devrandom=/dev/urandom" emerge apache
Seems to be some concerns with security when using this though. |
|
Back to top |
|
 |
Dinini Apprentice

Joined: 11 Jun 2003 Posts: 236
|
Posted: Sat May 01, 2004 3:25 am Post subject: |
|
|
Alternately you can try installing rng-tools. see https://bugs.gentoo.org/show_bug.cgi?id=47107 for a bit more info. rng-tools 1.1 has the patched init.d file but is masked for testing. |
|
Back to top |
|
 |
|