Mikhail

Forum Replies Created

Viewing 15 posts - 5,881 through 5,895 (of 6,282 total)
  • Author
    Posts
  • in reply to: Communicator using 100% CPU #1063
    Mikhail
    Moderator

    Thanks!
    I will try to “Install lantronix virtual serial COM port software on your computer and connect to my device over the Internet”.

    If I can’t connect then try to “direct access to the computer running communicator (i.e.: teamviewer) to do ANY tests”

    Let’s continue on the next week, OK?

    in reply to: Firefox left w/ graphs open overtakes RAM #1062
    Mikhail
    Moderator

    Hm, scrollbar used to be, but disappeared )

    in reply to: Firefox left w/ graphs open overtakes RAM #1056
    Mikhail
    Moderator

    Of course. I do the best to make this moment closer.

    in reply to: Communicator using 100% CPU #1055
    Mikhail
    Moderator

    I need somehow to reproduce the problem on my PC. Do you have any idea how to do it?

    in reply to: I cant see Scada Comunicator window #1052
    Mikhail
    Moderator

    SCADA-Web is installed incorrectly. Try reinstall SCADA-Web. If the installer shows error, post it here.

    in reply to: Firefox left w/ graphs open overtakes RAM #1051
    Mikhail
    Moderator

    My results for the current version of SCADA-Web after 1 or 2 hours of work:
    FF – changed: 1.2GB => 400 MB => 600MB => 20MB – freeze
    IE – increased to 600MB – freeze
    Edge – changed: 15MB => 3MB, but background Edge process 2GB
    Chrome – changed: 25MB => 15MB, but background Chrome process eats RAM, sometimes page can’t be displayed and memory is cleared – not fair

    I will try with old jQuery. The jQuery ticket that you found is very interesting.

    New scheme engine after the night:
    FF – 130MB
    Chrome – 17MB + 21MB background Chrome process

    in reply to: Communicator using 100% CPU #1050
    Mikhail
    Moderator

    It’s already done, that’s what is weird!

    Did you mean that Delay after request cycle parameter solves the problem?

    in reply to: Failure in connect with OPC server #1049
    Mikhail
    Moderator

    Is it a screenshot of your OPC server?

    in reply to: Firefox left w/ graphs open overtakes RAM #1042
    Mikhail
    Moderator

    Periodically I do similar tests. I should repeat them.
    That’s funny, but a few years ago SCADA-Web run stable on IE for days. And Chrome supported Silverlight 🙂
    I think that the cause of memory leak is reloading frames within web page. This approach is outdated and will be changed to REST API.

    in reply to: Communicator using 100% CPU #1041
    Mikhail
    Moderator

    Shouldn’t apply delay in case of any error too?

    I think that you did is enough.

    Where can I get it?

    It will be included in the next version. In case we found the workaround I think you shouldn’t update Communicator. But if you wish, I can send it by email.

    in reply to: Communicator using 100% CPU #1039
    Mikhail
    Moderator

    As I realized the most fast communication if UDP is used directly for a serial converter without virtual port and C:\SCADA is ignored by anti-virus system.

    in reply to: Communicator using 100% CPU #1038
    Mikhail
    Moderator

    Without a delay Communicator tries to write in the loop. So CPU become loaded.
    I will add the fix in the core of Communicator.

    Does the connection repair automatically or you need to restart Communicator?

    in reply to: Communicator using 100% CPU #1035
    Mikhail
    Moderator

    I have an idea:
    set Delay after request cycle parameter of the communication line to 100
    Please write about the result

    in reply to: Communicator using 100% CPU #1033
    Mikhail
    Moderator

    Unfortunately, write method is very simple:

            public override void Write(byte[] buffer, int offset, int count, 
                CommUtils.ProtocolLogFormats logFormat, out string logText)
            {
                try
                {
                    SerialPort.DiscardInBuffer();
                    SerialPort.DiscardOutBuffer();
    
                    try
                    {
                        SerialPort.Write(buffer, offset, count);
                        logText = BuildWriteLogText(buffer, offset, count, logFormat);
                    }
                    catch (TimeoutException ex)
                    {
                        logText = CommPhrases.WriteDataError + ": " + ex.Message;
                    }
                }
                catch (Exception ex)
                {
                    throw new InvalidOperationException(CommPhrases.WriteDataError + ": " + ex.Message, ex);
                }
            }
    

    It drops on SerialPort.Write, where SerialPort is standard .NET class.
    Probably serial port driver causes CPU load.
    Does your converter support direct connection as TCP client or TCP server without virtual port?
    For instance, Moxa NPort converter works correctly if connection is lost.

    in reply to: Firefox left w/ graphs open overtakes RAM #1031
    Mikhail
    Moderator

    Is there any known memory leakage that could make this?

    Chart component uses JavaScript and web service. JavaScript has auto memory management and should work correctly. Let’s compare with other browsers. Close all other pages except chart.

Viewing 15 posts - 5,881 through 5,895 (of 6,282 total)