Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 & mod_perl slow startup slow shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RSnow
n00b
n00b


Joined: 26 Jul 2002
Posts: 23

PostPosted: Fri Mar 19, 2004 5:17 pm    Post subject: Apache2 & mod_perl slow startup slow shutdown Reply with quote

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
View user's profile Send private message
RSnow
n00b
n00b


Joined: 26 Jul 2002
Posts: 23

PostPosted: Mon Mar 22, 2004 5:40 pm    Post subject: Reply with quote

No ideas at all? :cry:
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Mar 22, 2004 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
RSnow
n00b
n00b


Joined: 26 Jul 2002
Posts: 23

PostPosted: Tue Mar 23, 2004 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
RSnow
n00b
n00b


Joined: 26 Jul 2002
Posts: 23

PostPosted: Wed Mar 31, 2004 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dinini
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 236

PostPosted: Sat May 01, 2004 3:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum