-
VadimMest replied to the topic We are seeing a server hang in kbmMW 5.15.10 (TkbmMWDynamicLockFreeHashArray) in the forum kbmMW 2 months, 1 week ago
This is a next idea:
Move FPlugin.Connected(self,AInfo); from BeginWrite/EndWriteYes!
The service has been running for seven days without freezing. -
VadimMest replied to the topic We are seeing a server hang in kbmMW 5.15.10 (TkbmMWDynamicLockFreeHashArray) in the forum kbmMW 2 months, 2 weeks ago
This is a next idea:
Move FPlugin.Connected(self,AInfo); from BeginWrite/EndWriteprocedure TkbmMWCustomTransport.DoConnected(AInfo:IkbmMWCustomTransportInfo);[Read more]
begin
{$IFNDEF KBMMW_NO_TRANSPORT_PLUGIN}
// vad: TLS DoConnect blocks in ReadBytes (blocking recv) during handshake.
// Running inside BeginWrite caused BeginWrite starvation… -
VadimMest replied to the topic We are seeing a server hang in kbmMW 5.15.10 (TkbmMWDynamicLockFreeHashArray) in the forum kbmMW 2 months, 3 weeks ago
It seems working
The server has been running for 3 days without any freezes.No, it is not. It Freezed.
-
VadimMest replied to the topic We are seeing a server hang in kbmMW 5.15.10 (TkbmMWDynamicLockFreeHashArray) in the forum kbmMW 2 months, 3 weeks ago
I’d like to update kbmMW to a newer version, but you’re blocking sales for Russian users. So I’m forced to use version 5.15.
-
VadimMest replied to the topic We are seeing a server hang in kbmMW 5.15.10 (TkbmMWDynamicLockFreeHashArray) in the forum kbmMW 3 months ago
I tried this fix
// FTimingHash:=TkbmMWLockFreeHashArray32.Create(100)
FTimingHash:=TkbmMWLockFreeHashArray32.Create(4096)It seems working
The server has been running for 3 days without any freezes. -
VadimMest started the topic We are seeing a server hang in kbmMW 5.15.10 (TkbmMWDynamicLockFreeHashArray) in the forum kbmMW 3 months ago
Dear Kim
We are seeing a server hang in kbmMW 5.15.10 and the current strongest suspicion is not our service code anymore, but the kbmMW lock-free infrastructure, specifically TkbmMWDynamicLockFreeHashArray / TkbmMWLockFreeHashArray.Contains, apparently related to FOngoingRequests.
Our local source tree shows:
kbmMW 5.15.10 Mar 29 2021:…[Read more]
-
VadimMest started the topic Sometime I see AV in destructor TkbmMWCustomTCPIPIndyClientTransport.Destroy; in the forum kbmMW 8 months ago
destructor TkbmMWCustomTCPIPIndyClientTransport.Destroy;
begin
if FSocket<>nil then
begin
try
Disconnect;
except
end;
end;
FSocket.free;
FSocket:=nil;
inherited;
end;I think it is needed to be changed on
destructor TkbmMWCustomTCPIPIndyClientTransport.Destroy;
begin…[Read more] -
VadimMest commented on the post, kbmMW WIB #2 – The Wide Information Bus – Messages and message queues 9 months, 1 week ago
Hi Kim. Where can I see an example of using TkbmMWMultithreadMessageQueueProcessor? Thanks.
-
VadimMest replied to the topic Question about article "REST easy with kbmMW #20" in the forum kbmMW 2 years, 5 months ago
This may be an issue in Swaggers scripts.
-
VadimMest replied to the topic Question about article "REST easy with kbmMW #20" in the forum kbmMW 2 years, 5 months ago
I tried this url
/myserver/api = /myserver/api
I didn’t change your server description
[kbmMW_Rest(‘path:/myserver’)]
…
[kbmMW_Rest(‘method:get, path: “api”, responseMimeType:”application/x-yaml”‘)]
function OpenAPI:string;The OpenAPI function is not called and Server…[Read more]
-
VadimMest replied to the topic Question about article "REST easy with kbmMW #20" in the forum kbmMW 2 years, 6 months ago
Yes.
I installed Swager UI. Server doesn’t call a function OpenAi (?url=/myserver/api) -
VadimMest started the topic Question about article "REST easy with kbmMW #20" in the forum kbmMW 2 years, 6 months ago
Hello
I tried run this thing on DemoSimpleInvocationServer
I removed the “strict” directive but url http://127.0.0.1:888/myserver/api/index.html?url=/myserver/api doesn’t call OpenApi function and Swagger shows defaule api (Pet Store)
How can I fix it?Thanks
-
VadimMest commented on the post, REST easy with kbmMW #20 – OpenAPI and Swagger UI 2 years, 6 months ago
>gives me back a “Request not supported”. I followed the instructions as best as possible. Remove “strict” for service description and Swagger will be work [kbmMW_Service(‘name:SMARTDEMO, version:1.0, min […]
-
VadimMest started the topic Function TkbmMWJSONStreamer.ExpectNumber doesn't work with exp floating values in the forum kbmMW 3 years, 2 months ago
Hi
Error with parsing float values with exp values (like 1.2E+7 or 1.2E-8)
I think this function needs to be changed
function TkbmMWJSONStreamer.ExpectNumber(var AIsInteger:boolean):double;
var
sb:TkbmMWStringBuilder;
bDot:boolean;
bExp:boolean;
begin
bDot:=false;
bExp:=false;
sb:=TkbmMWStringBuilder.Create;
try
while…[Read more] -
VadimMest started the topic Remote Desktop Demo doesn't work if it is compiled in kbmMW 5_14, 5_15 in the forum kbmMW 4 years, 2 months ago
Hello
The Remote Desktop Demo doesn’t work if it is compiled in kbmMW 5_14, 5_15 and it works if it is compiled in 5_13_10. There seems to be a problem with FScreenLock.BeginWrite.
Did someone is able to collect this project?
Thanks
Vadim Mescheryakov -
VadimMest started the topic Error in function TkbmMWRemoteDesktopServer.GetScreenGDI in the forum kbmMW 4 years, 2 months ago
Hello
I am trying to use Remote Desktop on computer with UAC. I use the server with the service but this isn’t resolve a problems.
The First problem: The client shows white screen when Windows shows the UAC dialog. ( BitBlt generates the error 6 (Wrong Handle))
This can be fixed with this…[Read more] -
VadimMest commented on the post, What should I use for writing database centric desktop applications? 4 years, 5 months ago
This is a simple example. You can use the script from a file on kbmMW server. It can be used for changing the servers logic without changing a servers code.
unit Unit24;
interface
uses
Winapi.Windows, […] -
VadimMest commented on the post, What should I use for writing database centric desktop applications? 4 years, 5 months ago
I use FastScript as a scripts interpreter in my projects. it’s very powerful
-
VadimMest commented on the post, What should I use for writing database centric desktop applications? 4 years, 6 months ago
I have been using kbmMW in desktop applications for 10 years, I am a fan. It’s a good framework. It works cool. But it is also a big pain:
1. The weak documentation. I can’t understand some approaches or methods. […] -
VadimMest replied to the topic No matching handle found. Complain. It must have been garbage collected or a wro in the forum kbmMW 4 years, 7 months ago
The version control system needs to refresh handles for new versions of files.
The operator runs the program (a client for version control). This program checks new files on the version control system (main application exe, the FastReport templates), downloads them on the client’s computer and runs the main application. I need to refresh files on…[Read more]
- Load More
