Support Forums

service consuming m...
 
Notifications
Clear all

service consuming memory


AD IT Dept
Posts: 36
Topic starter
(@ad-it-dept)
Eminent Member
Joined: 2 years ago

AD Sync Service is consuming a lot of memory while running. We have to schedule service restart each night to release consumed memory.

Otherwise service won`t release memory and continue to eat more.

15 Replies
Jacob Dixon
Posts: 1302
Admin
(@jdixon)
Illustrious Member
Joined: 7 years ago

Can you please let me know what version you are running and how much memory it is consuming?

Reply
2 Replies
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

@jdixon Version is latest: 1.0.71.0 but was noticed also on previous version as well. Before scheduling service restarts it went up to 3-4Gb, now over one day time (24h) it may consume 1 GB of RAM.

Reply
Jacob Dixon
Admin
(@jdixon)
Joined: 7 years ago

Illustrious Member
Posts: 1302

@ad-it-dept Please give me until tomorrow to respond while we look it over.

Reply
Jacob Dixon
Posts: 1302
Admin
(@jdixon)
Illustrious Member
Joined: 7 years ago

It does appear there is a memory leak and we are looking into it trying to track it down. I will update you as soon as we find something and release an updated version.

Reply
Jacob Dixon
Posts: 1302
Admin
(@jdixon)
Illustrious Member
Joined: 7 years ago

We are still troubleshooting this and trying to track down the memory leak.

Reply
Jacob Dixon
Posts: 1302
Admin
(@jdixon)
Illustrious Member
Joined: 7 years ago

We are having some trouble narrowing down the exact cause of the memory leak due to it being in native libraries and not our .NET managed libraries. As a test, can you stop and disable the CloudPanel Sync Service on the server you are noticing the memory issue on, then go to C:\Program Files\Know More IT\Sync Service and right click on CloudPanel.SyncService.exe and run as administrator? This will cause it to run as a console app and will need you to leave a user logged in. What we are trying to determine is if it is only doing this when ran as a service.

Reply
9 Replies
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

@jdixon did that, waiting for results, will revert within next 2-3 days.

Reply
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

it consumed 3,5GB of RAM since previous comment.

Reply
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

now it is up to ~7GB of consumed RAM.

Reply
Jacob Dixon
Admin
(@jdixon)
Joined: 7 years ago

Illustrious Member
Posts: 1302

@ad-it-dept That is growing way faster than ours is in our lab. We have a new build we are testing but how many users are in this domain and what sync interval do you currently have it set to?

Reply
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

@jdixon User account count is under 2000, sync interval currently set to 5 minutes.

Reply
Jacob Dixon
Admin
(@jdixon)
Joined: 7 years ago

Illustrious Member
Posts: 1302

@ad-it-dept We were able to reproduce this situation with various counts of users and have it fixed now. There was a memory leak because we were not properly disposing of an object containing the list of users. Do you have a server you can deploy the new version on? Code was changed, so I assume you want to test it on a server first.

Reply
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

@jdixon Great news! Ready to install, we do have one server prepared to test.

Thank you.

Reply
Jacob Dixon
Admin
(@jdixon)
Joined: 7 years ago

Illustrious Member
Posts: 1302

@ad-it-dept Please stop the CloudPanel Sync Service, download this zip file and overwrite the files from this zip file with yours (you can merge them with explorer). Then start the sync service and keep an eye on the log file.

Reply
AD IT Dept
(@ad-it-dept)
Joined: 2 years ago

Eminent Member
Posts: 36

@jdixon strange thing with the attached file.

Reply
Share:
X