flexmonster data server error IO

Answered
nam asked on November 25, 2022

2022-11-25 10:17:11.5555|INFO|Flexmonster.DataServer.HostedServices.MonitorUserUpdateService|Monitor User Storage Service is running
2022-11-25 10:17:43.7557|FATAL|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
2022-11-25 10:17:43.7892|FATAL|Flexmonster.DataServer.Program|Timeout in IO operation

 
when I use flexmonster data server as console, it's raise error when query to Mysql. Can you help

Attachments:
Capture.JPG

7 answers

Public
nam November 25, 2022

error log 2

Attachments:
Capture2.JPG

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 25, 2022

Hello, Nam!
 
Thank you for contacting us.
 
Kindly note that you can specify how much time the Data Server should wait for the query to execute by using CommandTimeout property.
For that, specify the time in seconds inside the flexmonster-config.json file as follows:

{
    "DataSources": [
       ...
    ],
    "DataStorageOptions":
    {
        "CommandTimeout": "5" //time in seconds
    },
}

 
You can read more about the CommandTimeout property in our docs: https://www.flexmonster.com/doc/configurations-reference/#CommandTimeout.
 
Please let us know if the suggested property was helpful for your case.
 
Looking forward to hearing from you.
 
Regards,
Solomiia

Public
nam November 26, 2022

it's working well, thanks so much 🙂

Attachments:
Capture3.JPG

Public
nam November 26, 2022

when I use 16gb memory container it work well, but when I use 8gb memory container flexmonster data server doesn't create the log file, do you know reason?

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 28, 2022

Hello, Nam!
 
Thank you for your feedback.
 
We are glad to hear that the suggested CommandTimeout property was helpful.
 
Regarding "when use 8Gb memory container Flexmonster Data Server doesn't create the log file", please find the explanation of the Data Server memory usage below.
It seems to us that 8Gb of RAM is not enough for the Data Server to process the given amount of data.
The Data Server loads all data from the data source and keeps it in the RAM as well as all the aggregations to provide a quick response to every client's request. From our experience, Flexmonster Data Server tends to use 200%-300% of memory compared with the original data size.
 
When starting the Data Server, all logs should be shown in the terminal window. Could you please provide us with the terminal output when running FLexmonster Data Server on 8 Gb of RAM? 
This information would help us greatly to continue the investigation.
 
Looking forward to your response.
 
Regards,
Solomiia

Public
nam November 29, 2022

I resolved it. I used fds ver 2.8, and after update to 2.9 it's working well on 8GB memory
thank you so much 🙂

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 29, 2022

Hello, Nam!

Thank you for your quick response.

We are glad to hear that everything works fine after the update.

You are welcome to ask if any other questions arise.

Regards,
Solomiia

Please login or Register to Submit Answer