Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache 2 start / restart / reload very slow[solved]
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
seti
n00b
n00b


Joined: 29 Jun 2007
Posts: 2

PostPosted: Fri Jun 29, 2007 7:39 am    Post subject: Apache 2 start / restart / reload very slow[solved] Reply with quote

hi,

I have a problem with my new gentoo installation.

the thing is that apache is starting very slow, it takes 1 to 4 minutes to start.

i've searched the forum and found some things with rngd, and mod_perl but this was not
sloving the problem.

its a new gentoo installation with only a an apache, mysql, php, postfix and courier installation.

The log from last reload:

[Fri Jun 29 09:32:04 2007] [notice] Graceful restart requested, doing restart
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Fri Jun 29 09:32:33 2007] [warn] NameVirtualHost 213.239.215.219:80 has no VirtualHosts
[Fri Jun 29 09:32:33 2007] [notice] Apache configured -- resuming normal operations

the configuration of apache and php is standard from the installation i've not changed anything.

emerge verbose message:

net-www/apache-2.0.58-r2 USE="apache2 mpm-prefork ssl -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads"

I have 2 root servers with the same hardware, on the first there is no problem with the apache.
The Hardware is:
Athlon64 X2 4200+
2GB Ram
2x 300 GB HDD in softraid 0

I have reemerge with emptytree 2 times, this do not solve the problem.
And now I Have no idea to solve it.

Hope someone can help me. Thanks.
For more info just write what you need.

Seti


Last edited by seti on Fri Jun 29, 2007 11:26 am; edited 1 time in total
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Fri Jun 29, 2007 10:21 am    Post subject: Reply with quote

Is the DNS configured correctly? Maybe this is because of some DNS timeout.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
seti
n00b
n00b


Joined: 29 Jun 2007
Posts: 2

PostPosted: Fri Jun 29, 2007 11:26 am    Post subject: Reply with quote

hm.. thanks this was the problm.. restart needs now about 1 second.
thanks for the fast help :)
Back to top
View user's profile Send private message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Fri Jul 13, 2007 4:08 am    Post subject: Reply with quote

What did you do to fix this, I am having the same problem, my apache2 server takes a few minutes to startup after installing mod_perl?
Back to top
View user's profile Send private message
SoukoussMan
n00b
n00b


Joined: 15 Aug 2006
Posts: 32
Location: Montrouge (92)

PostPosted: Fri Sep 28, 2007 2:21 pm    Post subject: Reply with quote

I've the same problem with mod_perl enable.

My dns is ok. DNS Reply is very quickly.

Do you have a idea ?

Thanks by advance.
_________________
-----
Gentoo 4 Ever
-----
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