1. Joy Gupta
  2. PowerBuilder
  3. Tuesday, 12 November 2024 18:32 PM UTC

hi,

 

Our Windows application server (2022) keeps going down with below error message. We have our PB 2022 R2 application hosted on this server..

Windows Management Instrumentation has stopped WMIPRVSE.EXE because a quota reached a warning value. Quota: ThreadCount  Value: 259 Maximum value: 256 WMIPRVSE PID: 53864 Providers hosted in this process: C:\Windows\System32\wbem\WmiPerfClass.dll, C:\Windows\System32\wbem\WmiPerfClass.dll

the error implies Application Queries using the WMI process ...that it has a Thread limit of 256 .... and the error implies it found 259 

 

We dont know whats causing this as we didnt had this issue before we migrated to PB 2022 R2.. The Oracle version we are using is 19c in case anybody needs to know. This is affecting our production and always bringing primary server down and inaccessible by Infrastructure team as well.. only workaround is to reboot server so far.

Would appreciate any advise to fix the same.  

Thanks,

Joy

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 November 2024 19:12 PM UTC
  2. PowerBuilder
  3. # 1
Comment
There are no comments made yet.
Joy Gupta Accepted Answer Pending Moderation
  1. Tuesday, 12 November 2024 20:07 PM UTC
  2. PowerBuilder
  3. # 2

hi Chris,

 

We already reviewed this article but no help so far..any other way you can guide please?

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 12 November 2024 22:00 PM UTC
Can you tell us ..

1) Recent changes to the 2022 machine?

2) Using Citrix, etc?

3) Accessing the App via RDT, etc?

4) Does the App work OK if installed locally on W10/W11?

FYI: PB 2022R2 used the VC++ 2019 compiler for the IDE & runtime. whereas PB 2022 R3 uses VC+ 2022. FWIW: Might be interesting to try PB 2022 R3 (latest MR) and see if that helps. Just a thought.

Regards .. Chris
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 12 November 2024 21:03 PM UTC
  2. PowerBuilder
  3. # 3

Is your PB application accessing WMI? If the PB application is overloading the WMI service, you'll have to do something to lessen that.

Comment
  1. Joy Gupta
  2. Tuesday, 12 November 2024 21:13 PM UTC
We have never used or know how to use WMI in our application.. so a bit surprised when infra team said its your application or PB version causing it.
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 12 November 2024 21:05 PM UTC
  2. PowerBuilder
  3. # 4

Hi, Joy -

From the limited info you have supplied, it looks as if your application is querying Windows Management Instrumentation (WMI) services to obtain performance information. Can you verify this? If so, what information is being queried and how often does the app issue the query/queries to WMI?

The app is executing on a Windows server? Was the previous version of the app also running on the same Windows Server 2022 machine? Has anything changed besides the PB version used to produce the application?

Are multiple users running the app on the server simultaneously? If so, how many?

Best regards, John

Comment
  1. Joy Gupta
  2. Tuesday, 12 November 2024 21:19 PM UTC
hi John,

I have a finance application which is coded using PB and Oracle. We have no use or know how of obtaining any performance report..

The application is executing on windows server. Before migration we were using PB 2017 on Windows 2016. Post migration we are on windows 2022 and PB 2022 as well. We never saw this issue in previous version. Everytime this issue happens it puts the server in not reachable state till we do reboot. its affecting our production and impacting business. Today was 3rd time it happened. We migrated in april 2024. The issue occurred on 7/31, 8/22 and 11/12. Cant find a pattern yet.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.