Leak of handle is increasing rapidly

3 Posts
3 Users
0 Likes
29 Views
(@c-pinasanzarcinfo-com)
Posts: 42
Trusted Member
Topic starter
 

Hi, A customer has a big leak of memory, and I don't know how to find the source... The architecture is 2 redundant servers, PcVue is running as windows service. The HMI is in FrontVue in another machine. PcVue version 12.0.15. Big project, around 200 000 I/O. Driver OPC DA. Server RAM 16 GB. In each server, only PcVue is running and another little software. I have already read the KB article [KB721], but for this case I think the solution is not good, because PcVue is asking for ThreadPool > 4000 and increasing... I have some LogFiles of the sever (I have remove the FORM.ERR file because too big, 1.6 GB). The leak of handle increases until the OPC communication is blocked, the server goes passive. Not even AE can be opened. But PcVue does not crash. We have also looked at the data flow, and it appears that only the LAN flow is somewhat overloaded (attached video). If you have any clue, do not hesitate to let me know! BR, Claudia

This topic was modified 2 years ago by LM
 
Posted : 20/10/2022 6:17 pm
BO
 BO
(@b-olombelarcinfo-com)
Posts: 196
Reputable Member
 

Hi Claudia,

Did you reproduce the leak memory on a platform ?
A very interesting information is the size of the FORM.ERR, it must be close to 0 !
This file contains mistakes about variable configuration and they must be fixed before deploying the application on site.

Maybe it is not the source of your problem but your customer needs first to work with a clean application.

Hope it helps a little.

xoxo

 
Posted : 20/10/2022 6:56 pm
 GRCH
(@g-chovelonarcinfo-com)
Posts: 26
Eminent Member
 

Hello,
Brice is right
-Test in plateform if possible;
-Check Form.Err;
-Clean the project regarding event viewer (branch problems, change possible delay in Scada basic...);

Also, try to log system variables in order to monitor how fast is growing the leak (and which levels)
-Then try to start in desktop mode and with the customer agreement, stop one hour the OPC comm from PcVue for example and check if the memory leak is still growing; try with other
-Be sure all station have the same project;
-Maybe you could try to update the project with the last update available;
-If you select this parameter, it could avoid some memory leak:

 
Posted : 21/10/2022 3:14 pm