--- Lian Liming <[EMAIL PROTECTED]> wrote:
> I just installed tomcat5 on debian/unstable. It is on my laptop with > P M1.6, 512M. The problem is that tomcat server is very slow to > connect. On my first connection after installation, it took 4~5 mins to > show the tomcat index on localhost:8010. Then I restarted the computer to > hope a better performance. But this time the tomcat seems more slowly. The > index on localhost:8010 can't show up with page keeping loading. > > Before testing tomcat5 on debian, I had used tomcat5 on a windows box with > almost the same hardware configuration. The performance is acceptable. > > By using the command "/etc/init.d/tomcat5 status", I got the result "Tomcat > 5 servlet engine is running with Java pid 4476" and the default port in > config file is "8010". > > So what is the possible wrong? Thanks in advance! Is there a heavy load on your system maybe? Have you changed the default tomcat config? If so, how? Sometimes, when you shut down tomcat, you'll end up with some threads that won't die on their own. Make sure that after a ./bin/shutdown.sh that *all* tomcat threads are dead before restarting tomcat. When I've used tomcat on debian, I've always run it as user "tomcat" rather than root. If you once run it as root by accident, it may create files that later get in the way when you try running it as the tomcat user. I don't know much about this one, but are you using http rather than https (i.e. TLS)? __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]