Skip to main content
Inspiring
January 26, 2009
Question

Core keeps restarting

Once or twice a day my FMS Core with it's application restarts. As far as I see it happens when FMS runs on certain part of server side code that sets properties in shared object very fast (in for loop), for instance:

for (k = 0; k < sharedObjectNamesArray.length; k++)
{
application[sharedObjectNamesArray].setProperty(propName, propValue);
}

Log in my Core is:

#Fields: date time x-pid x-status x-ctx x-comment
2009-01-26 01:19:58 31823 (i)2581247 Core (31823) disconnected from edge. -
2009-01-26 01:19:58 31823 (i)2581233 Core (31823) disconnecting from admin. -
#Date: 2009-01-26
#Fields: date time x-pid x-status x-ctx x-comment
2009-01-26 01:19:59 29582 (i)2581237 Starting admin app on core (29582). -
2009-01-26 01:19:59 29582 (i)2581238 Core (29582) connecting to admin. -
2009-01-26 01:19:59 29582 (i)2581231 Core (29582) connected to admin. -
2009-01-26 01:19:59 29582 (i)2581234 Core (29582) connection to admin accepted. -
2009-01-26 01:19:59 29582 (i)2581246 Core (29582) sending register cmd to edge. -
    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    Inspiring
    January 26, 2009
    have you tried locking the shared object? Not that it should fail to begin with, but might be worth a try.
    Translate
    dejanp777Author
    Inspiring
    January 26, 2009
    thanx for replay charlie832, yes I tried it, lock before setProperty and unlock after, same result. I noticed that if "for loop" loops less number of times then restart happens rarely.
    Translate
    Inspiring
    January 26, 2009
    if you are just setting the one property per shared object then i guess lock wouldn't really do anything, I thought maybe you were setting multiple properties in a bigger loop.
    Translate