[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Tomcat



At 11:45 AM 6/27/2002 -0700, you wrote:
I installed Tomcat last week on my Raq4 and this morning I got an e-mail
saying that port 80 had stopped responding.  e-mail and ssh were still
working but none of the sites on the server would respond.

When I looked into it there were 300 Java processes running on the box.  I
killed them all and restarted HTTP services and everything came back to life
again.  Within a short time there were about 150 processes running again but
the server still seems to be responding with no problems.
3.  When I to a httpd restart it takes ages for the services to come back
again whereas it used to take a few seconds.

I had this same problem. Luckily for me this happened when I was actively checking email and so I caught it within a few minutes. Since I was just playing with Tomcat (and it didn't play nice) I simply removed it from the system.

As far as httpd taking so much time to come back after a restart, the way I understand it is this: Tomcat install adds JSP functionality to every site on the box. So every time you restart httpd it has to recreate the context for each site. This takes forever and also was causing my load to spike pretty severely. Also, I believe that any time someone makes a change to a site via the GUI, the httpd deamon is restarted and hence another load spike. During one of these restarts, tomcat hit an error and httpd never came back live.

As I said, I've never really dug deeper just ripped if out of the box.

Hope this helps.

Brian

--
Brian M. Rahill
President
RainStorm, Inc.
http://www.rainstormconsulting.com
"Designing Strategies for Internet Success."
brian@xxxxxxxxxxxxxxxx
Phone: 207-866-3908
Fax: 207-866-0297