On Tue, 15 Feb 2011, A J Stiles wrote:

On Tuesday 15 Feb 2011, Jeff LaCoursiere wrote:
Now this is what I call uptime...

minipbx*CLI> show uptime
System uptime: 41 years, 7 weeks, 6 days, 3 hours, 26 minutes, 46 seconds
Last reload: 8 hours, 3 minutes, 51 seconds

Bizarre bug?

I'm guessting, this is a brand new machine on its first ever boot, with
no "last bootup time" information saved anywhere.  So it assumes the last
bootup date was 1970-01-01 00:00:00, i.e. "zero time" on all Unix-like
systems.  That would explain the 41 years, anyway.

--
AJS

No, it is a few months old now with lots of reboots. It is my experiment to build a reliable PBX out of Seagate Dockstar hardware and USB sticks. I've now blown up about three 4G sticks, presumably for heat issues (?), and have just bought an "SLC" based stick (which was not easy to find) that supposedly has a better heat range and longer write life.

Once I got it working I saved a dd image of the stick and have just been imaging the new sticks as I try them. This *is* the first boot on this new stick, but the filesystem itself is "old", with several reboots.

I don't really care about the uptime calculation, just thought it was funny. It is strange that asterisk and the OS don't agree... so how does asterisk compute it?

FWIW it makes a fantastic home PBX. I use it daily to make conference calls that last for hours, and other extensions in the house make and receive calls at the same time. It has *just* enough RAM to not swap, and I have turned off all the logging, so there aren't that many writes to the USB stick. Pretty fantastic for about $40 in hardware.

j

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to