diff options
author | Loïc Hoguin <[email protected]> | 2016-08-29 12:39:49 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-29 12:40:03 +0200 |
commit | c807880f7ac73f813b2660ea81a00f7712a4e793 (patch) | |
tree | ba1d09e9b177f230665a80513b33fbd532000ce4 /archives/extend/2013-September | |
parent | b1df25a7d9cda697513650659b781b55b40898f8 (diff) | |
download | ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2 ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip |
Add old mailing list archives
Diffstat (limited to 'archives/extend/2013-September')
33 files changed, 4673 insertions, 0 deletions
diff --git a/archives/extend/2013-September/000227.html b/archives/extend/2013-September/000227.html new file mode 100644 index 00000000..9863b688 --- /dev/null +++ b/archives/extend/2013-September/000227.html @@ -0,0 +1,104 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy load test + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20load%20test&In-Reply-To=%3CCAOBKReerkZKL_Rm9j7X4FH3YUbFHZDGHiVojNgO7WepOWCc_eQ%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + + <LINK REL="Next" HREF="000228.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy load test</H1> + <B>Joe Freeman</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20load%20test&In-Reply-To=%3CCAOBKReerkZKL_Rm9j7X4FH3YUbFHZDGHiVojNgO7WepOWCc_eQ%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy load test">joe.freeman at bitroot.com + </A><BR> + <I>Sun Sep 15 19:01:30 CEST 2013</I> + <P><UL> + + <LI>Next message: <A HREF="000228.html">[99s-extend] Cowboy load test +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#227">[ date ]</a> + <a href="thread.html#227">[ thread ]</a> + <a href="subject.html#227">[ subject ]</a> + <a href="author.html#227">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + +I've started work on a project using Clojure, but I was wondering whether +(and secretly hoping that) Erlang would be a better fit, so I've been load +testing a few web server frameworks. I'm particularly interested in how the +server can handle a large number of concurrent WebSocket connections, and +the test I've been running is similar to Eric Moritz's [1]. + +I've setup a simple Cowboy 'echo' server running on an EC2 instance +(m1.medium, as in Eric's test) which could comfortably handle 10k +concurrent WebSocket requests (as in Eric's results), while echoing about +200 messages/second. The CPU usage of the VM at this point is about 99%, +but the server continues to handle up to 40k concurrent connections with a +consistent average response time (<30ms). Pushing the test beyond this +number results in a spike in response times and lots of connection timeouts. + +40k connections seems pretty good, but when comparing this to the same test +against a couple of Clojure/JVM-based frameworks (specifically Aleph/Netty +and http-kit) I find I can get higher numbers of concurrent connections +with slightly better average response times (100k connections, <10ms +response time) using much less CPU (~20%). In fact, memory seems to be the +limiting factor. + +So I have two questions: + +1) Should I be concerned about the CPU usage in the Erlang/Cowboy test? I +have limited experience with Erlang so far, but 100% CPU feels like a bad +thing. + +2) Is there any way to increase the performance of the cowboy server? Are +there any Erlang VM parameters I can change? The fact that the Clojure/JVM +tests (on the same machine) have managed to get to 100k connections +suggests that the limitation isn't being imposed by the operating system +(I've applied changes various changes to sysctl and ulimit). + +(Perhaps an echo server isn't the best way to compare HTTP servers, but it +feels like a good starting point.) + +Thanks for any help. + +[1] <A HREF="https://github.com/ericmoritz/wsdemo/blob/results-v1/results.md">https://github.com/ericmoritz/wsdemo/blob/results-v1/results.md</A> - the +GitHub repo actually contains code for an Aleph server, but results from +this aren't included in the summary here. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130915/c9a5340e/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130915/c9a5340e/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000228.html">[99s-extend] Cowboy load test +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#227">[ date ]</a> + <a href="thread.html#227">[ thread ]</a> + <a href="subject.html#227">[ subject ]</a> + <a href="author.html#227">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000228.html b/archives/extend/2013-September/000228.html new file mode 100644 index 00000000..88282495 --- /dev/null +++ b/archives/extend/2013-September/000228.html @@ -0,0 +1,133 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy load test + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20load%20test&In-Reply-To=%3C5236044B.5040905%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000227.html"> + <LINK REL="Next" HREF="000229.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy load test</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20load%20test&In-Reply-To=%3C5236044B.5040905%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy load test">essen at ninenines.eu + </A><BR> + <I>Sun Sep 15 21:02:35 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000227.html">[99s-extend] Cowboy load test +</A></li> + <LI>Next message: <A HREF="000229.html">[99s-extend] Cowboy load test +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#228">[ date ]</a> + <a href="thread.html#228">[ thread ]</a> + <a href="subject.html#228">[ subject ]</a> + <a href="author.html#228">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>This sounds like you have too many timers, or something else is using +the CPU. 40k connections is literally nothing. Also make sure the +clients are on a separate VM/machine. + +Either way 99% CPU for 10k sounds high, I've had that with 0 CPU (though +on real hardware). + +Someone a couple years back got above 1 million after fixing 'too many +timers issues' but I don't think it was on a medium instance. + +On 09/15/2013 07:01 PM, Joe Freeman wrote: +><i> Hi, +</I>><i> +</I>><i> I've started work on a project using Clojure, but I was wondering +</I>><i> whether (and secretly hoping that) Erlang would be a better fit, so I've +</I>><i> been load testing a few web server frameworks. I'm particularly +</I>><i> interested in how the server can handle a large number of concurrent +</I>><i> WebSocket connections, and the test I've been running is similar to Eric +</I>><i> Moritz's [1]. +</I>><i> +</I>><i> I've setup a simple Cowboy 'echo' server running on an EC2 instance +</I>><i> (m1.medium, as in Eric's test) which could comfortably handle 10k +</I>><i> concurrent WebSocket requests (as in Eric's results), while echoing +</I>><i> about 200 messages/second. The CPU usage of the VM at this point is +</I>><i> about 99%, but the server continues to handle up to 40k concurrent +</I>><i> connections with a consistent average response time (<30ms). Pushing the +</I>><i> test beyond this number results in a spike in response times and lots of +</I>><i> connection timeouts. +</I>><i> +</I>><i> 40k connections seems pretty good, but when comparing this to the same +</I>><i> test against a couple of Clojure/JVM-based frameworks (specifically +</I>><i> Aleph/Netty and http-kit) I find I can get higher numbers of concurrent +</I>><i> connections with slightly better average response times (100k +</I>><i> connections, <10ms response time) using much less CPU (~20%). In fact, +</I>><i> memory seems to be the limiting factor. +</I>><i> +</I>><i> So I have two questions: +</I>><i> +</I>><i> 1) Should I be concerned about the CPU usage in the Erlang/Cowboy test? +</I>><i> I have limited experience with Erlang so far, but 100% CPU feels like a +</I>><i> bad thing. +</I>><i> +</I>><i> 2) Is there any way to increase the performance of the cowboy server? +</I>><i> Are there any Erlang VM parameters I can change? The fact that the +</I>><i> Clojure/JVM tests (on the same machine) have managed to get to 100k +</I>><i> connections suggests that the limitation isn't being imposed by the +</I>><i> operating system (I've applied changes various changes to sysctl and +</I>><i> ulimit). +</I>><i> +</I>><i> (Perhaps an echo server isn't the best way to compare HTTP servers, but +</I>><i> it feels like a good starting point.) +</I>><i> +</I>><i> Thanks for any help. +</I>><i> +</I>><i> [1] <A HREF="https://github.com/ericmoritz/wsdemo/blob/results-v1/results.md">https://github.com/ericmoritz/wsdemo/blob/results-v1/results.md</A> - +</I>><i> the GitHub repo actually contains code for an Aleph server, but results +</I>><i> from this aren't included in the summary here. +</I>><i> +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000227.html">[99s-extend] Cowboy load test +</A></li> + <LI>Next message: <A HREF="000229.html">[99s-extend] Cowboy load test +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#228">[ date ]</a> + <a href="thread.html#228">[ thread ]</a> + <a href="subject.html#228">[ subject ]</a> + <a href="author.html#228">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000229.html b/archives/extend/2013-September/000229.html new file mode 100644 index 00000000..3b7176d5 --- /dev/null +++ b/archives/extend/2013-September/000229.html @@ -0,0 +1,143 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy load test + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20load%20test&In-Reply-To=%3C523604DE.6050600%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000228.html"> + <LINK REL="Next" HREF="000230.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy load test</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20load%20test&In-Reply-To=%3C523604DE.6050600%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy load test">essen at ninenines.eu + </A><BR> + <I>Sun Sep 15 21:05:02 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000228.html">[99s-extend] Cowboy load test +</A></li> + <LI>Next message: <A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#229">[ date ]</a> + <a href="thread.html#229">[ thread ]</a> + <a href="subject.html#229">[ subject ]</a> + <a href="author.html#229">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>This just hit me after hitting send. + +Another possibility is that you are using text frames which are required +to be valid UTF-8. Cowboy checks that (as required by the RFC), and it's +fairly expensive, while most other servers don't. Try with binary frames +instead. + +On 09/15/2013 09:02 PM, Loïc Hoguin wrote: +><i> This sounds like you have too many timers, or something else is using +</I>><i> the CPU. 40k connections is literally nothing. Also make sure the +</I>><i> clients are on a separate VM/machine. +</I>><i> +</I>><i> Either way 99% CPU for 10k sounds high, I've had that with 0 CPU (though +</I>><i> on real hardware). +</I>><i> +</I>><i> Someone a couple years back got above 1 million after fixing 'too many +</I>><i> timers issues' but I don't think it was on a medium instance. +</I>><i> +</I>><i> On 09/15/2013 07:01 PM, Joe Freeman wrote: +</I>>><i> Hi, +</I>>><i> +</I>>><i> I've started work on a project using Clojure, but I was wondering +</I>>><i> whether (and secretly hoping that) Erlang would be a better fit, so I've +</I>>><i> been load testing a few web server frameworks. I'm particularly +</I>>><i> interested in how the server can handle a large number of concurrent +</I>>><i> WebSocket connections, and the test I've been running is similar to Eric +</I>>><i> Moritz's [1]. +</I>>><i> +</I>>><i> I've setup a simple Cowboy 'echo' server running on an EC2 instance +</I>>><i> (m1.medium, as in Eric's test) which could comfortably handle 10k +</I>>><i> concurrent WebSocket requests (as in Eric's results), while echoing +</I>>><i> about 200 messages/second. The CPU usage of the VM at this point is +</I>>><i> about 99%, but the server continues to handle up to 40k concurrent +</I>>><i> connections with a consistent average response time (<30ms). Pushing the +</I>>><i> test beyond this number results in a spike in response times and lots of +</I>>><i> connection timeouts. +</I>>><i> +</I>>><i> 40k connections seems pretty good, but when comparing this to the same +</I>>><i> test against a couple of Clojure/JVM-based frameworks (specifically +</I>>><i> Aleph/Netty and http-kit) I find I can get higher numbers of concurrent +</I>>><i> connections with slightly better average response times (100k +</I>>><i> connections, <10ms response time) using much less CPU (~20%). In fact, +</I>>><i> memory seems to be the limiting factor. +</I>>><i> +</I>>><i> So I have two questions: +</I>>><i> +</I>>><i> 1) Should I be concerned about the CPU usage in the Erlang/Cowboy test? +</I>>><i> I have limited experience with Erlang so far, but 100% CPU feels like a +</I>>><i> bad thing. +</I>>><i> +</I>>><i> 2) Is there any way to increase the performance of the cowboy server? +</I>>><i> Are there any Erlang VM parameters I can change? The fact that the +</I>>><i> Clojure/JVM tests (on the same machine) have managed to get to 100k +</I>>><i> connections suggests that the limitation isn't being imposed by the +</I>>><i> operating system (I've applied changes various changes to sysctl and +</I>>><i> ulimit). +</I>>><i> +</I>>><i> (Perhaps an echo server isn't the best way to compare HTTP servers, but +</I>>><i> it feels like a good starting point.) +</I>>><i> +</I>>><i> Thanks for any help. +</I>>><i> +</I>>><i> [1] <A HREF="https://github.com/ericmoritz/wsdemo/blob/results-v1/results.md">https://github.com/ericmoritz/wsdemo/blob/results-v1/results.md</A> - +</I>>><i> the GitHub repo actually contains code for an Aleph server, but results +</I>>><i> from this aren't included in the summary here. +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>>><i> +</I>><i> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000228.html">[99s-extend] Cowboy load test +</A></li> + <LI>Next message: <A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#229">[ date ]</a> + <a href="thread.html#229">[ thread ]</a> + <a href="subject.html#229">[ subject ]</a> + <a href="author.html#229">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000230.html b/archives/extend/2013-September/000230.html new file mode 100644 index 00000000..365029b4 --- /dev/null +++ b/archives/extend/2013-September/000230.html @@ -0,0 +1,76 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] how to send a message to all connections in cowboy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3CCA%2BeMAwYqrYJ1bFQfuJJJm%3DSfan3K0VVdOQRPb2ULsomk6VuGsA%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000229.html"> + <LINK REL="Next" HREF="000231.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] how to send a message to all connections in cowboy</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3CCA%2BeMAwYqrYJ1bFQfuJJJm%3DSfan3K0VVdOQRPb2ULsomk6VuGsA%40mail.gmail.com%3E" + TITLE="[99s-extend] how to send a message to all connections in cowboy">akonsu at gmail.com + </A><BR> + <I>Mon Sep 16 15:50:22 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000229.html">[99s-extend] Cowboy load test +</A></li> + <LI>Next message: <A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#230">[ date ]</a> + <a href="thread.html#230">[ thread ]</a> + <a href="subject.html#230">[ subject ]</a> + <a href="author.html#230">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +this is somewhat similar to what someone else has asked: +<A HREF="http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html">http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html</A> + +I am new to cowboy, I have a process that runs alongside a cowboy server +and this process needs to periodically send text to all http clients +connected to the cowboy server. My goal is to have a streaming connection +for each http client so that I could stream text to them from my process. +how is this done? + +Thanks! +Konstantin +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130916/dedbf486/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130916/dedbf486/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000229.html">[99s-extend] Cowboy load test +</A></li> + <LI>Next message: <A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#230">[ date ]</a> + <a href="thread.html#230">[ thread ]</a> + <a href="subject.html#230">[ subject ]</a> + <a href="author.html#230">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000231.html b/archives/extend/2013-September/000231.html new file mode 100644 index 00000000..aa0fe981 --- /dev/null +++ b/archives/extend/2013-September/000231.html @@ -0,0 +1,85 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] how to send a message to all connections in cowboy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3C52373A98.4080406%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000230.html"> + <LINK REL="Next" HREF="000232.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] how to send a message to all connections in cowboy</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3C52373A98.4080406%40ninenines.eu%3E" + TITLE="[99s-extend] how to send a message to all connections in cowboy">essen at ninenines.eu + </A><BR> + <I>Mon Sep 16 19:06:32 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#231">[ date ]</a> + <a href="thread.html#231">[ thread ]</a> + <a href="subject.html#231">[ subject ]</a> + <a href="author.html#231">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 09/16/2013 03:50 PM, akonsu wrote: +><i> Hello, +</I>><i> +</I>><i> this is somewhat similar to what someone else has asked: +</I>><i> <A HREF="http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html">http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html</A> +</I>><i> +</I>><i> I am new to cowboy, I have a process that runs alongside a cowboy server +</I>><i> and this process needs to periodically send text to all http clients +</I>><i> connected to the cowboy server. My goal is to have a streaming +</I>><i> connection for each http client so that I could stream text to them from +</I>><i> my process. how is this done? +</I> +Same answer really. You need some kind of process registry, like gproc +properties for example, that will store all Pids and allow you to send a +message to all of them. + +On init, register the process, and then handle the incoming message when +it arrives. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#231">[ date ]</a> + <a href="thread.html#231">[ thread ]</a> + <a href="subject.html#231">[ subject ]</a> + <a href="author.html#231">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000232.html b/archives/extend/2013-September/000232.html new file mode 100644 index 00000000..623d57ed --- /dev/null +++ b/archives/extend/2013-September/000232.html @@ -0,0 +1,99 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] how to send a message to all connections in cowboy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3CCA%2BeMAwYJdErXi780jUepDaCMrWPv99N1diF0a_88AzfM3Z9mMA%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000231.html"> + <LINK REL="Next" HREF="000233.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] how to send a message to all connections in cowboy</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3CCA%2BeMAwYJdErXi780jUepDaCMrWPv99N1diF0a_88AzfM3Z9mMA%40mail.gmail.com%3E" + TITLE="[99s-extend] how to send a message to all connections in cowboy">akonsu at gmail.com + </A><BR> + <I>Mon Sep 16 19:14:24 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#232">[ date ]</a> + <a href="thread.html#232">[ thread ]</a> + <a href="subject.html#232">[ subject ]</a> + <a href="author.html#232">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>thanks. Suppose my external process is registered and has a name, so I can +discover it by name from my cowboy request handler. when my cowboy handler +is invoked, can I just send the handler's process ID to the external +process? the question is then how does the external process know that the +http client has disconnected so that it can stop sending data to it. + + +2013/9/16 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> + +><i> On 09/16/2013 03:50 PM, akonsu wrote: +</I>><i> +</I>>><i> Hello, +</I>>><i> +</I>>><i> this is somewhat similar to what someone else has asked: +</I>>><i> <A HREF="http://lists.ninenines.eu:81/**archives/extend/2013-August/**000224.html<http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html">http://lists.ninenines.eu:81/**archives/extend/2013-August/**000224.html<http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html</A>> +</I>>><i> +</I>>><i> I am new to cowboy, I have a process that runs alongside a cowboy server +</I>>><i> and this process needs to periodically send text to all http clients +</I>>><i> connected to the cowboy server. My goal is to have a streaming +</I>>><i> connection for each http client so that I could stream text to them from +</I>>><i> my process. how is this done? +</I>>><i> +</I>><i> +</I>><i> Same answer really. You need some kind of process registry, like gproc +</I>><i> properties for example, that will store all Pids and allow you to send a +</I>><i> message to all of them. +</I>><i> +</I>><i> On init, register the process, and then handle the incoming message when +</I>><i> it arrives. +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130916/f55d10f5/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130916/f55d10f5/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#232">[ date ]</a> + <a href="thread.html#232">[ thread ]</a> + <a href="subject.html#232">[ subject ]</a> + <a href="author.html#232">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000233.html b/archives/extend/2013-September/000233.html new file mode 100644 index 00000000..1ac511fd --- /dev/null +++ b/archives/extend/2013-September/000233.html @@ -0,0 +1,116 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] how to send a message to all connections in cowboy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3C52373DBF.3080503%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000232.html"> + <LINK REL="Next" HREF="000234.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] how to send a message to all connections in cowboy</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20how%20to%20send%20a%20message%20to%20all%20connections%20in%20cowboy&In-Reply-To=%3C52373DBF.3080503%40ninenines.eu%3E" + TITLE="[99s-extend] how to send a message to all connections in cowboy">essen at ninenines.eu + </A><BR> + <I>Mon Sep 16 19:19:59 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#233">[ date ]</a> + <a href="thread.html#233">[ thread ]</a> + <a href="subject.html#233">[ subject ]</a> + <a href="author.html#233">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Monitors. + +But really gproc does all that for you and is already well tested. + +<A HREF="https://github.com/esl/gproc">https://github.com/esl/gproc</A> + +On 09/16/2013 07:14 PM, akonsu wrote: +><i> thanks. Suppose my external process is registered and has a name, so I +</I>><i> can discover it by name from my cowboy request handler. when my cowboy +</I>><i> handler is invoked, can I just send the handler's process ID to the +</I>><i> external process? the question is then how does the external process +</I>><i> know that the http client has disconnected so that it can stop sending +</I>><i> data to it. +</I>><i> +</I>><i> +</I>><i> 2013/9/16 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> +</I>><i> +</I>><i> On 09/16/2013 03:50 PM, akonsu wrote: +</I>><i> +</I>><i> Hello, +</I>><i> +</I>><i> this is somewhat similar to what someone else has asked: +</I>><i> <A HREF="http://lists.ninenines.eu:81/__archives/extend/2013-August/__000224.html">http://lists.ninenines.eu:81/__archives/extend/2013-August/__000224.html</A> +</I>><i> <<A HREF="http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html">http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html</A>> +</I>><i> +</I>><i> I am new to cowboy, I have a process that runs alongside a +</I>><i> cowboy server +</I>><i> and this process needs to periodically send text to all http clients +</I>><i> connected to the cowboy server. My goal is to have a streaming +</I>><i> connection for each http client so that I could stream text to +</I>><i> them from +</I>><i> my process. how is this done? +</I>><i> +</I>><i> +</I>><i> Same answer really. You need some kind of process registry, like +</I>><i> gproc properties for example, that will store all Pids and allow you +</I>><i> to send a message to all of them. +</I>><i> +</I>><i> On init, register the process, and then handle the incoming message +</I>><i> when it arrives. +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#233">[ date ]</a> + <a href="thread.html#233">[ thread ]</a> + <a href="subject.html#233">[ subject ]</a> + <a href="author.html#233">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000234.html b/archives/extend/2013-September/000234.html new file mode 100644 index 00000000..b282a715 --- /dev/null +++ b/archives/extend/2013-September/000234.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_loop_handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_loop_handler&In-Reply-To=%3CCA%2BeMAwZtgAjDxQTo6VgC729hhog7wONi-o6vnQa21JExgjUGDA%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000233.html"> + <LINK REL="Next" HREF="000235.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_loop_handler</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_loop_handler&In-Reply-To=%3CCA%2BeMAwZtgAjDxQTo6VgC729hhog7wONi-o6vnQa21JExgjUGDA%40mail.gmail.com%3E" + TITLE="[99s-extend] cowboy_loop_handler">akonsu at gmail.com + </A><BR> + <I>Thu Sep 19 06:30:57 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#234">[ date ]</a> + <a href="thread.html#234">[ thread ]</a> + <a href="subject.html#234">[ subject ]</a> + <a href="author.html#234">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +from the documentation: + +info(Info, Req, State) -> {ok, Req, State} | {loop, Req, State} | {loop, +Req, State, hibernate} + + +in case my handler receives a lot of messages, and they come very often, +does a response of the latter form {loop, Req, State, hibernate} save +anything? Can hibernating in this case actually hinder performance? + +thanks +Konstantin +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130919/9614ef5e/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130919/9614ef5e/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A></li> + <LI>Next message: <A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#234">[ date ]</a> + <a href="thread.html#234">[ thread ]</a> + <a href="subject.html#234">[ subject ]</a> + <a href="author.html#234">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000235.html b/archives/extend/2013-September/000235.html new file mode 100644 index 00000000..cb8fdc7b --- /dev/null +++ b/archives/extend/2013-September/000235.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_loop_handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_loop_handler&In-Reply-To=%3C523ABDC6.1050204%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000234.html"> + <LINK REL="Next" HREF="000236.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_loop_handler</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_loop_handler&In-Reply-To=%3C523ABDC6.1050204%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy_loop_handler">essen at ninenines.eu + </A><BR> + <I>Thu Sep 19 11:03:02 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI>Next message: <A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#235">[ date ]</a> + <a href="thread.html#235">[ thread ]</a> + <a href="subject.html#235">[ subject ]</a> + <a href="author.html#235">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>How much is a lot of messages? + +Hibernating is a bit more expensive on the CPU but better for saving +memory. It's generally fine to use except when you have a really busy +system. Do note that it also means your responses will be slightly +slower (though that is generally not noticeable). + +On 09/19/2013 06:30 AM, akonsu wrote: +><i> Hello, +</I>><i> +</I>><i> from the documentation: +</I>><i> +</I>><i> info(Info, Req, State) -> {ok, Req, State} | {loop, Req, State}| {loop, +</I>><i> Req, State, hibernate} +</I>><i> +</I>><i> +</I>><i> in case my handler receives a lot of messages, and they come very often, +</I>><i> does a response of the latter form {loop, Req, State, hibernate} save +</I>><i> anything? Can hibernating in this case actually hinder performance? +</I>><i> +</I>><i> thanks +</I>><i> Konstantin +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI>Next message: <A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#235">[ date ]</a> + <a href="thread.html#235">[ thread ]</a> + <a href="subject.html#235">[ subject ]</a> + <a href="author.html#235">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000236.html b/archives/extend/2013-September/000236.html new file mode 100644 index 00000000..c45f3491 --- /dev/null +++ b/archives/extend/2013-September/000236.html @@ -0,0 +1,109 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_loop_handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_loop_handler&In-Reply-To=%3CCA%2BeMAwYiCni664CiSRLmS6nuZOv1O7OSn0D8TM3ZHPRSHu6g_A%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000235.html"> + <LINK REL="Next" HREF="000237.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_loop_handler</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_loop_handler&In-Reply-To=%3CCA%2BeMAwYiCni664CiSRLmS6nuZOv1O7OSn0D8TM3ZHPRSHu6g_A%40mail.gmail.com%3E" + TITLE="[99s-extend] cowboy_loop_handler">akonsu at gmail.com + </A><BR> + <I>Thu Sep 19 13:37:58 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI>Next message: <A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#236">[ date ]</a> + <a href="thread.html#236">[ thread ]</a> + <a href="subject.html#236">[ subject ]</a> + <a href="author.html#236">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>my http handler receives messages carrying json parts obtained from a +twitter stream by a separate process. the twitter stream is the stream of +all public tweets, (they call it "firehose") so there are a lot. + + +2013/9/19 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> + +><i> How much is a lot of messages? +</I>><i> +</I>><i> Hibernating is a bit more expensive on the CPU but better for saving +</I>><i> memory. It's generally fine to use except when you have a really busy +</I>><i> system. Do note that it also means your responses will be slightly slower +</I>><i> (though that is generally not noticeable). +</I>><i> +</I>><i> +</I>><i> On 09/19/2013 06:30 AM, akonsu wrote: +</I>><i> +</I>>><i> Hello, +</I>>><i> +</I>>><i> from the documentation: +</I>>><i> +</I>>><i> info(Info, Req, State) -> {ok, Req, State} | {loop, Req, State}| {loop, +</I>>><i> Req, State, hibernate} +</I>>><i> +</I>>><i> +</I>>><i> in case my handler receives a lot of messages, and they come very often, +</I>>><i> does a response of the latter form {loop, Req, State, hibernate} save +</I>>><i> anything? Can hibernating in this case actually hinder performance? +</I>>><i> +</I>>><i> thanks +</I>>><i> Konstantin +</I>>><i> +</I>>><i> +</I>>><i> ______________________________**_________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130919/0a4bcb6c/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130919/0a4bcb6c/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI>Next message: <A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#236">[ date ]</a> + <a href="thread.html#236">[ thread ]</a> + <a href="subject.html#236">[ subject ]</a> + <a href="author.html#236">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000237.html b/archives/extend/2013-September/000237.html new file mode 100644 index 00000000..68c95fbb --- /dev/null +++ b/archives/extend/2013-September/000237.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] timeouts and slow clients in cowboy loop handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwaZoY2LMns_SahfQmNLC5Z6j_nB_YuCHapyShHL6CHnQA%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000236.html"> + <LINK REL="Next" HREF="000238.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] timeouts and slow clients in cowboy loop handler</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwaZoY2LMns_SahfQmNLC5Z6j_nB_YuCHapyShHL6CHnQA%40mail.gmail.com%3E" + TITLE="[99s-extend] timeouts and slow clients in cowboy loop handler">akonsu at gmail.com + </A><BR> + <I>Fri Sep 20 20:47:54 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI>Next message: <A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#237">[ date ]</a> + <a href="thread.html#237">[ thread ]</a> + <a href="subject.html#237">[ subject ]</a> + <a href="author.html#237">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + +I am using loop handler and I stream from it: + +info({stream, Part}, Req, S) -> + ok = cowboy_req:chunk(Part, Req), + {loop, Req, S, hibernate}; + +I have two questions: + +1. on timeouts cowboy sends 204 No Content. In my case it is not the right +response because I may have already sent some data. Is there a way to send +a custom response? + +2. how to check if the client is too slow and is not reading the response +stream fast enough? If this happens, then I need to disconnect. + +I can live without 1. but I need to figure out 2. Please help. + +thank you! +Konstantin +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130920/6e3fa036/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130920/6e3fa036/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A></li> + <LI>Next message: <A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#237">[ date ]</a> + <a href="thread.html#237">[ thread ]</a> + <a href="subject.html#237">[ subject ]</a> + <a href="author.html#237">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000238.html b/archives/extend/2013-September/000238.html new file mode 100644 index 00000000..9a244158 --- /dev/null +++ b/archives/extend/2013-September/000238.html @@ -0,0 +1,105 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] timeouts and slow clients in cowboy loop handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3C523C9911.8070908%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000237.html"> + <LINK REL="Next" HREF="000239.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] timeouts and slow clients in cowboy loop handler</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3C523C9911.8070908%40ninenines.eu%3E" + TITLE="[99s-extend] timeouts and slow clients in cowboy loop handler">essen at ninenines.eu + </A><BR> + <I>Fri Sep 20 20:50:57 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#238">[ date ]</a> + <a href="thread.html#238">[ thread ]</a> + <a href="subject.html#238">[ subject ]</a> + <a href="author.html#238">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Loop handlers close after a while regardless of what you send, it only +checks what the client sends. The best way for you would be to disable +that timeout and handle it manually. + +As for the second question, I'm still reading the thread on +erlang-questions but I've seen some good ideas about timestamps so far. + +On 09/20/2013 08:47 PM, akonsu wrote: +><i> Hi, +</I>><i> +</I>><i> I am using loop handler and I stream from it: +</I>><i> +</I>><i> info({stream, Part}, Req, S) -> +</I>><i> ok = cowboy_req:chunk(Part, Req), +</I>><i> {loop, Req, S, hibernate}; +</I>><i> +</I>><i> I have two questions: +</I>><i> +</I>><i> 1. on timeouts cowboy sends 204 No Content. In my case it is not the +</I>><i> right response because I may have already sent some data. Is there a way +</I>><i> to send a custom response? +</I>><i> +</I>><i> 2. how to check if the client is too slow and is not reading the +</I>><i> response stream fast enough? If this happens, then I need to disconnect. +</I>><i> +</I>><i> I can live without 1. but I need to figure out 2. Please help. +</I>><i> +</I>><i> thank you! +</I>><i> Konstantin +</I>><i> +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#238">[ date ]</a> + <a href="thread.html#238">[ thread ]</a> + <a href="subject.html#238">[ subject ]</a> + <a href="author.html#238">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000239.html b/archives/extend/2013-September/000239.html new file mode 100644 index 00000000..e9bb837c --- /dev/null +++ b/archives/extend/2013-September/000239.html @@ -0,0 +1,124 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] timeouts and slow clients in cowboy loop handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwavLu%3DE6Ayd2SLKz%3DOqAn5rfDU%3D-2USHYcNu-JDSmKhYA%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000238.html"> + <LINK REL="Next" HREF="000240.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] timeouts and slow clients in cowboy loop handler</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwavLu%3DE6Ayd2SLKz%3DOqAn5rfDU%3D-2USHYcNu-JDSmKhYA%40mail.gmail.com%3E" + TITLE="[99s-extend] timeouts and slow clients in cowboy loop handler">akonsu at gmail.com + </A><BR> + <I>Fri Sep 20 20:54:56 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#239">[ date ]</a> + <a href="thread.html#239">[ thread ]</a> + <a href="subject.html#239">[ subject ]</a> + <a href="author.html#239">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>thanks! + +how to implement timeout callback manually? if I had receive then I would +just use timeout clause there, but with the handler I do not know... + +I have doubts about validity of my question on the erlang list. I later +realised that there is no problem receiving messages in my handler from my +upstream process, I can do it fast enough and shove everything to the +response. my real problem is to determine if the http client is reading +fast enough from the response... + + +2013/9/20 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> + +><i> Loop handlers close after a while regardless of what you send, it only +</I>><i> checks what the client sends. The best way for you would be to disable that +</I>><i> timeout and handle it manually. +</I>><i> +</I>><i> As for the second question, I'm still reading the thread on +</I>><i> erlang-questions but I've seen some good ideas about timestamps so far. +</I>><i> +</I>><i> +</I>><i> On 09/20/2013 08:47 PM, akonsu wrote: +</I>><i> +</I>>><i> Hi, +</I>>><i> +</I>>><i> I am using loop handler and I stream from it: +</I>>><i> +</I>>><i> info({stream, Part}, Req, S) -> +</I>>><i> ok = cowboy_req:chunk(Part, Req), +</I>>><i> {loop, Req, S, hibernate}; +</I>>><i> +</I>>><i> I have two questions: +</I>>><i> +</I>>><i> 1. on timeouts cowboy sends 204 No Content. In my case it is not the +</I>>><i> right response because I may have already sent some data. Is there a way +</I>>><i> to send a custom response? +</I>>><i> +</I>>><i> 2. how to check if the client is too slow and is not reading the +</I>>><i> response stream fast enough? If this happens, then I need to disconnect. +</I>>><i> +</I>>><i> I can live without 1. but I need to figure out 2. Please help. +</I>>><i> +</I>>><i> thank you! +</I>>><i> Konstantin +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> ______________________________**_________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130920/32352505/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130920/32352505/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#239">[ date ]</a> + <a href="thread.html#239">[ thread ]</a> + <a href="subject.html#239">[ subject ]</a> + <a href="author.html#239">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000240.html b/archives/extend/2013-September/000240.html new file mode 100644 index 00000000..a5c5c8b3 --- /dev/null +++ b/archives/extend/2013-September/000240.html @@ -0,0 +1,140 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] timeouts and slow clients in cowboy loop handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3C523C9A5F.3080805%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000239.html"> + <LINK REL="Next" HREF="000241.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] timeouts and slow clients in cowboy loop handler</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3C523C9A5F.3080805%40ninenines.eu%3E" + TITLE="[99s-extend] timeouts and slow clients in cowboy loop handler">essen at ninenines.eu + </A><BR> + <I>Fri Sep 20 20:56:31 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#240">[ date ]</a> + <a href="thread.html#240">[ thread ]</a> + <a href="subject.html#240">[ subject ]</a> + <a href="author.html#240">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>chunk only returns when the client has received the chunk, so the +timestamps solution should work. + +As for the timeout, you can simply use erlang:send_after or something +like usual and the message will arrive in info/3. + +On 09/20/2013 08:54 PM, akonsu wrote: +><i> thanks! +</I>><i> +</I>><i> how to implement timeout callback manually? if I had receive then I +</I>><i> would just use timeout clause there, but with the handler I do not know... +</I>><i> +</I>><i> I have doubts about validity of my question on the erlang list. I later +</I>><i> realised that there is no problem receiving messages in my handler from +</I>><i> my upstream process, I can do it fast enough and shove everything to the +</I>><i> response. my real problem is to determine if the http client is reading +</I>><i> fast enough from the response... +</I>><i> +</I>><i> +</I>><i> 2013/9/20 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> +</I>><i> +</I>><i> Loop handlers close after a while regardless of what you send, it +</I>><i> only checks what the client sends. The best way for you would be to +</I>><i> disable that timeout and handle it manually. +</I>><i> +</I>><i> As for the second question, I'm still reading the thread on +</I>><i> erlang-questions but I've seen some good ideas about timestamps so far. +</I>><i> +</I>><i> +</I>><i> On 09/20/2013 08:47 PM, akonsu wrote: +</I>><i> +</I>><i> Hi, +</I>><i> +</I>><i> I am using loop handler and I stream from it: +</I>><i> +</I>><i> info({stream, Part}, Req, S) -> +</I>><i> ok = cowboy_req:chunk(Part, Req), +</I>><i> {loop, Req, S, hibernate}; +</I>><i> +</I>><i> I have two questions: +</I>><i> +</I>><i> 1. on timeouts cowboy sends 204 No Content. In my case it is not the +</I>><i> right response because I may have already sent some data. Is +</I>><i> there a way +</I>><i> to send a custom response? +</I>><i> +</I>><i> 2. how to check if the client is too slow and is not reading the +</I>><i> response stream fast enough? If this happens, then I need to +</I>><i> disconnect. +</I>><i> +</I>><i> I can live without 1. but I need to figure out 2. Please help. +</I>><i> +</I>><i> thank you! +</I>><i> Konstantin +</I>><i> +</I>><i> +</I>><i> +</I>><i> _________________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <A HREF="http://lists.ninenines.eu:81/__listinfo/extend">http://lists.ninenines.eu:81/__listinfo/extend</A> +</I>><i> <<A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#240">[ date ]</a> + <a href="thread.html#240">[ thread ]</a> + <a href="subject.html#240">[ subject ]</a> + <a href="author.html#240">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000241.html b/archives/extend/2013-September/000241.html new file mode 100644 index 00000000..da555d9a --- /dev/null +++ b/archives/extend/2013-September/000241.html @@ -0,0 +1,163 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] timeouts and slow clients in cowboy loop handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwbGgYLp0W2esA204iZ0sumV2dBBN6ppbqD29ZKow%2Bts3A%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000240.html"> + <LINK REL="Next" HREF="000242.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] timeouts and slow clients in cowboy loop handler</H1> + <B>akonsu</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwbGgYLp0W2esA204iZ0sumV2dBBN6ppbqD29ZKow%2Bts3A%40mail.gmail.com%3E" + TITLE="[99s-extend] timeouts and slow clients in cowboy loop handler">akonsu at gmail.com + </A><BR> + <I>Fri Sep 20 20:59:46 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#241">[ date ]</a> + <a href="thread.html#241">[ thread ]</a> + <a href="subject.html#241">[ subject ]</a> + <a href="author.html#241">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Understand about chunks being synchronous. that helps me tremendously to +understand how it works. + +would you give me a sketchy example of how to use send_after in a loop +handler? (sorry I am new to erlang) + +Konstantin + + +2013/9/20 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> + +><i> chunk only returns when the client has received the chunk, so the +</I>><i> timestamps solution should work. +</I>><i> +</I>><i> As for the timeout, you can simply use erlang:send_after or something like +</I>><i> usual and the message will arrive in info/3. +</I>><i> +</I>><i> +</I>><i> On 09/20/2013 08:54 PM, akonsu wrote: +</I>><i> +</I>>><i> thanks! +</I>>><i> +</I>>><i> how to implement timeout callback manually? if I had receive then I +</I>>><i> would just use timeout clause there, but with the handler I do not know... +</I>>><i> +</I>>><i> I have doubts about validity of my question on the erlang list. I later +</I>>><i> realised that there is no problem receiving messages in my handler from +</I>>><i> my upstream process, I can do it fast enough and shove everything to the +</I>>><i> response. my real problem is to determine if the http client is reading +</I>>><i> fast enough from the response... +</I>>><i> +</I>>><i> +</I>>><i> 2013/9/20 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> +</I>>><i> +</I>>><i> +</I>>><i> Loop handlers close after a while regardless of what you send, it +</I>>><i> only checks what the client sends. The best way for you would be to +</I>>><i> disable that timeout and handle it manually. +</I>>><i> +</I>>><i> As for the second question, I'm still reading the thread on +</I>>><i> erlang-questions but I've seen some good ideas about timestamps so +</I>>><i> far. +</I>>><i> +</I>>><i> +</I>>><i> On 09/20/2013 08:47 PM, akonsu wrote: +</I>>><i> +</I>>><i> Hi, +</I>>><i> +</I>>><i> I am using loop handler and I stream from it: +</I>>><i> +</I>>><i> info({stream, Part}, Req, S) -> +</I>>><i> ok = cowboy_req:chunk(Part, Req), +</I>>><i> {loop, Req, S, hibernate}; +</I>>><i> +</I>>><i> I have two questions: +</I>>><i> +</I>>><i> 1. on timeouts cowboy sends 204 No Content. In my case it is not +</I>>><i> the +</I>>><i> right response because I may have already sent some data. Is +</I>>><i> there a way +</I>>><i> to send a custom response? +</I>>><i> +</I>>><i> 2. how to check if the client is too slow and is not reading the +</I>>><i> response stream fast enough? If this happens, then I need to +</I>>><i> disconnect. +</I>>><i> +</I>>><i> I can live without 1. but I need to figure out 2. Please help. +</I>>><i> +</I>>><i> thank you! +</I>>><i> Konstantin +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> ______________________________**___________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.</A>**ninenines.eu<<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> > +</I>>><i> <A HREF="http://lists.ninenines.eu:81/_**_listinfo/extend<http://lists.ninenines.eu:81/__listinfo/extend">http://lists.ninenines.eu:81/_**_listinfo/extend<http://lists.ninenines.eu:81/__listinfo/extend</A>> +</I>>><i> +</I>>><i> <<A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>>><i> > +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loďc Hoguin +</I>>><i> Erlang Cowboy +</I>>><i> Nine Nines +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130920/4c005881/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130920/4c005881/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#241">[ date ]</a> + <a href="thread.html#241">[ thread ]</a> + <a href="subject.html#241">[ subject ]</a> + <a href="author.html#241">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000242.html b/archives/extend/2013-September/000242.html new file mode 100644 index 00000000..a9e2c705 --- /dev/null +++ b/archives/extend/2013-September/000242.html @@ -0,0 +1,191 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] timeouts and slow clients in cowboy loop handler + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3C523C9C42.4040300%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000241.html"> + <LINK REL="Next" HREF="000243.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] timeouts and slow clients in cowboy loop handler</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeouts%20and%20slow%20clients%20in%20cowboy%20loop%20handler&In-Reply-To=%3C523C9C42.4040300%40ninenines.eu%3E" + TITLE="[99s-extend] timeouts and slow clients in cowboy loop handler">essen at ninenines.eu + </A><BR> + <I>Fri Sep 20 21:04:34 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#242">[ date ]</a> + <a href="thread.html#242">[ thread ]</a> + <a href="subject.html#242">[ subject ]</a> + <a href="author.html#242">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>send_after sends an Erlang message to a Pid after N milliseconds. It's +the same as Pid ! Message, except it's sent later. Send it to self(). + +But if you're going to use timestamps then you probably don't need this +timeout, just check the timestamps and close when too slow. + +On 09/20/2013 08:59 PM, akonsu wrote: +><i> Understand about chunks being synchronous. that helps me tremendously to +</I>><i> understand how it works. +</I>><i> +</I>><i> would you give me a sketchy example of how to use send_after in a loop +</I>><i> handler? (sorry I am new to erlang) +</I>><i> +</I>><i> Konstantin +</I>><i> +</I>><i> +</I>><i> 2013/9/20 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> +</I>><i> +</I>><i> chunk only returns when the client has received the chunk, so the +</I>><i> timestamps solution should work. +</I>><i> +</I>><i> As for the timeout, you can simply use erlang:send_after or +</I>><i> something like usual and the message will arrive in info/3. +</I>><i> +</I>><i> +</I>><i> On 09/20/2013 08:54 PM, akonsu wrote: +</I>><i> +</I>><i> thanks! +</I>><i> +</I>><i> how to implement timeout callback manually? if I had receive then I +</I>><i> would just use timeout clause there, but with the handler I do +</I>><i> not know... +</I>><i> +</I>><i> I have doubts about validity of my question on the erlang list. +</I>><i> I later +</I>><i> realised that there is no problem receiving messages in my +</I>><i> handler from +</I>><i> my upstream process, I can do it fast enough and shove +</I>><i> everything to the +</I>><i> response. my real problem is to determine if the http client is +</I>><i> reading +</I>><i> fast enough from the response... +</I>><i> +</I>><i> +</I>><i> 2013/9/20 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>> +</I>><i> +</I>><i> +</I>><i> Loop handlers close after a while regardless of what you +</I>><i> send, it +</I>><i> only checks what the client sends. The best way for you +</I>><i> would be to +</I>><i> disable that timeout and handle it manually. +</I>><i> +</I>><i> As for the second question, I'm still reading the thread on +</I>><i> erlang-questions but I've seen some good ideas about +</I>><i> timestamps so far. +</I>><i> +</I>><i> +</I>><i> On 09/20/2013 08:47 PM, akonsu wrote: +</I>><i> +</I>><i> Hi, +</I>><i> +</I>><i> I am using loop handler and I stream from it: +</I>><i> +</I>><i> info({stream, Part}, Req, S) -> +</I>><i> ok = cowboy_req:chunk(Part, Req), +</I>><i> {loop, Req, S, hibernate}; +</I>><i> +</I>><i> I have two questions: +</I>><i> +</I>><i> 1. on timeouts cowboy sends 204 No Content. In my case +</I>><i> it is not the +</I>><i> right response because I may have already sent some +</I>><i> data. Is +</I>><i> there a way +</I>><i> to send a custom response? +</I>><i> +</I>><i> 2. how to check if the client is too slow and is not +</I>><i> reading the +</I>><i> response stream fast enough? If this happens, then I +</I>><i> need to +</I>><i> disconnect. +</I>><i> +</I>><i> I can live without 1. but I need to figure out 2. +</I>><i> Please help. +</I>><i> +</I>><i> thank you! +</I>><i> Konstantin +</I>><i> +</I>><i> +</I>><i> +</I>><i> ___________________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.__ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>>> +</I>><i> <A HREF="http://lists.ninenines.eu:81/____listinfo/extend">http://lists.ninenines.eu:81/____listinfo/extend</A> +</I>><i> <<A HREF="http://lists.ninenines.eu:81/__listinfo/extend">http://lists.ninenines.eu:81/__listinfo/extend</A>> +</I>><i> +</I>><i> <<A HREF="http://lists.ninenines.eu:81/__listinfo/extend">http://lists.ninenines.eu:81/__listinfo/extend</A> +</I>><i> <<A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A>>> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loďc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#242">[ date ]</a> + <a href="thread.html#242">[ thread ]</a> + <a href="subject.html#242">[ subject ]</a> + <a href="author.html#242">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000243.html b/archives/extend/2013-September/000243.html new file mode 100644 index 00000000..783433f9 --- /dev/null +++ b/archives/extend/2013-September/000243.html @@ -0,0 +1,66 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%20missing_beam_file%0A%09%28hipe%29&In-Reply-To=%3CCAAcKVnkWZ_CHTCu7J0N16g4DqWPEnBriOgYN1A2r05Xom92mCQ%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000242.html"> + <LINK REL="Next" HREF="000244.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Matthew Hegarty</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%20missing_beam_file%0A%09%28hipe%29&In-Reply-To=%3CCAAcKVnkWZ_CHTCu7J0N16g4DqWPEnBriOgYN1A2r05Xom92mCQ%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">mrhegarty at gmail.com + </A><BR> + <I>Sun Sep 22 22:55:31 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#243">[ date ]</a> + <a href="thread.html#243">[ thread ]</a> + <a href="subject.html#243">[ subject ]</a> + <a href="author.html#243">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hi +Just starting out so I've got latest versions of apps. +in cowboy/examples/hello_world, running make fails with: +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130922/77e355ff/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130922/77e355ff/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A></li> + <LI>Next message: <A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#243">[ date ]</a> + <a href="thread.html#243">[ thread ]</a> + <a href="subject.html#243">[ subject ]</a> + <a href="author.html#243">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000244.html b/archives/extend/2013-September/000244.html new file mode 100644 index 00000000..175e1b7a --- /dev/null +++ b/archives/extend/2013-September/000244.html @@ -0,0 +1,99 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVnknx8gBQZSL-QUOTUVin%3Da0M%2BKAEwNd84HMOO1C3iSyZQ%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000243.html"> + <LINK REL="Next" HREF="000246.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Matthew Hegarty</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVnknx8gBQZSL-QUOTUVin%3Da0M%2BKAEwNd84HMOO1C3iSyZQ%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">mrhegarty at gmail.com + </A><BR> + <I>Sun Sep 22 22:59:37 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#244">[ date ]</a> + <a href="thread.html#244">[ thread ]</a> + <a href="subject.html#244">[ subject ]</a> + <a href="author.html#244">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hi +Just starting out so I'm trying to run cowboy's helloworld +in cowboy/examples/hello_world, running make fails with: + +===> Provider (rlx_prv_discover) failed with: {error, + {rlx_app_discovery, + [{missing_beam_file, + hipe, + +<<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, + {missing_beam_file, + hipe, + +<<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} + +there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it is +in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +I've tried passing the correct dir to relx using --lib-dir but I still get +the same error. + +Any ideas what's going wrong? + +erl: Erlang R16B02 (erts-5.10.3) +relx: 0.0.0+build.275.refca03701 +rebar: rebar 2.1.0-pre R16B02 20130922_191744 git 2.1.0-pre-46-g78fa8fc + + +On 22 September 2013 21:55, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>> wrote: + +><i> hi +</I>><i> Just starting out so I've got latest versions of apps. +</I>><i> in cowboy/examples/hello_world, running make fails with: +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130922/6e925e9d/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130922/6e925e9d/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#244">[ date ]</a> + <a href="thread.html#244">[ thread ]</a> + <a href="subject.html#244">[ subject ]</a> + <a href="author.html#244">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000245.html b/archives/extend/2013-September/000245.html new file mode 100644 index 00000000..4912361a --- /dev/null +++ b/archives/extend/2013-September/000245.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy: Having problems with Getting Started + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%3A%20Having%20problems%20with%20Getting%20Started&In-Reply-To=%3C1379894261.367227790%40apps.rackspace.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000254.html"> + <LINK REL="Next" HREF="000247.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy: Having problems with Getting Started</H1> + <B>lloyd at writersglen.com</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%3A%20Having%20problems%20with%20Getting%20Started&In-Reply-To=%3C1379894261.367227790%40apps.rackspace.com%3E" + TITLE="[99s-extend] Cowboy: Having problems with Getting Started">lloyd at writersglen.com + </A><BR> + <I>Mon Sep 23 01:57:41 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#245">[ date ]</a> + <a href="thread.html#245">[ thread ]</a> + <a href="subject.html#245">[ subject ]</a> + <a href="author.html#245">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +Forgive my ignorance, but I'm having problems with the Getting Started chapter of the Cowboy Guide. + +Near the end I can download relx just fine. But there seems to be a hidden assumption shared, perhaps, by all Erlang cowboys but outside my understanding. + +When I get to $./relx, the following is returned: + +<A HREF="https://lists.ninenines.eu/listinfo/extend">lloyd at Reliance</A>:~/hello_erlang/relx$ ./relx +===> Starting relx build process ... +===> Resolving OTP Applications from directories: + /home/lloyd/hello_erlang/relx/ebin + /home/lloyd/hello_erlang/relx/deps + /usr/lib/erlang/lib + +===> Resolving available OTP Releases from directories: + /home/lloyd/hello_erlang/relx/ebin + /home/lloyd/hello_erlang/relx/deps + /usr/lib/erlang/lib + +Failed to solve release: + Dependency hello_erlang is specified as a dependency but is not reachable by the system. + +I've added all variations to .erlang that I can think of to put hello_erlang into the code path, but none seem to work. Can some kind soul let me in on the secret? + +Many thanks, + +Lloyd + +********************************************* +My books: + +THE GOSPEL OF ASHES +<A HREF="http://thegospelofashes.com">http://thegospelofashes.com</A> + +Strength is not enough. Do they have the courage +and the cunning? Can they survive long enough to +save the lives of millions? + +FREEIN' PANCHO +<A HREF="http://freeinpancho.com">http://freeinpancho.com</A> + +A community of misfits help a troubled boy find his way + +AYA TAKEO +<A HREF="http://ayatakeo.com">http://ayatakeo.com</A> + +Star-crossed love, war and power in an alternative +universe + +Available through Amazon or by request from your +favorite bookstore + + +********************************************** + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#245">[ date ]</a> + <a href="thread.html#245">[ thread ]</a> + <a href="subject.html#245">[ subject ]</a> + <a href="author.html#245">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000246.html b/archives/extend/2013-September/000246.html new file mode 100644 index 00000000..90276dba --- /dev/null +++ b/archives/extend/2013-September/000246.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C5242FC9C.2090501%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000244.html"> + <LINK REL="Next" HREF="000248.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C5242FC9C.2090501%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">essen at ninenines.eu + </A><BR> + <I>Wed Sep 25 17:09:16 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#246">[ date ]</a> + <a href="thread.html#246">[ thread ]</a> + <a href="subject.html#246">[ subject ]</a> + <a href="author.html#246">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Why does it look for hipe at all to begin with? + +I'll ping tristan about it. + +On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +><i> hi +</I>><i> Just starting out so I'm trying to run cowboy's helloworld +</I>><i> in cowboy/examples/hello_world, running make fails with: +</I>><i> +</I>><i> ===> Provider (rlx_prv_discover) failed with: {error, +</I>><i> {rlx_app_discovery, +</I>><i> [{missing_beam_file, +</I>><i> hipe, +</I>><i> +</I>><i> <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>><i> {missing_beam_file, +</I>><i> hipe, +</I>><i> +</I>><i> <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>><i> +</I>><i> there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it +</I>><i> is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>><i> I've tried passing the correct dir to relx using --lib-dir but I still +</I>><i> get the same error. +</I>><i> +</I>><i> Any ideas what's going wrong? +</I>><i> +</I>><i> erl: Erlang R16B02 (erts-5.10.3) +</I>><i> relx: 0.0.0+build.275.refca03701 +</I>><i> rebar: rebar 2.1.0-pre R16B02 20130922_191744 git 2.1.0-pre-46-g78fa8fc +</I>><i> +</I>><i> +</I>><i> On 22 September 2013 21:55, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>><i> +</I>><i> hi +</I>><i> Just starting out so I've got latest versions of apps. +</I>><i> in cowboy/examples/hello_world, running make fails with: +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#246">[ date ]</a> + <a href="thread.html#246">[ thread ]</a> + <a href="subject.html#246">[ subject ]</a> + <a href="author.html#246">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000247.html b/archives/extend/2013-September/000247.html new file mode 100644 index 00000000..c5263d81 --- /dev/null +++ b/archives/extend/2013-September/000247.html @@ -0,0 +1,134 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy: Having problems with Getting Started + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%3A%20Having%20problems%20with%20Getting%20Started&In-Reply-To=%3C5242FCC9.5090003%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000245.html"> + <LINK REL="Next" HREF="000249.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy: Having problems with Getting Started</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%3A%20Having%20problems%20with%20Getting%20Started&In-Reply-To=%3C5242FCC9.5090003%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy: Having problems with Getting Started">essen at ninenines.eu + </A><BR> + <I>Wed Sep 25 17:10:01 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + <LI>Next message: <A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#247">[ date ]</a> + <a href="thread.html#247">[ thread ]</a> + <a href="subject.html#247">[ subject ]</a> + <a href="author.html#247">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 09/23/2013 01:57 AM, <A HREF="https://lists.ninenines.eu/listinfo/extend">lloyd at writersglen.com</A> wrote: +><i> Hello, +</I>><i> +</I>><i> Forgive my ignorance, but I'm having problems with the Getting Started chapter of the Cowboy Guide. +</I>><i> +</I>><i> Near the end I can download relx just fine. But there seems to be a hidden assumption shared, perhaps, by all Erlang cowboys but outside my understanding. +</I>><i> +</I>><i> When I get to $./relx, the following is returned: +</I>><i> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">lloyd at Reliance</A>:~/hello_erlang/relx$ ./relx +</I> +You're in hello_erlang/relx, I'm guessing you want to do that in +hello_erlang/ directly. + +><i> ===> Starting relx build process ... +</I>><i> ===> Resolving OTP Applications from directories: +</I>><i> /home/lloyd/hello_erlang/relx/ebin +</I>><i> /home/lloyd/hello_erlang/relx/deps +</I>><i> /usr/lib/erlang/lib +</I>><i> +</I>><i> ===> Resolving available OTP Releases from directories: +</I>><i> /home/lloyd/hello_erlang/relx/ebin +</I>><i> /home/lloyd/hello_erlang/relx/deps +</I>><i> /usr/lib/erlang/lib +</I>><i> +</I>><i> Failed to solve release: +</I>><i> Dependency hello_erlang is specified as a dependency but is not reachable by the system. +</I>><i> +</I>><i> I've added all variations to .erlang that I can think of to put hello_erlang into the code path, but none seem to work. Can some kind soul let me in on the secret? +</I>><i> +</I>><i> Many thanks, +</I>><i> +</I>><i> Lloyd +</I>><i> +</I>><i> ********************************************* +</I>><i> My books: +</I>><i> +</I>><i> THE GOSPEL OF ASHES +</I>><i> <A HREF="http://thegospelofashes.com">http://thegospelofashes.com</A> +</I>><i> +</I>><i> Strength is not enough. Do they have the courage +</I>><i> and the cunning? Can they survive long enough to +</I>><i> save the lives of millions? +</I>><i> +</I>><i> FREEIN' PANCHO +</I>><i> <A HREF="http://freeinpancho.com">http://freeinpancho.com</A> +</I>><i> +</I>><i> A community of misfits help a troubled boy find his way +</I>><i> +</I>><i> AYA TAKEO +</I>><i> <A HREF="http://ayatakeo.com">http://ayatakeo.com</A> +</I>><i> +</I>><i> Star-crossed love, war and power in an alternative +</I>><i> universe +</I>><i> +</I>><i> Available through Amazon or by request from your +</I>><i> favorite bookstore +</I>><i> +</I>><i> +</I>><i> ********************************************** +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + <LI>Next message: <A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#247">[ date ]</a> + <a href="thread.html#247">[ thread ]</a> + <a href="subject.html#247">[ subject ]</a> + <a href="author.html#247">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000248.html b/archives/extend/2013-September/000248.html new file mode 100644 index 00000000..3d6dd723 --- /dev/null +++ b/archives/extend/2013-September/000248.html @@ -0,0 +1,141 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C1380126304.20343.26357585.70B016C0%40webmail.messagingengine.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000246.html"> + <LINK REL="Next" HREF="000250.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Tristan Sloughter</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C1380126304.20343.26357585.70B016C0%40webmail.messagingengine.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">tristan.sloughter at gmail.com + </A><BR> + <I>Wed Sep 25 18:25:04 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#248">[ date ]</a> + <a href="thread.html#248">[ thread ]</a> + <a href="subject.html#248">[ subject ]</a> + <a href="author.html#248">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I ran into the same thing. I assume you installed Erlang from the Erlang +Solutions repo? + +Install erlang-hipe package. Or remove +/usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely. + +Their packages install a broken hipe app, missing lots of beams, for +some reason. But if you install the hipe package it'll install what is +missing. I told them about this but I haven't heard back. + +-- + Tristan Sloughter + <A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> + +On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote: +><i> Why does it look for hipe at all to begin with? +</I>><i> +</I>><i> I'll ping tristan about it. +</I>><i> +</I>><i> On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +</I>><i> > hi +</I>><i> > Just starting out so I'm trying to run cowboy's helloworld +</I>><i> > in cowboy/examples/hello_world, running make fails with: +</I>><i> > +</I>><i> > ===> Provider (rlx_prv_discover) failed with: {error, +</I>><i> > {rlx_app_discovery, +</I>><i> > [{missing_beam_file, +</I>><i> > hipe, +</I>><i> > +</I>><i> > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>><i> > {missing_beam_file, +</I>><i> > hipe, +</I>><i> > +</I>><i> > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>><i> > +</I>><i> > there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it +</I>><i> > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>><i> > I've tried passing the correct dir to relx using --lib-dir but I still +</I>><i> > get the same error. +</I>><i> > +</I>><i> > Any ideas what's going wrong? +</I>><i> > +</I>><i> > erl: Erlang R16B02 (erts-5.10.3) +</I>><i> > relx: 0.0.0+build.275.refca03701 +</I>><i> > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git 2.1.0-pre-46-g78fa8fc +</I>><i> > +</I>><i> > +</I>><i> > On 22 September 2013 21:55, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>><i> > <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>><i> > +</I>><i> > hi +</I>><i> > Just starting out so I've got latest versions of apps. +</I>><i> > in cowboy/examples/hello_world, running make fails with: +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > _______________________________________________ +</I>><i> > Extend mailing list +</I>><i> > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> > +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I> + +-- + Tristan Sloughter + <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#248">[ date ]</a> + <a href="thread.html#248">[ thread ]</a> + <a href="subject.html#248">[ subject ]</a> + <a href="author.html#248">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000249.html b/archives/extend/2013-September/000249.html new file mode 100644 index 00000000..cc39f8fe --- /dev/null +++ b/archives/extend/2013-September/000249.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Mailing lists maintenance 28th of September + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mailing%20lists%20maintenance%2028th%20of%20September&In-Reply-To=%3C52430F0E.5090306%40ninenines.eu%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000247.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Mailing lists maintenance 28th of September</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mailing%20lists%20maintenance%2028th%20of%20September&In-Reply-To=%3C52430F0E.5090306%40ninenines.eu%3E" + TITLE="[99s-extend] Mailing lists maintenance 28th of September">essen at ninenines.eu + </A><BR> + <I>Wed Sep 25 18:27:58 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#249">[ date ]</a> + <a href="thread.html#249">[ thread ]</a> + <a href="subject.html#249">[ subject ]</a> + <a href="author.html#249">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +Just a heads up, I will be moving the mailing lists to a new server +Saturday. As a result they might be unavailable for a couple hours/days +depending on how well I manage to do it. + +Thanks for your understanding! + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#249">[ date ]</a> + <a href="thread.html#249">[ thread ]</a> + <a href="subject.html#249">[ subject ]</a> + <a href="author.html#249">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000250.html b/archives/extend/2013-September/000250.html new file mode 100644 index 00000000..75ceea7c --- /dev/null +++ b/archives/extend/2013-September/000250.html @@ -0,0 +1,155 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVnkTmqkvxq8r6ufAAgkqoLrzjO_rVENuk9YzZNd-mmnM6Q%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000248.html"> + <LINK REL="Next" HREF="000251.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Matthew Hegarty</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVnkTmqkvxq8r6ufAAgkqoLrzjO_rVENuk9YzZNd-mmnM6Q%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">mrhegarty at gmail.com + </A><BR> + <I>Thu Sep 26 21:03:06 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#250">[ date ]</a> + <a href="thread.html#250">[ thread ]</a> + <a href="subject.html#250">[ subject ]</a> + <a href="author.html#250">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hi +I compiled Erlang from source (downloaded from erlang.org) + + +On 25 September 2013 17:25, Tristan Sloughter +<<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>>wrote: + +><i> I ran into the same thing. I assume you installed Erlang from the Erlang +</I>><i> Solutions repo? +</I>><i> +</I>><i> Install erlang-hipe package. Or remove +</I>><i> /usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely. +</I>><i> +</I>><i> Their packages install a broken hipe app, missing lots of beams, for +</I>><i> some reason. But if you install the hipe package it'll install what is +</I>><i> missing. I told them about this but I haven't heard back. +</I>><i> +</I>><i> -- +</I>><i> Tristan Sloughter +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> +</I>><i> +</I>><i> On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote: +</I>><i> > Why does it look for hipe at all to begin with? +</I>><i> > +</I>><i> > I'll ping tristan about it. +</I>><i> > +</I>><i> > On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +</I>><i> > > hi +</I>><i> > > Just starting out so I'm trying to run cowboy's helloworld +</I>><i> > > in cowboy/examples/hello_world, running make fails with: +</I>><i> > > +</I>><i> > > ===> Provider (rlx_prv_discover) failed with: {error, +</I>><i> > > +</I>><i> {rlx_app_discovery, +</I>><i> > > +</I>><i> [{missing_beam_file, +</I>><i> > > hipe, +</I>><i> > > +</I>><i> > > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>><i> > > +</I>><i> {missing_beam_file, +</I>><i> > > hipe, +</I>><i> > > +</I>><i> > > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>><i> > > +</I>><i> > > there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, +</I>><i> it +</I>><i> > > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>><i> > > I've tried passing the correct dir to relx using --lib-dir but I still +</I>><i> > > get the same error. +</I>><i> > > +</I>><i> > > Any ideas what's going wrong? +</I>><i> > > +</I>><i> > > erl: Erlang R16B02 (erts-5.10.3) +</I>><i> > > relx: 0.0.0+build.275.refca03701 +</I>><i> > > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git 2.1.0-pre-46-g78fa8fc +</I>><i> > > +</I>><i> > > +</I>><i> > > On 22 September 2013 21:55, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>><i> > > <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>><i> > > +</I>><i> > > hi +</I>><i> > > Just starting out so I've got latest versions of apps. +</I>><i> > > in cowboy/examples/hello_world, running make fails with: +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > _______________________________________________ +</I>><i> > > Extend mailing list +</I>><i> > > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> > > +</I>><i> > +</I>><i> > +</I>><i> > -- +</I>><i> > Loïc Hoguin +</I>><i> > Erlang Cowboy +</I>><i> > Nine Nines +</I>><i> > <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> > _______________________________________________ +</I>><i> > Extend mailing list +</I>><i> > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Tristan Sloughter +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130926/d34b33e3/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130926/d34b33e3/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#250">[ date ]</a> + <a href="thread.html#250">[ thread ]</a> + <a href="subject.html#250">[ subject ]</a> + <a href="author.html#250">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000251.html b/archives/extend/2013-September/000251.html new file mode 100644 index 00000000..1bb672ae --- /dev/null +++ b/archives/extend/2013-September/000251.html @@ -0,0 +1,212 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C1380222240.30914.26875993.6CA5F061%40webmail.messagingengine.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000250.html"> + <LINK REL="Next" HREF="000252.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Tristan Sloughter</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C1380222240.30914.26875993.6CA5F061%40webmail.messagingengine.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">tristan.sloughter at gmail.com + </A><BR> + <I>Thu Sep 26 21:04:00 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#251">[ date ]</a> + <a href="thread.html#251">[ thread ]</a> + <a href="subject.html#251">[ subject ]</a> + <a href="author.html#251">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Did you enable hipe when you compiled? Does +/usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam exist? + + + +-- +Tristan Sloughter +<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> + + + + + +On Thu, Sep 26, 2013, at 12:03 PM, Matthew Hegarty wrote: + +hi + +I compiled Erlang from source (downloaded from [1]erlang.org) + + + +On 25 September 2013 17:25, Tristan Sloughter +<[2]<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>> wrote: + +I ran into the same thing. I assume you installed Erlang from the +Erlang + +Solutions repo? + + + +Install erlang-hipe package. Or remove + +/usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely. + + + +Their packages install a broken hipe app, missing lots of beams, for + +some reason. But if you install the hipe package it'll install what is + +missing. I told them about this but I haven't heard back. + + + +-- + + Tristan Sloughter + + [3]<A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> + + + + +On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote: +><i> Why does it look for hipe at all to begin with? +</I>><i> +</I>><i> I'll ping tristan about it. +</I>><i> +</I>><i> On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +</I>><i> > hi +</I>><i> > Just starting out so I'm trying to run cowboy's helloworld +</I>><i> > in cowboy/examples/hello_world, running make fails with: +</I>><i> > +</I>><i> > ===> Provider (rlx_prv_discover) failed with: {error, +</I>><i> > +</I>{rlx_app_discovery, +><i> > +</I>[{missing_beam_file, +><i> > hipe, +</I>><i> > +</I>><i> > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>><i> > +</I>{missing_beam_file, +><i> > hipe, +</I>><i> > +</I>><i> > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>><i> > +</I>><i> > there is no hipe.beam in +</I>/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it +><i> > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>><i> > I've tried passing the correct dir to relx using --lib-dir but I +</I>still +><i> > get the same error. +</I>><i> > +</I>><i> > Any ideas what's going wrong? +</I>><i> > +</I>><i> > erl: Erlang R16B02 (erts-5.10.3) +</I>><i> > relx: 0.0.0+build.275.refca03701 +</I>><i> > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git +</I>2.1.0-pre-46-g78fa8fc +><i> > +</I>><i> > +</I>><i> > On 22 September 2013 21:55, Matthew Hegarty <[4]<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>><i> > <mailto:[5]<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>><i> > +</I>><i> > hi +</I>><i> > Just starting out so I've got latest versions of apps. +</I>><i> > in cowboy/examples/hello_world, running make fails with: +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > _______________________________________________ +</I>><i> > Extend mailing list +</I>><i> > [6]<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > [7]<A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> > +</I>><i> +</I>><i> +</I>><i> -- +</I> +><i> Loïc Hoguin +</I> + + +><i> Erlang Cowboy +</I> +><i> Nine Nines +</I> +><i> [8]<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> +><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> [9]<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> [10]<A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I> + +-- + + Tristan Sloughter + + [11]<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> + +References + +1. <A HREF="http://erlang.org/">http://erlang.org/</A> +2. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +3. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> +4. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +5. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +6. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +7. <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +8. <A HREF="http://ninenines.eu/">http://ninenines.eu/</A> +9. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> + 10. <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> + 11. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130926/28d38e59/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130926/28d38e59/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#251">[ date ]</a> + <a href="thread.html#251">[ thread ]</a> + <a href="subject.html#251">[ subject ]</a> + <a href="author.html#251">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000252.html b/archives/extend/2013-September/000252.html new file mode 100644 index 00000000..68aa9a1a --- /dev/null +++ b/archives/extend/2013-September/000252.html @@ -0,0 +1,188 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVn%3DwMD6crYFEHXB%3DBcO8HhOJHK5Rhk7LAAzJVBNDU1%2BtYw%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000251.html"> + <LINK REL="Next" HREF="000253.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Matthew Hegarty</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVn%3DwMD6crYFEHXB%3DBcO8HhOJHK5Rhk7LAAzJVBNDU1%2BtYw%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">mrhegarty at gmail.com + </A><BR> + <I>Thu Sep 26 22:36:03 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#252">[ date ]</a> + <a href="thread.html#252">[ thread ]</a> + <a href="subject.html#252">[ subject ]</a> + <a href="author.html#252">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>yes it exists. I believe hipe is enabled by default when I compile. + +however there is no + + /usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam + /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam + +which is what relx is apparently looking for. +Do you know where does relx get these paths from? + + +On 26 September 2013 20:04, Tristan Sloughter +<<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>>wrote: + +><i> ** +</I>><i> Did you enable hipe when you compiled? Does +</I>><i> /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam exist? +</I>><i> +</I>><i> -- +</I>><i> Tristan Sloughter +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Thu, Sep 26, 2013, at 12:03 PM, Matthew Hegarty wrote: +</I>><i> +</I>><i> hi +</I>><i> I compiled Erlang from source (downloaded from erlang.org) +</I>><i> +</I>><i> +</I>><i> On 25 September 2013 17:25, Tristan Sloughter <<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>><i> > wrote: +</I>><i> +</I>><i> +</I>><i> I ran into the same thing. I assume you installed Erlang from the Erlang +</I>><i> Solutions repo? +</I>><i> +</I>><i> Install erlang-hipe package. Or remove +</I>><i> /usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely. +</I>><i> +</I>><i> Their packages install a broken hipe app, missing lots of beams, for +</I>><i> some reason. But if you install the hipe package it'll install what is +</I>><i> missing. I told them about this but I haven't heard back. +</I>><i> +</I>><i> -- +</I>><i> Tristan Sloughter +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> +</I>><i> +</I>><i> +</I>><i> On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote: +</I>><i> > Why does it look for hipe at all to begin with? +</I>><i> > +</I>><i> > I'll ping tristan about it. +</I>><i> > +</I>><i> > On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +</I>><i> > > hi +</I>><i> > > Just starting out so I'm trying to run cowboy's helloworld +</I>><i> > > in cowboy/examples/hello_world, running make fails with: +</I>><i> > > +</I>><i> > > ===> Provider (rlx_prv_discover) failed with: {error, +</I>><i> > > +</I>><i> {rlx_app_discovery, +</I>><i> > > +</I>><i> [{missing_beam_file, +</I>><i> > > hipe, +</I>><i> > > +</I>><i> > > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>><i> > > +</I>><i> {missing_beam_file, +</I>><i> > > hipe, +</I>><i> > > +</I>><i> > > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>><i> > > +</I>><i> > > there is no hipe.beam in /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, +</I>><i> it +</I>><i> > > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>><i> > > I've tried passing the correct dir to relx using --lib-dir but I still +</I>><i> > > get the same error. +</I>><i> > > +</I>><i> > > Any ideas what's going wrong? +</I>><i> > > +</I>><i> > > erl: Erlang R16B02 (erts-5.10.3) +</I>><i> > > relx: 0.0.0+build.275.refca03701 +</I>><i> > > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git +</I>><i> 2.1.0-pre-46-g78fa8fc +</I>><i> > > +</I>><i> > > +</I>><i> > > On 22 September 2013 21:55, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>><i> > > <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>><i> > > +</I>><i> > > hi +</I>><i> > > Just starting out so I've got latest versions of apps. +</I>><i> > > in cowboy/examples/hello_world, running make fails with: +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > +</I>><i> > > _______________________________________________ +</I>><i> > > Extend mailing list +</I>><i> > > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> > > +</I>><i> > +</I>><i> > +</I>><i> > -- +</I>><i> > Loïc Hoguin +</I>><i> +</I>><i> > Erlang Cowboy +</I>><i> > Nine Nines +</I>><i> > <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> > _______________________________________________ +</I>><i> > Extend mailing list +</I>><i> > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Tristan Sloughter +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130926/3a77fe04/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130926/3a77fe04/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#252">[ date ]</a> + <a href="thread.html#252">[ thread ]</a> + <a href="subject.html#252">[ subject ]</a> + <a href="author.html#252">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000253.html b/archives/extend/2013-September/000253.html new file mode 100644 index 00000000..168be8bc --- /dev/null +++ b/archives/extend/2013-September/000253.html @@ -0,0 +1,210 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVn%3DK%3D7Pv%2BJ_Qx%2BdJqRH%3DxcDdhGPws2MmsuwpROVGU_1Axg%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000252.html"> + <LINK REL="Next" HREF="000254.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Matthew Hegarty</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%09missing_beam_file%20%28hipe%29&In-Reply-To=%3CCAAcKVn%3DK%3D7Pv%2BJ_Qx%2BdJqRH%3DxcDdhGPws2MmsuwpROVGU_1Axg%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">mrhegarty at gmail.com + </A><BR> + <I>Sat Sep 28 22:41:16 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#253">[ date ]</a> + <a href="thread.html#253">[ thread ]</a> + <a href="subject.html#253">[ subject ]</a> + <a href="author.html#253">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Got it to work. I apparently had a few versions of hipe in my Erlang lib +dir: + +$ /usr/local/lib/erlang/lib $ ll -ld hipe* +drwxr-xr-x 9 root root 4096 Feb 11 2013 hipe-3.10/ +drwxr-xr-x 9 root root 4096 Mar 1 2013 hipe-3.10.1/ +drwxr-xr-x 10 root root 4096 Jul 2 11:31 hipe-3.10.2/ +drwxr-xr-x 10 root root 4096 Sep 21 17:36 hipe-3.10.2.1/ + +They must have come from previous erlang installations (compilation from +source). The solution was to remove the older versions and leave only the +latest one. Maybe relx should be able to handle this? + +thanks for the responses + +Matt + + +On 26 September 2013 21:36, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>> wrote: + +><i> yes it exists. I believe hipe is enabled by default when I compile. +</I>><i> +</I>><i> however there is no +</I>><i> +</I>><i> /usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam +</I>><i> /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam +</I>><i> +</I>><i> which is what relx is apparently looking for. +</I>><i> Do you know where does relx get these paths from? +</I>><i> +</I>><i> +</I>><i> On 26 September 2013 20:04, Tristan Sloughter <<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>><i> > wrote: +</I>><i> +</I>>><i> ** +</I>>><i> Did you enable hipe when you compiled? Does +</I>>><i> /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam exist? +</I>>><i> +</I>>><i> -- +</I>>><i> Tristan Sloughter +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> On Thu, Sep 26, 2013, at 12:03 PM, Matthew Hegarty wrote: +</I>>><i> +</I>>><i> hi +</I>>><i> I compiled Erlang from source (downloaded from erlang.org) +</I>>><i> +</I>>><i> +</I>>><i> On 25 September 2013 17:25, Tristan Sloughter < +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>> wrote: +</I>>><i> +</I>>><i> +</I>>><i> I ran into the same thing. I assume you installed Erlang from the Erlang +</I>>><i> Solutions repo? +</I>>><i> +</I>>><i> Install erlang-hipe package. Or remove +</I>>><i> /usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely. +</I>>><i> +</I>>><i> Their packages install a broken hipe app, missing lots of beams, for +</I>>><i> some reason. But if you install the hipe package it'll install what is +</I>>><i> missing. I told them about this but I haven't heard back. +</I>>><i> +</I>>><i> -- +</I>>><i> Tristan Sloughter +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> +</I>>><i> +</I>>><i> +</I>>><i> On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote: +</I>>><i> > Why does it look for hipe at all to begin with? +</I>>><i> > +</I>>><i> > I'll ping tristan about it. +</I>>><i> > +</I>>><i> > On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +</I>>><i> > > hi +</I>>><i> > > Just starting out so I'm trying to run cowboy's helloworld +</I>>><i> > > in cowboy/examples/hello_world, running make fails with: +</I>>><i> > > +</I>>><i> > > ===> Provider (rlx_prv_discover) failed with: {error, +</I>>><i> > > +</I>>><i> {rlx_app_discovery, +</I>>><i> > > +</I>>><i> [{missing_beam_file, +</I>>><i> > > hipe, +</I>>><i> > > +</I>>><i> > > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>>><i> > > +</I>>><i> {missing_beam_file, +</I>>><i> > > hipe, +</I>>><i> > > +</I>>><i> > > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>>><i> > > +</I>>><i> > > there is no hipe.beam in +</I>>><i> /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it +</I>>><i> > > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>>><i> > > I've tried passing the correct dir to relx using --lib-dir but I +</I>>><i> still +</I>>><i> > > get the same error. +</I>>><i> > > +</I>>><i> > > Any ideas what's going wrong? +</I>>><i> > > +</I>>><i> > > erl: Erlang R16B02 (erts-5.10.3) +</I>>><i> > > relx: 0.0.0+build.275.refca03701 +</I>>><i> > > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git +</I>>><i> 2.1.0-pre-46-g78fa8fc +</I>>><i> > > +</I>>><i> > > +</I>>><i> > > On 22 September 2013 21:55, Matthew Hegarty <<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>>><i> > > <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>>><i> > > +</I>>><i> > > hi +</I>>><i> > > Just starting out so I've got latest versions of apps. +</I>>><i> > > in cowboy/examples/hello_world, running make fails with: +</I>>><i> > > +</I>>><i> > > +</I>>><i> > > +</I>>><i> > > +</I>>><i> > > +</I>>><i> > > +</I>>><i> > > _______________________________________________ +</I>>><i> > > Extend mailing list +</I>>><i> > > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> > > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>>><i> > > +</I>>><i> > +</I>>><i> > +</I>>><i> > -- +</I>>><i> > Loïc Hoguin +</I>>><i> +</I>>><i> > Erlang Cowboy +</I>>><i> > Nine Nines +</I>>><i> > <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> > _______________________________________________ +</I>>><i> > Extend mailing list +</I>>><i> > <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> > <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Tristan Sloughter +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130928/b1333ac2/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130928/b1333ac2/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#253">[ date ]</a> + <a href="thread.html#253">[ thread ]</a> + <a href="subject.html#253">[ subject ]</a> + <a href="author.html#253">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/000254.html b/archives/extend/2013-September/000254.html new file mode 100644 index 00000000..9e3ffb6a --- /dev/null +++ b/archives/extend/2013-September/000254.html @@ -0,0 +1,269 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C1380401005.2981.27620409.32622BC4%40webmail.messagingengine.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000253.html"> + <LINK REL="Next" HREF="000245.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)</H1> + <B>Tristan Sloughter</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20helloworld%20make%20fails%20with%0A%20missing_beam_file%20%28hipe%29&In-Reply-To=%3C1380401005.2981.27620409.32622BC4%40webmail.messagingengine.com%3E" + TITLE="[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe)">tristan.sloughter at gmail.com + </A><BR> + <I>Sat Sep 28 22:43:25 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#254">[ date ]</a> + <a href="thread.html#254">[ thread ]</a> + <a href="subject.html#254">[ subject ]</a> + <a href="author.html#254">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Yea, since I doubt the OTP team (or anyone) will fix the fact that it +installs a broken hipe we've decided to just warn on broken apps during +the discovery phase. So it'll only fail if the broken app is also +suppose to be part of the release. + + + +Finishing up the relx patch right now. + + + +-- +Tristan Sloughter +<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> + + + + + +On Sat, Sep 28, 2013, at 01:41 PM, Matthew Hegarty wrote: + +Got it to work. I apparently had a few versions of hipe in my Erlang +lib dir: + +$ /usr/local/lib/erlang/lib $ ll -ld hipe* +drwxr-xr-x 9 root root 4096 Feb 11 2013 hipe-3.10/ +drwxr-xr-x 9 root root 4096 Mar 1 2013 hipe-3.10.1/ +drwxr-xr-x 10 root root 4096 Jul 2 11:31 hipe-3.10.2/ +drwxr-xr-x 10 root root 4096 Sep 21 17:36 hipe-3.10.2.1/ + +They must have come from previous erlang installations (compilation +from source). The solution was to remove the older versions and leave +only the latest one. Maybe relx should be able to handle this? + +thanks for the responses + +Matt + + + +On 26 September 2013 21:36, Matthew Hegarty <[1]<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>> +wrote: + +yes it exists. I believe hipe is enabled by default when I compile. + +however there is no + + /usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam + /usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam + +which is what relx is apparently looking for. +Do you know where does relx get these paths from? + + + +On 26 September 2013 20:04, Tristan Sloughter +<[2]<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>> wrote: + +Did you enable hipe when you compiled? Does +/usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam exist? + +-- +Tristan Sloughter +[3]<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> + + + +On Thu, Sep 26, 2013, at 12:03 PM, Matthew Hegarty wrote: + +hi + +I compiled Erlang from source (downloaded from [4]erlang.org) + + + +On 25 September 2013 17:25, Tristan Sloughter +<[5]<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A>> wrote: + +I ran into the same thing. I assume you installed Erlang from the +Erlang + +Solutions repo? + + + +Install erlang-hipe package. Or remove + +/usr/local/lib/erlang/lib/hipe-3.10.2.1 entirely. + + + +Their packages install a broken hipe app, missing lots of beams, for + +some reason. But if you install the hipe package it'll install what is + +missing. I told them about this but I haven't heard back. + + + +-- + + Tristan Sloughter + + [6]<A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> + + + + +On Wed, Sep 25, 2013, at 08:09 AM, Loïc Hoguin wrote: +><i> Why does it look for hipe at all to begin with? +</I>><i> +</I>><i> I'll ping tristan about it. +</I>><i> +</I>><i> On 09/22/2013 10:59 PM, Matthew Hegarty wrote: +</I>><i> > hi +</I>><i> > Just starting out so I'm trying to run cowboy's helloworld +</I>><i> > in cowboy/examples/hello_world, running make fails with: +</I>><i> > +</I>><i> > ===> Provider (rlx_prv_discover) failed with: {error, +</I>><i> > +</I>{rlx_app_discovery, +><i> > +</I>[{missing_beam_file, +><i> > hipe, +</I>><i> > +</I>><i> > <<"/usr/local/lib/erlang/lib/hipe-3.10/ebin/hipe.beam">>}, +</I>><i> > +</I>{missing_beam_file, +><i> > hipe, +</I>><i> > +</I>><i> > <<"/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/hipe.beam">>}]}} +</I>><i> > +</I>><i> > there is no hipe.beam in +</I>/usr/local/lib/erlang/lib/hipe-3.10.1/ebin/, it +><i> > is in /usr/local/lib/erlang/lib/hipe-3.10.2.1/ebin/hipe.beam. +</I>><i> > I've tried passing the correct dir to relx using --lib-dir but I +</I>still +><i> > get the same error. +</I>><i> > +</I>><i> > Any ideas what's going wrong? +</I>><i> > +</I>><i> > erl: Erlang R16B02 (erts-5.10.3) +</I>><i> > relx: 0.0.0+build.275.refca03701 +</I>><i> > rebar: rebar 2.1.0-pre R16B02 20130922_191744 git +</I>2.1.0-pre-46-g78fa8fc +><i> > +</I>><i> > +</I>><i> > On 22 September 2013 21:55, Matthew Hegarty <[7]<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +</I>><i> > <mailto:[8]<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A>>> wrote: +</I>><i> > +</I>><i> > hi +</I>><i> > Just starting out so I've got latest versions of apps. +</I>><i> > in cowboy/examples/hello_world, running make fails with: +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > _______________________________________________ +</I>><i> > Extend mailing list +</I>><i> > [9]<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> > [10]<A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> > +</I>><i> +</I>><i> +</I>><i> -- +</I> +><i> Loïc Hoguin +</I> + + +><i> Erlang Cowboy +</I> +><i> Nine Nines +</I> +><i> [11]<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> +><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> [12]<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> [13]<A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I> + +-- + + Tristan Sloughter + + [14]<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> + +References + +1. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +2. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +3. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +4. <A HREF="http://erlang.org/">http://erlang.org/</A> +5. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +6. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tsloughter at fastmail.fm</A> +7. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +8. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">mrhegarty at gmail.com</A> +9. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> + 10. <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> + 11. <A HREF="http://ninenines.eu/">http://ninenines.eu/</A> + 12. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> + 13. <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> + 14. mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">tristan.sloughter at gmail.com</A> +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130928/41b322fd/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130928/41b322fd/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A></li> + <LI>Next message: <A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#254">[ date ]</a> + <a href="thread.html#254">[ thread ]</a> + <a href="subject.html#254">[ subject ]</a> + <a href="author.html#254">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-September/author.html b/archives/extend/2013-September/author.html new file mode 100644 index 00000000..97404d5d --- /dev/null +++ b/archives/extend/2013-September/author.html @@ -0,0 +1,187 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend September 2013 Archive by author</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>September 2013 Archives by author</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Sun Sep 15 19:01:30 CEST 2013</i><br> + <b>Ending:</b> <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Messages:</b> 28<p> + <ul> + +<LI><A HREF="000227.html">[99s-extend] Cowboy load test +</A><A NAME="227"> </A> +<I>Joe Freeman +</I> + +<LI><A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="243"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="244"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="250"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="252"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="253"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000228.html">[99s-extend] Cowboy load test +</A><A NAME="228"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000229.html">[99s-extend] Cowboy load test +</A><A NAME="229"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="231"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="233"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A><A NAME="235"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="238"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="240"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="242"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="246"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="247"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A><A NAME="249"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="248"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="251"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="254"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="230"> </A> +<I>akonsu +</I> + +<LI><A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="232"> </A> +<I>akonsu +</I> + +<LI><A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A><A NAME="234"> </A> +<I>akonsu +</I> + +<LI><A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A><A NAME="236"> </A> +<I>akonsu +</I> + +<LI><A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="237"> </A> +<I>akonsu +</I> + +<LI><A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="239"> </A> +<I>akonsu +</I> + +<LI><A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="241"> </A> +<I>akonsu +</I> + +<LI><A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="245"> </A> +<I>lloyd at writersglen.com +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:45 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-September/date.html b/archives/extend/2013-September/date.html new file mode 100644 index 00000000..ccbd2574 --- /dev/null +++ b/archives/extend/2013-September/date.html @@ -0,0 +1,187 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend September 2013 Archive by date</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>September 2013 Archives by date</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Sun Sep 15 19:01:30 CEST 2013</i><br> + <b>Ending:</b> <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Messages:</b> 28<p> + <ul> + +<LI><A HREF="000227.html">[99s-extend] Cowboy load test +</A><A NAME="227"> </A> +<I>Joe Freeman +</I> + +<LI><A HREF="000228.html">[99s-extend] Cowboy load test +</A><A NAME="228"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000229.html">[99s-extend] Cowboy load test +</A><A NAME="229"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="230"> </A> +<I>akonsu +</I> + +<LI><A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="231"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="232"> </A> +<I>akonsu +</I> + +<LI><A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="233"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A><A NAME="234"> </A> +<I>akonsu +</I> + +<LI><A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A><A NAME="235"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A><A NAME="236"> </A> +<I>akonsu +</I> + +<LI><A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="237"> </A> +<I>akonsu +</I> + +<LI><A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="238"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="239"> </A> +<I>akonsu +</I> + +<LI><A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="240"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="241"> </A> +<I>akonsu +</I> + +<LI><A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="242"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="243"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="244"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="245"> </A> +<I>lloyd at writersglen.com +</I> + +<LI><A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="246"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="247"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="248"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A><A NAME="249"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="250"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="251"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="252"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="253"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="254"> </A> +<I>Tristan Sloughter +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:45 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-September/index.html b/archives/extend/2013-September/index.html new file mode 100644 index 00000000..8366d4d0 --- /dev/null +++ b/archives/extend/2013-September/index.html @@ -0,0 +1,243 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend September 2013 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>September 2013 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Sun Sep 15 19:01:30 CEST 2013</i><br> + <b>Ending:</b> <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Messages:</b> 28<p> + <ul> + +<!--0 01379264490.227- --> +<LI><A HREF="000227.html">[99s-extend] Cowboy load test +</A><A NAME="227"> </A> +<I>Joe Freeman +</I> + +<UL> +<!--1 01379264490.227-01379271755.228- --> +<LI><A HREF="000228.html">[99s-extend] Cowboy load test +</A><A NAME="228"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379264490.227-01379271755.228-01379271902.229- --> +<LI><A HREF="000229.html">[99s-extend] Cowboy load test +</A><A NAME="229"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +<!--0 01379339422.230- --> +<LI><A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="230"> </A> +<I>akonsu +</I> + +<UL> +<!--1 01379339422.230-01379351192.231- --> +<LI><A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="231"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379339422.230-01379351192.231-01379351664.232- --> +<LI><A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="232"> </A> +<I>akonsu +</I> + +<UL> +<!--3 01379339422.230-01379351192.231-01379351664.232-01379351999.233- --> +<LI><A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="233"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +</UL> +<!--0 01379565057.234- --> +<LI><A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A><A NAME="234"> </A> +<I>akonsu +</I> + +<UL> +<!--1 01379565057.234-01379581382.235- --> +<LI><A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A><A NAME="235"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379565057.234-01379581382.235-01379590678.236- --> +<LI><A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A><A NAME="236"> </A> +<I>akonsu +</I> + +</UL> +</UL> +<!--0 01379702874.237- --> +<LI><A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="237"> </A> +<I>akonsu +</I> + +<UL> +<!--1 01379702874.237-01379703057.238- --> +<LI><A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="238"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379702874.237-01379703057.238-01379703296.239- --> +<LI><A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="239"> </A> +<I>akonsu +</I> + +<UL> +<!--3 01379702874.237-01379703057.238-01379703296.239-01379703391.240- --> +<LI><A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="240"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01379702874.237-01379703057.238-01379703296.239-01379703391.240-01379703586.241- --> +<LI><A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="241"> </A> +<I>akonsu +</I> + +<!--3 01379702874.237-01379703057.238-01379703296.239-01379703391.240-01379703586.241-01379703874.242- --> +<LI><A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="242"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +</UL> +<!--0 01379883331.243- --> +<LI><A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="243"> </A> +<I>Matthew Hegarty +</I> + +<UL> +<!--1 01379883331.243-01379883577.244- --> +<LI><A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="244"> </A> +<I>Matthew Hegarty +</I> + +<UL> +<!--2 01379883331.243-01379883577.244-01380121756.246- --> +<LI><A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="246"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248- --> +<LI><A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="248"> </A> +<I>Tristan Sloughter +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250- --> +<LI><A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="250"> </A> +<I>Matthew Hegarty +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251- --> +<LI><A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="251"> </A> +<I>Tristan Sloughter +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251-01380227763.252- --> +<LI><A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="252"> </A> +<I>Matthew Hegarty +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251-01380227763.252-01380400876.253- --> +<LI><A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="253"> </A> +<I>Matthew Hegarty +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251-01380227763.252-01380400876.253-01380401005.254- --> +<LI><A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="254"> </A> +<I>Tristan Sloughter +</I> + +</UL> +</UL> +</UL> +<!--0 01379894261.245- --> +<LI><A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="245"> </A> +<I>lloyd at writersglen.com +</I> + +<UL> +<!--1 01379894261.245-01380121801.247- --> +<LI><A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="247"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01380126478.249- --> +<LI><A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A><A NAME="249"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:45 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-September/subject.html b/archives/extend/2013-September/subject.html new file mode 100644 index 00000000..835ec2ec --- /dev/null +++ b/archives/extend/2013-September/subject.html @@ -0,0 +1,187 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend September 2013 Archive by subject</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>September 2013 Archives by subject</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Sun Sep 15 19:01:30 CEST 2013</i><br> + <b>Ending:</b> <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Messages:</b> 28<p> + <ul> + +<LI><A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="245"> </A> +<I>lloyd at writersglen.com +</I> + +<LI><A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="247"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A><A NAME="234"> </A> +<I>akonsu +</I> + +<LI><A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A><A NAME="235"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A><A NAME="236"> </A> +<I>akonsu +</I> + +<LI><A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="243"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="244"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="246"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="248"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="250"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="251"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="252"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="253"> </A> +<I>Matthew Hegarty +</I> + +<LI><A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="254"> </A> +<I>Tristan Sloughter +</I> + +<LI><A HREF="000227.html">[99s-extend] Cowboy load test +</A><A NAME="227"> </A> +<I>Joe Freeman +</I> + +<LI><A HREF="000228.html">[99s-extend] Cowboy load test +</A><A NAME="228"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000229.html">[99s-extend] Cowboy load test +</A><A NAME="229"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="230"> </A> +<I>akonsu +</I> + +<LI><A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="231"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="232"> </A> +<I>akonsu +</I> + +<LI><A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="233"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A><A NAME="249"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="237"> </A> +<I>akonsu +</I> + +<LI><A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="238"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="239"> </A> +<I>akonsu +</I> + +<LI><A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="240"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="241"> </A> +<I>akonsu +</I> + +<LI><A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="242"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:45 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-September/thread.html b/archives/extend/2013-September/thread.html new file mode 100644 index 00000000..8366d4d0 --- /dev/null +++ b/archives/extend/2013-September/thread.html @@ -0,0 +1,243 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend September 2013 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>September 2013 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Sun Sep 15 19:01:30 CEST 2013</i><br> + <b>Ending:</b> <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Messages:</b> 28<p> + <ul> + +<!--0 01379264490.227- --> +<LI><A HREF="000227.html">[99s-extend] Cowboy load test +</A><A NAME="227"> </A> +<I>Joe Freeman +</I> + +<UL> +<!--1 01379264490.227-01379271755.228- --> +<LI><A HREF="000228.html">[99s-extend] Cowboy load test +</A><A NAME="228"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379264490.227-01379271755.228-01379271902.229- --> +<LI><A HREF="000229.html">[99s-extend] Cowboy load test +</A><A NAME="229"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +<!--0 01379339422.230- --> +<LI><A HREF="000230.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="230"> </A> +<I>akonsu +</I> + +<UL> +<!--1 01379339422.230-01379351192.231- --> +<LI><A HREF="000231.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="231"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379339422.230-01379351192.231-01379351664.232- --> +<LI><A HREF="000232.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="232"> </A> +<I>akonsu +</I> + +<UL> +<!--3 01379339422.230-01379351192.231-01379351664.232-01379351999.233- --> +<LI><A HREF="000233.html">[99s-extend] how to send a message to all connections in cowboy +</A><A NAME="233"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +</UL> +<!--0 01379565057.234- --> +<LI><A HREF="000234.html">[99s-extend] cowboy_loop_handler +</A><A NAME="234"> </A> +<I>akonsu +</I> + +<UL> +<!--1 01379565057.234-01379581382.235- --> +<LI><A HREF="000235.html">[99s-extend] cowboy_loop_handler +</A><A NAME="235"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379565057.234-01379581382.235-01379590678.236- --> +<LI><A HREF="000236.html">[99s-extend] cowboy_loop_handler +</A><A NAME="236"> </A> +<I>akonsu +</I> + +</UL> +</UL> +<!--0 01379702874.237- --> +<LI><A HREF="000237.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="237"> </A> +<I>akonsu +</I> + +<UL> +<!--1 01379702874.237-01379703057.238- --> +<LI><A HREF="000238.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="238"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01379702874.237-01379703057.238-01379703296.239- --> +<LI><A HREF="000239.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="239"> </A> +<I>akonsu +</I> + +<UL> +<!--3 01379702874.237-01379703057.238-01379703296.239-01379703391.240- --> +<LI><A HREF="000240.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="240"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01379702874.237-01379703057.238-01379703296.239-01379703391.240-01379703586.241- --> +<LI><A HREF="000241.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="241"> </A> +<I>akonsu +</I> + +<!--3 01379702874.237-01379703057.238-01379703296.239-01379703391.240-01379703586.241-01379703874.242- --> +<LI><A HREF="000242.html">[99s-extend] timeouts and slow clients in cowboy loop handler +</A><A NAME="242"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +</UL> +<!--0 01379883331.243- --> +<LI><A HREF="000243.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="243"> </A> +<I>Matthew Hegarty +</I> + +<UL> +<!--1 01379883331.243-01379883577.244- --> +<LI><A HREF="000244.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="244"> </A> +<I>Matthew Hegarty +</I> + +<UL> +<!--2 01379883331.243-01379883577.244-01380121756.246- --> +<LI><A HREF="000246.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="246"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248- --> +<LI><A HREF="000248.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="248"> </A> +<I>Tristan Sloughter +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250- --> +<LI><A HREF="000250.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="250"> </A> +<I>Matthew Hegarty +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251- --> +<LI><A HREF="000251.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="251"> </A> +<I>Tristan Sloughter +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251-01380227763.252- --> +<LI><A HREF="000252.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="252"> </A> +<I>Matthew Hegarty +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251-01380227763.252-01380400876.253- --> +<LI><A HREF="000253.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="253"> </A> +<I>Matthew Hegarty +</I> + +<!--3 01379883331.243-01379883577.244-01380121756.246-01380126304.248-01380222186.250-01380222240.251-01380227763.252-01380400876.253-01380401005.254- --> +<LI><A HREF="000254.html">[99s-extend] Cowboy helloworld make fails with missing_beam_file (hipe) +</A><A NAME="254"> </A> +<I>Tristan Sloughter +</I> + +</UL> +</UL> +</UL> +<!--0 01379894261.245- --> +<LI><A HREF="000245.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="245"> </A> +<I>lloyd at writersglen.com +</I> + +<UL> +<!--1 01379894261.245-01380121801.247- --> +<LI><A HREF="000247.html">[99s-extend] Cowboy: Having problems with Getting Started +</A><A NAME="247"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01380126478.249- --> +<LI><A HREF="000249.html">[99s-extend] Mailing lists maintenance 28th of September +</A><A NAME="249"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Sep 28 22:43:25 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:45 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + |