Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache need restart after 5 min
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
Calandra
n00b
n00b


Joined: 05 Sep 2006
Posts: 38
Location: Gubbio (PG)

PostPosted: Wed Sep 19, 2007 9:56 am    Post subject: Apache need restart after 5 min Reply with quote

Hi to all!

I have installed latest apache and latest php in my server (all stable package);
after about 5 minutes that i use a web application that always worked with no troubles, apache stops
working and i need to restart it.

The strange things is that, also if the server doesn't work, i can still get a lot of apache2 process from:

Code:
ps -A | grep apache2


Also during the restarting, the server get stopped as usual.

No info in the log.

Any idea?

Update

The matter is not that apache stops working..it skips the folder contains the application.
For example firefox ask me to save if i open a file.php inside the application folder, but all works fine
with info.php on server root.

Thanks
_________________
[img]http://imagegen.last.fm/basicrt10/recenttracks/2/Doktoreas.gif[/img]


Last edited by Calandra on Wed Sep 19, 2007 2:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
goma
n00b
n00b


Joined: 04 Feb 2006
Posts: 56

PostPosted: Wed Sep 19, 2007 10:25 am    Post subject: Re: Apache need restart after 5 min Reply with quote

Is this a web application you've written, or a package you've installed?
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Wed Sep 19, 2007 10:26 am    Post subject: Reply with quote

Apache is running out of entropy.

Emerge sys-apps/rng-tools, start it (/etc/init.d/rngd start), and put it in your default runlevel (rc-update add rngd default), and bob's your uncle.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
Calandra
n00b
n00b


Joined: 05 Sep 2006
Posts: 38
Location: Gubbio (PG)

PostPosted: Wed Sep 19, 2007 1:50 pm    Post subject: Reply with quote

baeksu wrote:
Apache is running out of entropy.

Emerge sys-apps/rng-tools, start it (/etc/init.d/rngd start), and put it in your default runlevel (rc-update add rngd default), and bob's your uncle.


Same things..

The only change that i see, was after adding those line to httpd.conf:

Code:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 15
MaxSpareServers 30
StartServers 15
MaxClients 150
MaxRequestsPerChild 0


After this, the time to the apache crash has increased...

Don't know anything else.

Bye

Luca
_________________
[img]http://imagegen.last.fm/basicrt10/recenttracks/2/Doktoreas.gif[/img]
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