[서버]RH9에서의 톰켓..

linux 2005. 9. 20. 01:38 |

관리하는 서버들중에 Redhat9에서 톰켓Ver5대를 사용중인 시스템들이 있다. 그런데 이 톰켓이 하루가 멀다하고 hang이 걸려버리는 증상이 있는데 원인을 몰라서 답답한 상태이다. 그냥 RH9상에서 톰켓의 문제라고만 하니 RH9을 CentOS로 변경을 하려고 생각중이다. 그렇게 하려고 보니 너무나 큰 작업이어서 다른 방안이 없는지 검색을 하던 도중에 아래와 같은 글을 하나 발견하게 되었다. RH9의 새로운 threading의 문제인듯하다..
사무실의 한대 서버에 적용을 해봐야지…. 이것이 해결방안이었으면 좋겠다..

Why does my tomcat server hang and have to be restarted every day?
We have had extensive problems with the Tomcat server hanging on our RedHat 9 systems. It didn’t seem to matter which version of the tomcat 5 server we were using - we saw consistent hangs with all of them. Searching through the web, we found some documentation that described the problem.
It turns out that RH 9 uses a new form of threading, which apparently was incompatible with the tomcat 5 servers. To stop the tomcat server from hanging, it is necessary to revert to an older form of threading.
To do this, insert the following into the catalina.sh file:
LD_ASSUME_KERNEL=2.2.5

export LD_ASSUME_KERNEL
And restart the tomcat server. After doing this, we have not had to restart our tomcat server for over two weeks.
The documentation we’ve seen indicates that this is only effective forRH9 systems, but we haven’t been able to verify that.

Posted by salgunamu
: