2013年9月13日星期五

Tomcat running for some time to access slow

Tomcat running slow after a period of access , but the cpu, memory, logs are no exception.
------ Solution ---------------------------------------- ----
concurrent high ?
------ Solution ---------------------------------------- ----
is not your webapps following works too much, to be released when the course starts slow .
------ Solution ---------------------------------------- ----
data may be too much pressure on it ......
------ Solution ----------------------- ---------------------
configure connection pool yet ?
------ Solution ---------------------------------------- ----
should be your JVM GC too frequent , especially full collection of GC pause will increase application execution time .
recommend 1.review the code, reducing object creation . 2 Adjust the JVM parameters, such as increasing the size of the heap memory
------ Solution ------------------------ --------------------
go tomcate webapps folder to see this folder , it is estimated deployment project too much, put some useless deleted automatically every time you start the deployment , of course, a waste of time . Later use those files , then redeploy the line.
------ Solution ---------------------------------------- ----



There is a great possibility that is open when the program is running a resource , you do not stop , a start 10 personal interviews , 10 resources are not closed, each additional person access to the system to continue to occupy resources , when system resources are exhausted, you system is very slow, the final collapse of the ~
------ For reference only ----------------- ----------------------

number of users in about 100, concurrency should not be high .
------ For reference only -------------------------------------- -
You have to understand that is how slow. Visit slow ? You can print the log to see what the background is time-consuming step which becomes longer . Network problem is the machine itself , or an intermediate process.
------ For reference only -------------------------------------- -
database data have no problem
------ For reference only ---------------------------- -----------

flex is a project for a client to open the login page is very slow, like after the restart , you can troubleshoot network problems .
------ For reference only -------------------------------------- -

use c3p0 connection pool
------ For reference only ------------------------ ---------------
  This reply was moderator deleted at 2012-04-19 13:07:21

------ For reference only ---------------------------------- -----

deploy only one project, not slow start , is the system running for a few days and then suddenly slow to an almost inaccessible.
------ For reference only -------------------------------------- -
would have to see if you have no resources not released.
------ For reference only -------------------------------------- -
Hello , the landlord now, I have met this problem , how do you solve, please enlighten me ...
------ For reference only ---------- -----------------------------
encountered the same problem , delete the folder into work things inside after the access speed increased a lot. .
------ For reference only -------------------------------------- -
will concurrent high, the server is running will slow down after a certain time you
------ For reference only -------------------- -------------------
I also encountered this problem , the landlord how to solve

没有评论:

发表评论