Zotonic
Zotonic
zotonic@conference.zotonic.com
Friday, 5 April 2013< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+2
[06:55:31] arcusfelis joins the room
[08:05:18] Andreas Stenius leaves the room
[08:05:38] Andreas Stenius joins the room
[08:07:03] simon.smithies joins the room
[08:13:54] arcusfelis leaves the room
[08:20:39] Marc Worrell leaves the room: Disconnected: session closed
[08:21:07] arcusfelis joins the room
[08:22:15] Marc Worrell joins the room
[08:22:17] Marc Worrell leaves the room: Disconnected: session closed
[08:47:23] arcusfelis leaves the room
[08:54:04] Arjan joins the room
[09:24:56] simon.smithies leaves the room
[09:34:34] arcusfelis joins the room
[09:37:04] Maas joins the room
[09:37:18] Arjan leaves the room
[09:46:13] Marc Worrell joins the room
[09:49:07] simon.smithies joins the room
[10:04:41] arcusfelis leaves the room
[10:11:10] <simon.smithies> have tried a script to write time to a txt file every 1 second
[10:11:20] <simon.smithies> not seeing anything unexpected in there
[10:11:45] <Andreas Stenius> hmm... ok
[10:12:23] <Maas> interesting.. how would you reliably log the system time when you expect the system clock to be broken.
[10:12:31] <simon.smithies> am not 100% sure my script works though .... what if the system clock is used to drive the pause in my script?
[10:12:41] <simon.smithies> exactly
[10:12:56] <simon.smithies> am just doing this: watch -n1 'echo "`date`" >> time.txt'
[10:13:27] <simon.smithies> guys at work reckon "watch" is not using system clock, but I'm not convinced
[10:13:35] <Andreas Stenius> yeah, it may call for relying on a trusted third party to tell the time... and have some form of socket for communication to trigger a time log entry..
[10:14:03] <Andreas Stenius> it's all becoming quite complex..
[10:14:09] <simon.smithies> yes
[10:14:29] <simon.smithies> and on my other similar vps I have no problem
[10:14:47] <simon.smithies> the difference is erlang version
[10:14:55] <simon.smithies> and zotonic version I guess
[10:15:19] <Andreas Stenius> possibly unrelated but there was a time skipping bug in erlang:now() discuessed on the mailing list during march, affecting R15 and R16
[10:15:51] <simon.smithies> hmm
[10:16:07] <Andreas Stenius> just spotted it last night..
[10:16:08] <simon.smithies> that would affect everyone
[10:16:16] <Maas> Any difference in the applications running on it? erlang:now does not affect the system clock, only the sense of time inside the erlang vm
[10:17:01] <Maas> (If you call it a lot that is)
[10:17:04] <Andreas Stenius> thing was, it didn't jump 5 minutes, but a lot longer (like 24 hours or something), and it wasn't to frequent...
[10:17:23] <Andreas Stenius> as in regular..
[10:17:37] <simon.smithies> also, it only needs to jump by 55seconds, but do it every 5mins
[10:17:49] <simon.smithies> 55seconds is the heartbeat_timeout
[10:18:00] <Andreas Stenius> yep
[10:18:57] <simon.smithies> using Maas's thought, could we do an erlang clock stability checker?
[10:19:13] <simon.smithies> that compares erlang:now with system time
[10:27:05] <simon.smithies> is this what you're talking about Andreas?
[10:27:09] <simon.smithies> http://erlang.2086793.n4.nabble.com/erlang-now-0-off-by-over-90-seconds-td2285707.html
[10:27:42] <simon.smithies> maybe not .. that's 2010
[10:30:33] <Andreas Stenius> no, this thread: http://erlang.org/pipermail/erlang-bugs/2013-April/003490.html
[10:31:03] <Andreas Stenius> oh, and it was days, not hours (I just remembered the 24)
[10:31:42] <simon.smithies> heart would still trigger a restart
[10:43:46] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[10:43:46] Marc Worrell joins the room
[10:50:08] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[10:50:08] Marc Worrell joins the room
[10:50:48] <simon.smithies> Interesting:
[10:50:51] <simon.smithies> {calendar:now_to_local_time(erlang:now()), erlang:localtime()}.
[10:51:16] <simon.smithies> there is 5mins diffference between these two versions of "now"
[10:51:23] <simon.smithies> on my machine
[10:51:26] <Andreas Stenius> wow...
[10:52:02] <Andreas Stenius> on my they are the same: 1> {calendar:now_to_local_time(erlang:now()), erlang:localtime()}.
{{{2013,4,5},{10,51,46}},{{2013,4,5},{10,51,46}}}
2>
[10:52:39] <simon.smithies> struggling to see the connection though with a failure every 5 mins
[10:53:03] <Andreas Stenius> that could be a culprit, if heart and erlang use different functions to get the current time, and the differ...
[10:53:14] <simon.smithies> yours are truly identical
[10:53:25] <Andreas Stenius> yep
[10:53:53] <simon.smithies> 17> {calendar:now_to_local_time(erlang:now()), erlang:localtime()}.
{{{2013,4,5},{21,55,30}},{{2013,4,5},{21,50,30}}}
[10:54:06] <Andreas Stenius> feels like there could be some timestamp comparison that starts off being 5 minutes into the future, then as time pass, it catches up and triggers a restart... somehow.. ?
[10:54:17] <Andreas Stenius> that is super strange..
[10:54:22] <Andreas Stenius> clearly a bug in erlang
[10:54:28] Arjan joins the room
[10:54:33] <Andreas Stenius> or one of the routines it relies on...
[10:54:40] <simon.smithies> what erlang are you runing?
[10:54:53] <Andreas Stenius> that came from R15B01
[10:55:01] <simon.smithies> me too
[10:55:10] <Andreas Stenius> on a OpenIndiana system... can try it on a windows box too
[10:56:00] <Andreas Stenius> get the same here on R15B03 on windows (identical times, that is)
[10:56:10] <simon.smithies> times are identical on a mac
[10:56:16] <simon.smithies> 15b
[10:56:39] <Andreas Stenius> perhaps a question for erlang-bugs?
[10:57:01] <simon.smithies> maybe ... am thinking maybe it's something else on the box though
[10:57:25] <Andreas Stenius> sounds possible.. ;)
[10:57:56] <Andreas Stenius> could help to dig through the erlang code though, to find how it gets it results
[10:58:35] <Andreas Stenius> they'll have to rely on two different system calls for it not to be an erlang bug
[10:59:06] <simon.smithies> I'm convinced
[10:59:12] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[10:59:12] Marc Worrell joins the room
[10:59:21] <simon.smithies> where do I og an erlang bug?
[10:59:43] <Andreas Stenius> to the erlang-bugs mailing list
[11:00:23] <simon.smithies> got it
[11:05:40] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:05:40] Marc Worrell joins the room
[11:14:04] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:14:05] Marc Worrell joins the room
[11:14:47] arcusfelis joins the room
[11:16:35] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:16:35] Marc Worrell joins the room
[11:19:09] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:19:09] Marc Worrell joins the room
[11:23:10] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:23:10] Marc Worrell joins the room
[11:28:42] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:28:42] Marc Worrell joins the room
[11:33:45] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:33:45] Marc Worrell joins the room
[11:41:16] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:41:17] Marc Worrell joins the room
[11:50:44] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:50:44] Marc Worrell joins the room
[11:54:05] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:54:05] Marc Worrell joins the room
[11:58:04] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[11:58:04] Marc Worrell joins the room
[12:04:06] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:04:06] Marc Worrell joins the room
[12:11:55] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:11:55] Marc Worrell joins the room
[12:17:23] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:17:23] Marc Worrell joins the room
[12:19:54] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:19:54] Marc Worrell joins the room
[12:23:52] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:23:52] Marc Worrell joins the room
[12:25:39] Arjan leaves the room
[12:28:48] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:28:48] Marc Worrell joins the room
[12:30:46] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[12:30:46] Marc Worrell joins the room
[12:31:02] Marc Worrell leaves the room
[13:19:40] simon.smithies leaves the room
[16:15:01] Arjan joins the room
[16:51:01] Arjan leaves the room
[16:52:13] Maas leaves the room
[16:53:54] Arjan joins the room
[17:06:02] Arjan leaves the room
[17:09:03] Arjan joins the room
[17:30:55] arcusfelis leaves the room
[18:22:26] arcusfelis joins the room
[18:30:18] simon.smithies joins the room
[18:51:21] simon.smithies leaves the room
[19:06:22] Arjan leaves the room
[19:08:49] Arjan joins the room
[19:11:23] simon.smithies joins the room
[19:11:26] simon.smithies leaves the room
[19:11:29] simon.smithies joins the room
[20:28:22] Arjan leaves the room
[20:29:36] Arjan joins the room
[20:44:03] simon.smithies leaves the room
[20:52:45] Arjan leaves the room
[20:54:40] Arjan joins the room
[21:10:41] simon.smithies joins the room
[21:33:47] simon.smithies leaves the room
[21:34:26] Maas joins the room
[21:51:40] arcusfelis leaves the room
[21:58:27] Maas leaves the room
[22:00:27] Maas joins the room
[22:17:49] simon.smithies joins the room
[22:18:11] simon.smithies leaves the room
[22:58:37] simon.smithies joins the room
[23:02:58] Arjan leaves the room
[23:42:02] Maas leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!