CREDITSCOM / node

Credits Node is the main module that provide an opportunity to run a node and participate in CREDITS blockchain network.
https://developers.credits.com/
GNU Affero General Public License v3.0
150 stars 16 forks source link

Memory leak Linux Client node Testnet version 4.2.412.4 #3

Closed Toki1975 closed 5 years ago

Toki1975 commented 5 years ago

Describe the bug Used amount of memory used by Linux client is not stable/regular.

The amount of memory used by the client node is increasing little by little. After starting the node the memory level used is about 800mb, but after a few days as you can see in the attached log file, client use more than 3GB of memory. Which could crash / make unstable the system if the maximum available memory level available is reached.

The attached log file was generated with the following command that checks every minute the amount of memory used by the specified process:

watch -n 60 "pmap -x 5648 | grep total >> /home/credits/Clientmemory_20190516_0844PM.txt"

Where the number 5648 is the PID of the node client process

PID of the node client process is know by the following command:

ps -ef | grep client

The log file containing 8613 lines, which represents 8613 minutes or 5 days, 23 hours and 33 minutes.

Desktop (please complete the following information):

ClientMemory_20190517_0720PM.txt

ksv81 commented 5 years ago

the issue is closed, so a similar question on the new version of the release #10