P
P
phaethoNN2017-07-20 20:06:35
opencart
phaethoNN, 2017-07-20 20:06:35

The server hangs until you come in via RDP?

Good day.
Brief description of the environment. There is a distributed server park of 30+ windows server 2012 r2 machines. Spinning MS SQL server and self-written applications in C # / C ++. This business has been working for 1-3 years (on different servers in different ways). The system locally sends data to an external computer via a peer-to-peer network to a specific application by directly connecting the latter to a given TCP port and server IP.
The essence of the problem. The client (the same application that receives data from the server) is routinely restarted 2 times a day. Over the past week, I have already observed the situation 5 times that the server is 'hanging', i.e. the application connects (port is available), but no data is coming, as if the server is running out of resources. However, as soon as you go to the server via RDP (from any other computer, it doesn’t matter which one), everything starts working as it should and the application is loaded in the same second. We observe this exactly at the moment of restarting the application, it is difficult to say what happens when the application is in operation. This one is absolutely unpredictable, on different machines and at different intervals, so far each time in a new place. The system logs are clean. The feeling that the SQL service freezes, but how to catch it and what it can be connected with, It's clear that an epidemic has begun. .. Do not hang up the trace on all 30 servers. Can anyone come across such witchcraft?)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
web-mechanic, 2019-02-05
@amfetamine

add content loading via ajax

K
Konstantin Tsvetkov, 2017-07-20
@tsklab

Feeling that the SQL service freezes, but how to catch it
SQL has its own log, everything will be written there.

A
Alexander, 2017-07-20
@NeiroNx

Maybe windows suspends the application when users are disconnected. Most likely, you need to run the application as a service, and not as a graphical application with an interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question