You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/29 06:28:11 UTC

[GitHub] [skywalking] xuanyu66 opened a new issue #6639: PersistenceTimer Performance cause full GC frequent

xuanyu66 opened a new issue #6639:
URL: https://github.com/apache/skywalking/issues/6639


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [X] Feature or performance improvement
   
   ___
   ### Requirement or improvement
   - We face full gc issue lately,I dump the heap and found that PersistenceTimer occupied most of heap memory
   ![image](https://user-images.githubusercontent.com/17768378/112794457-7a3ac500-9099-11eb-8414-24ade8a38c22.png)
   - I looked into code, found that PersistenceTimer use one thread persistence Metrics synchronously and periodically(5s)
   - When peak traffic arrives, persistence time explode sharply and next persistence will delay (scheduleWithFixedDelay), which cause Metrics increase next time. It is vicious circle.
   ![image](https://user-images.githubusercontent.com/17768378/112795248-d6eaaf80-909a-11eb-94bf-91bca1fc07ad.png)
   - I want to konw, why metrics need to persist synchronously, can we just persist like record
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #6639: PersistenceTimer Performance cause full GC frequent

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6639:
URL: https://github.com/apache/skywalking/issues/6639


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6639: PersistenceTimer Performance cause full GC frequent

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6639:
URL: https://github.com/apache/skywalking/issues/6639#issuecomment-809109128


   Read #6472 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org