0

I noticed that we have two heartbeats. From the IIS log:

...
2011-01-18 00:07:35 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 231
2011-01-18 00:07:36 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 194
2011-01-18 00:07:50 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 276
2011-01-18 00:07:51 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 172
2011-01-18 00:08:05 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 304
2011-01-18 00:08:07 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 193
2011-01-18 00:08:21 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 271
2011-01-18 00:08:22 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 180
2011-01-18 00:08:36 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 282
2011-01-18 00:08:36 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 196
2011-01-18 00:08:51 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 297
2011-01-18 00:08:51 ::1 GET /heartbeat.asp - 82 - ::1 FogBugz+Maintenance+Service/7.0+(Windows)+(http://fogbugz.com/) 200 0 0 184
...

Is this normal?

If there is more info needed, I'll be happy to provide it.

flag

1 Answer

3

Yes, it is bad. While heartbeat sets a lock and does detect whether it is locked or not, multiple heartbeats running can cause big problems.

Shut down one service and send a mail. If the mail goes out, shut down the other service. Send another mail. If that one doesn't go out, restart one of the services and leave it like that.

link|flag
We have only one FogBugz Maintenance Service and only one FogBugzMaint.exe *32 process. How can this cause two heartbeats...?! – Michel de Ruiter Jan 18 2011 at 20:19
I restarted the (single) service and ProcMon confirmed thread 0 doing two TCP Sends and two TCP Receives every 15 seconds. Any ideas? – Michel de Ruiter Jan 18 2011 at 21:11
1 
Aha! Yes, it's probably multiple sURL keys in your registry. FogBugz will find all maintenance URLs and hit each of them. It's probably getting one from the 64-bit and one from the 32-bit registry. Can you check? Claudius is right in that there is protection against this messing things up too much. – Rich Armstrong Jan 19 2011 at 16:46
Good thinking. However... I renamed the HKLM\SOFTWARE\Fog Creek Software\FogBugz\C:/Program Files (x86)/FogBugz/website key (because the Wow6432Node version should be used) and restarted the service, but I still see two heartbeats per 15 seconds in the IIS log. :-( – Michel de Ruiter Jan 20 2011 at 22:56
ProcMon revealed that the renamed key was still used, even though it's an invalid path :-) . I removed it and all is well now. – Michel de Ruiter Jan 24 2011 at 10:18

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.