Permalink
Commits on Oct 8, 2013
  1. @mirakui

    Merge pull request #1 from winebarrel/master

    add reconnect db by USR1 signal
    mirakui committed Oct 8, 2013
Commits on Oct 4, 2013
  1. @winebarrel

    fix hadler arg num

    winebarrel committed Oct 4, 2013
  2. @winebarrel

    fix typo

    winebarrel committed Oct 4, 2013
  3. @winebarrel

    add after_usr1 hook

    winebarrel committed Oct 4, 2013
  4. @winebarrel

    remove empty line

    winebarrel committed Oct 4, 2013
Commits on Oct 3, 2013
  1. @winebarrel
  2. @winebarrel

    add clean_reconnect_txt

    winebarrel committed Oct 3, 2013
  3. @winebarrel

    remove: rails_reconnect.rb

    winebarrel committed Oct 3, 2013
  4. @winebarrel
  5. @winebarrel
  6. @winebarrel

    add mysql2 to isolate libs

    winebarrel committed Oct 3, 2013
  7. @winebarrel
  8. @winebarrel
  9. @winebarrel
  10. @winebarrel

    comment out reconnect_rails

    winebarrel committed Oct 3, 2013
  11. @winebarrel
  12. @winebarrel

    delete: require "rails"

    winebarrel committed Oct 3, 2013
  13. @winebarrel

    fix method end

    winebarrel committed Oct 3, 2013
  14. @winebarrel

    add recconect_rails

    winebarrel committed Oct 3, 2013
Commits on Apr 17, 2012
  1. @mirakui
Commits on Feb 1, 2012
  1. add "timeout_signal" configuration;

    A signal that kill workers on timeout
    issei-naruta committed Feb 1, 2012
Commits on Jan 28, 2012
  1. unicorn 4.2.0

    The GPLv3 is now an option to the Unicorn license.  The existing GPLv2
    and Ruby-only terms will always remain options, but the GPLv3 is
    preferred.
    
    Daemonization is correctly detected on all terminals for development
    use (Brian P O'Rourke).
    
    Unicorn::OobGC respects applications that disable GC entirely
    during application dispatch (Yuichi Tateno).
    
    Many test fixes for OpenBSD, which may help other *BSDs, too.
    (Jeremy Evans).
    
    There is now _optional_ SSL support (via the "kgio-monkey"
    RubyGem).  On fast, secure LANs, SSL is only intended for
    detecting data corruption that weak TCP checksums cannot detect.
    Our SSL support is remains unaudited by security experts.
    
    There are also some minor bugfixes and documentation
    improvements.
    
    Ruby 2.0.0dev also has a copy-on-write friendly GC which can save memory
    when combined with "preload_app true", so if you're in the mood, start
    testing Unicorn with the latest Ruby!
    Eric Wong committed Jan 28, 2012
  2. doc: update doc for Ruby 2.0.0dev CoW-friendliness

    Ruby 2.0.0dev is the future and includes a CoW-friendly GC,
    so we shall encourage folks to give Ruby 2.0.0dev a spin.
    Eric Wong committed Jan 28, 2012
Commits on Jan 27, 2012
  1. script/isolate_for_tests: disable sqlite3-ruby for Ruby 2.0.0dev

    We don't need it because we don't test old Rails with bleeding edge Ruby.
    Eric Wong committed Jan 27, 2012
  2. disable old Rails tests for Ruby 2.0.0

    I doubt anybody would attempt to run ancient, unsupported versions
    of Rails on the latest (unreleased, even) versions of Ruby...
    Eric Wong committed Jan 27, 2012
  3. script/isolate_for_tests: update to kgio 2.7.2

    Again, we test with the latest version.
    Eric Wong committed Jan 27, 2012
Commits on Jan 24, 2012
  1. update tests for Rack 1.4.1

    Trying to ensure things always work with the latest version.
    Eric Wong committed Jan 24, 2012
Commits on Jan 8, 2012
  1. Rakefile: swap freshmeat.net URL for freecode.com

    :<
    Eric Wong committed Jan 8, 2012
Commits on Dec 28, 2011
  1. update tests for rack 1.4.0

    It's the latest and greatest version, so ensure everything
    works with it.
    Eric Wong committed Dec 28, 2011
Commits on Dec 17, 2011
  1. http: test case for "Connection: TE"

    We need to be sure we don't barf on this header.
    Eric Wong committed Dec 17, 2011
Commits on Dec 13, 2011
  1. cleanup exception handling on SIGUSR1

    No need to duplicate logic here
    Eric Wong committed Dec 13, 2011
  2. quiet possible IOError from SIGUSR1 (reopen logs)

    It's possible for a SIGUSR1 signal to be received in the
    worker immediately before calling IO.select.  In that case,
    do not clutter logging with IOError and just process the
    reopen log request.
    Eric Wong committed Dec 13, 2011
Commits on Dec 5, 2011
  1. socket_helper: fix grammerr fail

    Oops :x
    Eric Wong committed Dec 5, 2011
  2. socket_helper: set SO_KEEPALIVE on TCP sockets

    Even LANs can break or be unreliable sometimes and socket
    disconnect messages get lost, which means we fall back to
    the global (kill -9) timeout in Unicorn.
    
    While the default global timeout is much shorter (60s) than
    typical TCP timeouts, some HTTP application dispatches take much
    I/O or computational time (streaming many gigabytes), so the
    global timeout becomes ineffective.
    
    Under Linux, sysadmins are encouraged to lower the default
    net.ipv4.tcp_keepalive_* knobs in sysctl.  There should be
    similar knobs in other operating systems (the default keepalive
    intervals are usually ridiculously high, too high for anything).
    
    When the listen socket has SO_KEEPALIVE set, the flag should be
    inherited by accept()-ed sockets.
    Eric Wong committed Dec 5, 2011
  3. socket_helper: remove out-of-date comment for TCP_NODELAY

    We favor low latency and consistency with the Unix socket
    behavior even with TCP.
    Eric Wong committed Dec 5, 2011