Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a relatively new Amazon EC2 Micro instance on which I have installed Apache2 and Tomcat6, using mod_jk to connect to each other. I have one web application running on the root that is getting almost literally zero traffic, since it is a test server that no one knows about.

Every morning when I wake up, the site is down. Neither Apache nor Tomcat are running. When I look at my Apache error file at /var/log/apache2/errors.log, I see this which looks significant:

[Wed Jul 06 07:39:49 2011] [error] cgid daemon process died, restarting

[Wed Jul 06 07:41:00 2011] [alert]

(11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread

[Wed Jul 06 07:41:02 2011] [alert] No active workers found... Apache is exiting!

I don't see anything relevant in the tomcat logs (I am assuming that I should be looking at catalina.out?)

Anything else I can check? Also, I am pretty new to all of this stuff, so any advice is much appreciated. Thanks so much.

EDIT: Another point to mention is that this has happened multiple days in a row, this one at 7:39 in the morning and the previous one with the same error message at 7:36 in the morning, so maybe it is related to something else running. I am not sure how to figure it out as the logs don't offer much more information.

I am running Ubuntu 10.04.2 Server Edition on AWS EC2 Micro

Apache version is is Apache 2.2.14

Tomcat version is 6.0.24

share|improve this question
    
Can you add what versions of each of these packages and what distro you are using? (edit typo) –  Nathan Powell Jul 6 '11 at 13:53
    
@Nathan Powell - I added the versions. –  skaz Jul 6 '11 at 14:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.