[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Urgent alarms  XML
Forum Index » M2M general discussion
Author Message
Antsu

Initiate

Joined: 18/11/2009 00:53:40
Messages: 22
Offline

Hello,

Sometimes, often at midnight appear urgent alarms. Most of them are involving in modbus. How I can get out of them? For example ”'Modbus": time (SI31): Illegal function” is strange alarm, because that value is correct most of time. List of last night’s alarms are in attachment.
At midnight Mango update many of calculations (day, min/max, month values) Could that be a reason?

About load is another question. I have cpu idle time logging in my Mango. That is nicely changing on the hour??? Is that normal situation or is that computer some disease/bug? Also graphic is in attachment.

Best regards
Antsu
 Filename Cpu idle.jpg [Disk] Download
 Description
 Filesize 140 Kbytes
 Downloaded:  14 time(s)

 Filename Mango errors.docx [Disk] Download
 Description
 Filesize 25 Kbytes
 Downloaded:  28 time(s)

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1506
Offline

Hi Antsu,

There aren't many details to go on here. It may be that your calculations are very processor intensive, resulting in the cpu levels you see. A way to know better is to run "top" on the box and see what process is the most consumptive.

If it is Mango, and assuming that the calculations are in meta point scripts, it may be useful to see the scripts that are running. Also, if you are using Derby as a database the amount of history for the points in question may be an issue. It may be relatively quick to convert to MySQL to see if you get better results.

Regarding the "Illegal function" message, that is the message returned from your modbus device. Perhaps some tracing of messages is necessary to see what is going on.

Best regards,
Matthew Lohbihler
Antsu

Initiate

Joined: 18/11/2009 00:53:40
Messages: 22
Offline

Thank you for help.

Metapoint script was really reason for that load. Script’s update was cron pattern * * 0/2 * * ? Min/max value was calculated every 2 hours and whole hour. Minute set helped with that.

Also modbus illegal function problem was solved. It was all about timing. Mango’s Modbus updating interval was 30s. Mango writes that value to PLC every one minute. Modbus was updating when second where 15 and 45 and pointlink to modbus 00. I changed pointlink updating when seconds are 25 and no more errors.

My database is now almost 3 GB. Should I take MySQL in use? How that happens? Could that instruction still works? http://mango.serotoninsoftware.com/forum/posts/list/185.page ?
Which database “The shiny new version of Mango” use? Could that old data be transferred to that?

BR
Antsu
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1506
Offline

M2M2 supports Derby, MySQL, and MSSQL. But, there is no automatic conversion between M2M and M2M2 yet. The best option so far is to use import/export, but your historical data won't be moved over.

Best regards,
Matthew Lohbihler
 
Forum Index » M2M general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team