- This topic has 14 replies, 2 voices, and was last updated 5 years, 7 months ago by
Babis Michael.
-
AuthorPosts
-
-
May 31, 2020 at 17:40 #54865
Babis MichaelParticipantHello,
After running the server for a couple hours i start to get reports of “Freed object class: Unknown” with FastMM5.
FastMM5 Debug Log: https://www.creationpower.gr/EventLog.txt
Any ideas ?
Thank you
-
May 31, 2020 at 19:58 #54866
kimbomadsen
KeymasterI can see two of them are related to ElevateDB indexes being freed. kbmMW as such do not do anything with EDB indexes, however what I notice is that you have several debugging layers enabled, MadExcept (which seems to trigger first in all cases), kbmMW’s memory debugging and finally FastMM5’s tracker.
I wonder if MadExcept is “doing something”?
-
May 31, 2020 at 23:26 #54867
Babis MichaelParticipantHello,
I disabled kbmdebugmemory and madexcept so the new log is pure FastMM5:
https://www.creationpower.gr/EventLog2.txtThank you
-
June 1, 2020 at 13:25 #54868
kimbomadsen
KeymasterThanks.
It looks like that the transport is not disconnected before application shutdown. Can you add a transport.DontListen call and see if the errors disappears?
best regards
Kim/C4D
-
June 1, 2020 at 21:07 #54878
Babis MichaelParticipantHello,
The server isn’t shutting down when the error occurs!
It usually does this when the user is loggin/out.Thank you
-
-
-
-
June 11, 2020 at 15:11 #54911
Babis MichaelParticipantKim,
Do you have any idea how to debug this in order to find the problem ?Thank you
-
June 21, 2020 at 20:50 #54941
kimbomadsen
KeymasterHi,
Im not aware about any reuse of freed objects in kbmMW. There can be issues on shutdown, if things are not closed in an orderly fashion, but that is not the case you are seeing.
I have many apps that are running 24×7 using kbmMW messaging that do not exhibit any instabillity issues.
I will however, get a license for FastMM5 and check it out more closely.
best regards
Kim/C4D
-
-
July 7, 2020 at 20:27 #54953
Babis MichaelParticipantHello Kim,
Any news on this ?-
July 10, 2020 at 19:55 #54958
kimbomadsen
KeymasterHi,
I have just run some tests using FastMM5 sending batches of 10001 messages using the WIB in handshake mode (the most complex way of using the WIB because it will attempt retransmission if handshake has not been received for a group of messages within a certain time), on a memory constrained system, sending a million messages from a client node to the server node, and have had no complaints at all from FastMM5.
What I however did discover, is that FastMM5 do not tolerate kbmMW’s memory debugger to be activated at the same time. Then various memory access exceptions will occur in FastMM5 code.
-
-
July 15, 2020 at 10:35 #54965
Babis MichaelParticipantHello Kim,
Well to me after while it freezes the connections/server.
I’ll try to make out a sample project, where can i send it ?Thank you
-
July 15, 2020 at 16:31 #54966
kimbomadsen
KeymasterHi,
Please send a simple sample (not requiring 3rdparty controls/databases) to kbm@components4developers.com
best regards
Kim/C4D
-
-
September 12, 2020 at 02:01 #55072
Babis MichaelParticipantHello Kim,
I moved the data from EDB to SQL Express, removed all EDB components, added the necessery MSSQL components to my Server and the problem dissapeared! (No errors or anything for about 12 hours so far)Can you please check the code of the EDB Sever components that can lead to deadlocks or these kind of FastMM5 reports ?
Thank you
-
September 12, 2020 at 02:21 #55073
Babis MichaelParticipant-
September 13, 2020 at 14:28 #55082
kimbomadsen
KeymasterAh… ok… that will be a problem then….
Since each thread will need to instantiate its own database connection when needed, you should move the connection pool onto the query service instead.It will defeat the connection pool mechanism, but will ensure that the connection is living in the thread space of the query service instance.
-
September 13, 2020 at 16:35 #55083
Babis MichaelParticipantI’ve modified kbmMWEDB to create a new session with lock and it seems to be working! As soon as i finish the testing i’ll send you the fix!
Thank you
-
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.
