Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002099 [Resin] text always 10-20-07 10:28 10-24-07 10:14
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.4 Product Version 3.1.3
  Product Build
Summary 0002099: resin-admin (php) might show negative uptime for one server in the cluster
Description Resin-Professional 3.1.3 in a Load-Balancing configuration

web-a Windows XP, Java 6, 192.168.1.100
app-a Windows XP, Java 6, 192.168.1.100
app-b Linux, Java 6, 192.168.1.141

see also attached resin.conf of all three involved resin instances.


web-a and app-b are both started and I'm logged into the php resin-administration. The page cluster.php is opened and shows that app-a is not available.
I've started app-a, waited until the console displayed "Resin started in 1657ms", and pressed "refreshed".

The Uptime column of app-a showed a negative uptime as you can see from the attached screenshot and the HTML of the cluster.php page at that time.


The clock of 192.168.1.141 (app-b) and 192.168.1.100 (app-a) differ by 86 seconds.
--> This should explain the negative uptime.

BUT, it might be worth about thinking that uptime formatting in cluster.php calculate the uptime of a server using the server's startup-time *and that server's current time* rather than the time of the server of the admin page.
Steps To Reproduce
Additional Information Attached ZIP contains:
 - php-admin_cluster__negative_uptime_format.jpg (Screenshot with negative uptime)
 - php-admin_cluster__negative_uptime_format.html (HTML output of cluster.php)
 - resin.conf (used resin.conf)
Attached Files  C:\\tmp\\caucho\\negative_uptime.zip [^] (169,203 bytes) 10-20-07 10:28

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
10-20-07 10:28 stbu New Issue
10-20-07 10:28 stbu File Added: C:\\tmp\\caucho\\negative_uptime.zip
10-20-07 10:29 stbu Issue Monitored: stbu
10-24-07 10:14 ferg Assigned To  => ferg
10-24-07 10:14 ferg Status new => closed
10-24-07 10:14 ferg Resolution open => fixed
10-24-07 10:14 ferg Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker