* [RFC] oobgc: link to Aman's gctools for Ruby 2.1+
@ 2014-03-29 1:35 Eric Wong
2014-03-29 21:50 ` Aman Gupta
2014-04-02 4:55 ` Sam Saffron
0 siblings, 2 replies; 5+ messages in thread
From: Eric Wong @ 2014-03-29 1:35 UTC (permalink / raw)
To: Aman Gupta; +Cc: mongrel-unicorn
I've never liked OobGC, so "hot potato!" :)
---
I'll push this sometime this weekend.
Corrections/edits/acks/nacks welcome.
lib/unicorn/oob_gc.rb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/unicorn/oob_gc.rb b/lib/unicorn/oob_gc.rb
index 4e78a70..4cddd50 100644
--- a/lib/unicorn/oob_gc.rb
+++ b/lib/unicorn/oob_gc.rb
@@ -1,5 +1,11 @@
# -*- encoding: binary -*-
+# Strongly consider https://github.com/tmm1/gctools if using Ruby 2.1+
+# It is built on new APIs in Ruby 2.1, so it is more intelligent than
+# this historical implementation.
+#
+# The following information is only for historical versions of Ruby.
+#
# Runs GC after requests, after closing the client socket and
# before attempting to accept more connections.
#
--
EW
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [RFC] oobgc: link to Aman's gctools for Ruby 2.1+
2014-03-29 1:35 [RFC] oobgc: link to Aman's gctools for Ruby 2.1+ Eric Wong
@ 2014-03-29 21:50 ` Aman Gupta
2014-04-02 4:55 ` Sam Saffron
1 sibling, 0 replies; 5+ messages in thread
From: Aman Gupta @ 2014-03-29 21:50 UTC (permalink / raw)
To: Eric Wong; +Cc: unicorn list
Fine by me.
On Fri, Mar 28, 2014 at 6:35 PM, Eric Wong <e@80x24.org> wrote:
> I've never liked OobGC, so "hot potato!" :)
> ---
> I'll push this sometime this weekend.
> Corrections/edits/acks/nacks welcome.
>
> lib/unicorn/oob_gc.rb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/lib/unicorn/oob_gc.rb b/lib/unicorn/oob_gc.rb
> index 4e78a70..4cddd50 100644
> --- a/lib/unicorn/oob_gc.rb
> +++ b/lib/unicorn/oob_gc.rb
> @@ -1,5 +1,11 @@
> # -*- encoding: binary -*-
>
> +# Strongly consider https://github.com/tmm1/gctools if using Ruby 2.1+
> +# It is built on new APIs in Ruby 2.1, so it is more intelligent than
> +# this historical implementation.
> +#
> +# The following information is only for historical versions of Ruby.
> +#
> # Runs GC after requests, after closing the client socket and
> # before attempting to accept more connections.
> #
> --
> EW
>
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] oobgc: link to Aman's gctools for Ruby 2.1+
2014-03-29 1:35 [RFC] oobgc: link to Aman's gctools for Ruby 2.1+ Eric Wong
2014-03-29 21:50 ` Aman Gupta
@ 2014-04-02 4:55 ` Sam Saffron
2014-04-02 9:55 ` Eric Wong
1 sibling, 1 reply; 5+ messages in thread
From: Sam Saffron @ 2014-04-02 4:55 UTC (permalink / raw)
To: unicorn list
Perhaps link to
https://github.com/discourse/discourse/blob/master/lib/middleware/unicorn_oobgc.rb
for a 2.0 compatible solution (for people not on 2.1 yet)
On Sat, Mar 29, 2014 at 12:35 PM, Eric Wong <e@80x24.org> wrote:
> I've never liked OobGC, so "hot potato!" :)
> ---
> I'll push this sometime this weekend.
> Corrections/edits/acks/nacks welcome.
>
> lib/unicorn/oob_gc.rb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/lib/unicorn/oob_gc.rb b/lib/unicorn/oob_gc.rb
> index 4e78a70..4cddd50 100644
> --- a/lib/unicorn/oob_gc.rb
> +++ b/lib/unicorn/oob_gc.rb
> @@ -1,5 +1,11 @@
> # -*- encoding: binary -*-
>
> +# Strongly consider https://github.com/tmm1/gctools if using Ruby 2.1+
> +# It is built on new APIs in Ruby 2.1, so it is more intelligent than
> +# this historical implementation.
> +#
> +# The following information is only for historical versions of Ruby.
> +#
> # Runs GC after requests, after closing the client socket and
> # before attempting to accept more connections.
> #
> --
> EW
>
> _______________________________________________
> Unicorn mailing list - mongrel-unicorn@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
> Do not quote signatures (like this one) or top post when replying
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-04-02 10:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-29 1:35 [RFC] oobgc: link to Aman's gctools for Ruby 2.1+ Eric Wong
2014-03-29 21:50 ` Aman Gupta
2014-04-02 4:55 ` Sam Saffron
2014-04-02 9:55 ` Eric Wong
2014-04-02 10:05 ` Sam Saffron
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).