origoni's Blog from Millky

origoni의 스프링 블로그 입니다.

가상서버위의 톰켓서버 설정

vi /wecon/tomcat/conf/server.xml 웹서버 포트


    maxThreads="500" minSpareThreads="25" URIEncoding="UTF-8" 

    maxSpareThreads="75" enableLookups="false" acceptCount="100" 

    debug="0" disableUploadTimeout="true" bufferSize="2048" 

    maxProcessors="350" minProcessors="5" proxyPort="0" scheme="http" 

    secure="false" tcpNodelay="true" useURIValidationHack="false" 




vi /etc/profile 끝에서 3 (메모리 2기가 기준)


export JAVA_OPTS="-Xms512m -Xmx1536m -XX:MaxPermSize=256m" 




네트워크 리셋


rm -rf /etc/udev/rules.d/70-persistent-net.rules



back to top