service consuming m…
 
Notifications
Clear all

[Solved] service consuming memory

38 Posts
2 Users
0 Reactions
2,336 Views
Posts: 78
Topic starter
Estimable Member
Joined: 5 years ago

@jdixon

Hi Jacob, since our last session we still experience issues with password sync for users from AD to CP.

Here is the log output:

[2022-02-24 11:05:00,464] | INFO | GetCPUsers | Executing job: Updating Active Directory users with data from CloudPanel
[2022-02-24 11:05:00,474] | INFO | ProcessCPPasswordChanges | Executing job: Processing passwords that were changed in CloudPanel.
[2022-02-24 11:06:33,464] | ERROR | SendADUsers | Error sending AD users to company ECP in CloudPanel: . Status Code: 0
[2022-02-24 11:07:00,143] | INFO | SendADUsers | Executing job: Updating CloudPanel users with changes on Active Directory users.
[2022-02-24 11:09:27,824] | ERROR | SendADUsers | Error sending AD users to company ECP in CloudPanel: . Status Code: 0
[2022-02-24 11:10:00,109] | INFO | ProcessADPasswordChanges | Executing job: Sending local password changes to CloudPanel.
[2022-02-24 11:10:00,140] | INFO | GetCPUsers | Executing job: Updating Active Directory users with data from CloudPanel
[2022-02-24 11:10:00,140] | INFO | ProcessCPPasswordChanges | Executing job: Processing passwords that were changed in CloudPanel.
[2022-02-24 11:10:00,406] | INFO | SendADUsers | Executing job: Updating CloudPanel users with changes on Active Directory users.
[2022-02-24 11:10:00,484] | ERROR | ProcessADPasswordChanges | Error processing active directory password changes: System.NullReferenceException: Object reference not set to an instance of an object.
at RestSharp.RestClientExtensions.<ExecuteAsync>d__11`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RestSharp.RestClientExtensions.<GetAsync>d__14`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CloudPanel.SyncService.Tasks.ProcessADPasswordChanges.<GetUserCompanyCode>d__4.MoveNext() in C:\Users\Jacob\Documents\GitHub\CloudPanel.ADSyncService\CloudPanel.ADSync\Tasks\ProcessADPasswordChanges.cs:line 238
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CloudPanel.SyncService.Tasks.ProcessADPasswordChanges.<Execute>d__1.MoveNext() in C:\Users\Jacob\Documents\GitHub\CloudPanel.ADSyncService\CloudPanel.ADSync\Tasks\ProcessADPasswordChanges.cs:line 83

Reply
11 Replies
Admin
Joined: 10 years ago

Noble Member
Posts: 1607

@ad-it-dept ok, we will take a look. Is the memory issue resolved though?

Reply
Joined: 5 years ago

Estimable Member
Posts: 78

@jdixon Yes, it takes less than 50MB of RAM now.

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1607

@ad-it-dept Is this working better now? Just checking in.

Reply
Joined: 5 years ago

Estimable Member
Posts: 78

@jdixon Thank you for reaching back, yes, it does not go over 50MB of RAM anymore.

When can we expect it to be officially available for installation?

Reply
Joined: 5 years ago

Estimable Member
Posts: 78

@jdixon Hi, coming back to the question, Can we proceed with updating other Domain Controller servers in forest with the latest AD Sync version?

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1607

@ad-it-dept are you talking about 2019 or 2022? Ww have not tested 2022 yet but the code for password filters didn’t change in the OS so it should work with no problems. My only concern would be the installer not recognizing the 2022 operating system.

Reply
Joined: 5 years ago

Estimable Member
Posts: 78

@jdixon Server 2019. There was issue with memory leak that was fixed, but after installation we were facing issues with passwords not syncing. You were connecting to check that and did some manipulations.

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1607

@ad-it-dept let me check when i get to the office today. It sounds like I forgot to send you the new installer but yes it will work on 2019

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1607

@ad-it-dept I was advised not to send the latest build because of an issue with a library we are using. Just wanted to update you but he said it should be ready by end of day Monday (CST)

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1607
Joined: 5 years ago

Estimable Member
Posts: 78

@jdixon thank you, will revert once installed and tested (within this week).

Reply
Page 2 / 2
Share: