Questions tagged [heartbeat]

Heartbeat (as of version 3.x) is a cluster messaging layer, often combined with pacemaker as the cluster resource manager.

A detailed explanation, including historical notes, can be found at: http://www.linux-ha.org/wiki/Heartbeat

262 questions
3
votes
0 answers

Flink - TimeoutException: Heartbeat of TaskManager with id someId timed out

It's similar to this question Albeit I'm running the executable jar locally (with java -jar command). I use 180G for the jvm heap max size and the exception was thrown at about 110G of usage after about 37…
Manos Ntoulias
  • 513
  • 1
  • 4
  • 21
3
votes
1 answer

Beat Detection from line in

I wan't to try some beat detection algorithms from here in Java. My problem: How do I get the current audio mix from the soundcard as datasource for the algorithms?
multiholle
  • 3,050
  • 8
  • 41
  • 60
3
votes
1 answer

Packet Interceptor (.net)

I have some software that will disconnect itself from the main server if activity in the program goes idle. From my understanding, I need to intercept some for of heartbeat packet or something and then replicate and send it every couple of seconds.…
Freesnöw
  • 30,619
  • 30
  • 89
  • 138
3
votes
3 answers

Debugging Erlang heart timeouts

I use the heart program to restart an Erlang node when it becomes unresponsive. However, I am finding it hard to understand why the node freezes. SASL logs don't show any errors, and my own logs don't seem to show anything remarkable happening at…
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
3
votes
0 answers

How to respond to TLS heartbeat in openssl

I am writing a TLS server that responds to a incoming TLS heartbeat request. I am using OpenSSL 1.0.2g . Following is my server code (modifed from openssl/demos/ssl) #include #include #include #include…
Keshava
  • 702
  • 1
  • 7
  • 20
3
votes
0 answers

How to use STOMP heartbeats in web and spring?

Now I'm using stomp to connect from web to server. I know STOMP has a heartbeat mechanism after v1.1, also I've already set it successfully. But I don't know how to detect/catch PING/PONG frame and handle it. The code in web like this: …
Ruochen Xu
  • 96
  • 1
  • 7
3
votes
1 answer

Rabbit MQ idle connection dropped

I have a .NET windows service running as a consumer/subscriber which is listening to a queue for messages. The windows service is running on the same machine as where rabbit mq server s/w is installed. The queue if idle for 60 minutes results in the…
3
votes
3 answers

Close event of Excel add-in/file/program or check if the opener is still alive

I am making an Excel add-in by Excel JavaScript API. There is a button in this add-in, clicking on it launches window.open("https://localhost:3000/#/new/", "popup", "width=1000, height=1100") and popups a browser window. The new page is built by…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
3
votes
1 answer

docker - in production - HA

how to run docker in production, with a active/active or active/standby HA system? are there any guides or best practices? i am thinking of 3 scenarios: 1) NFS - for two servers - wich are prepped with docker-machine and mounting a shared NFS to…
Helmut Januschka
  • 1,578
  • 3
  • 16
  • 34
3
votes
1 answer

ZMQ Pattern Dealer/Router HeartBeating

I have a Dealer socket in client side, who is connected to Router socket in server side. I often see Heartbeating mechanism : the server regularly send message to the client in order that client knows if he is correctly connect to the server, so the…
igor
  • 495
  • 1
  • 4
  • 16
3
votes
0 answers

Implementing a Heart Beat In PHP With STOMP

I am conecting to a feed using the STOMP protocol in PHP Because there are not many messages coming from the feed I believe my script thinks I have lost connection and the below error pops out:- Uncaught exception 'StompException' with message…
user2635961
  • 379
  • 3
  • 19
3
votes
1 answer

Setting up Rabbit MQ Heartbeat with Kombu

Edit: The main issue is the 3rd party rabbitmq machine seems to kill idle connections every now and then. That's when I start getting "Broken Pipe" exceptions. The only way to gets comms. back to normal is for me to kill the processes and restart…
3
votes
1 answer

How does Stack Exchange check for new posts/comments?

I've been watching the "Network" section in the Chrome developer tools to see what activity there is on a new and active post here at Stack Overflow. I expected to see periodic network activity to check a script for updated elements on the page…
Luke
  • 22,826
  • 31
  • 110
  • 193
2
votes
0 answers

detect light pulse from camera

I'm trying to implement an heart beat detector algorithm for iPhone It's for educational purposes considering the fact that there are already several apps doing that... I've got this functions to get the variation of colors in my frames... -…
Progeny
  • 672
  • 1
  • 11
  • 25
2
votes
3 answers

Scalable algorithm to detect stale data

Here is the problem: "Agents" installed on many different servers send "heartbeat" signals up to a central server every 5 seconds. How can I find the ones that have missed their heartbeat for more than 10 seconds actively and raise an alert? The…
Khash
  • 2,500
  • 4
  • 30
  • 56