Permalink
Commits on Jan 7, 2012
  1. avoid calling tcp_listener_stats when it is not available

    Signed-off-by: Aman Gupta <aman@tmm1.net>
    Acked-by: Eric Wong <normalperson@yhbt.net>
    committed with Eric Wong Jan 7, 2012
  2. fix ListenStats documentation error in Raindrops::Linux.unix_listener…

    …_stats
    
    Signed-off-by: Aman Gupta <aman@tmm1.net>
    Acked-by: Eric Wong <normalperson@yhbt.net>
    committed with Eric Wong Jan 7, 2012
Commits on Nov 17, 2011
  1. examples/: updated to match current state of affairs

    Consolidating multiple Rack apps into fewer Rack apps on
    bogomips.org, might as well be transparent about it.
    Eric Wong committed Nov 17, 2011
Commits on Nov 14, 2011
  1. Test suite fix for non-linux users

    Most other linux-specific test files have this, but
    test_linux_tcp_info.rb does not.
    
    With this patch, gmake test passes on OpenBSD.
    jeremyevans committed with Eric Wong Nov 14, 2011
Commits on Oct 14, 2011
  1. raindrops 0.8.0 - watcher updates

    There are various updates to the Raindrops::Watcher Rack app.
    Most notably, the timestamp where the a statistic first and last
    hit its peak value (active/queued connections) is captured.
    
    As usual, the latest Raindrops::Watcher is running at:
      http://raindrops-demo.bogomips.org/
    Eric Wong committed Oct 14, 2011
  2. 1.8 compatibility workarounds

    Math.sqrt on 1.8.7 does not give NaN for certain errors.
    We'll also fix our Errno::EDOM retry loop to avoid resetting
    the "retried" flag.
    Eric Wong committed Oct 14, 2011
Commits on Oct 12, 2011
  1. avoid inadvertant object creation with invalid addresses

    Just in case somebody tries to scan all addresses, we
    won't run out of memory as easily.
    Eric Wong committed Oct 12, 2011
Commits on Oct 4, 2011
  1. watcher: document new headers for users

    These names are not finalized, yet.
    Eric Wong committed Oct 4, 2011
Commits on Oct 3, 2011
  1. watcher: add peak times for statistics

    It could be useful to know when the first and last peak time of
    a maximum was.
    Eric Wong committed Sep 28, 2011
Commits on Sep 28, 2011
  1. test: updates for newer Unicorn API

    Unicorn.run no longer exists
    Eric Wong committed Sep 28, 2011
  2. watcher: add X-Current header to headers

    It can be useful to some to see that info all at once
    without hitting the HTML index page.
    Eric Wong committed Sep 28, 2011
Commits on Aug 1, 2011
  1. TODO: patches welcome!

    I don't need this feature myself.
    Eric Wong committed Aug 1, 2011
  2. watcher: add POST /reset/$LISTENER endpoint rdoc

    This was always supported via the HTML (browser) interface
    but there was no documented way of hitting it without a
    browser, before.
    Eric Wong committed Aug 1, 2011
Commits on Jun 27, 2011
  1. Fix bad rescue statements in a couple tests

    jeremyevans committed with Eric Wong Jun 27, 2011
  2. raindrops 0.7.0 - FreeBSD fix, code cleanups

    This release fixes a build issue on FreeBSD.  There are various
    documentation and code cleanups, too.
    Eric Wong committed Jun 27, 2011
  3. doc: librelist.com => librelist.org

    A non-profit TLD makes more sense for a Free Software project.
    Eric Wong committed Jun 27, 2011
  4. fix Ruby warnings

    Found in the check-warnings target in pkg.mk
    Eric Wong committed Jun 27, 2011
  5. Gemfile: remove wrongdoc dependency for tests

    It's not needed.
    Eric Wong committed Jun 27, 2011
  6. pkg.mk: update to latest version

    * check-warnings option added
    * locale-independent grep invocation
    Eric Wong committed Jun 27, 2011
Commits on Jun 25, 2011
  1. remove _XOPEN_SOURCE #define for FreeBSD

    This appears to cause __BSD_VISIBLE to not be defined,
    which is required for MAP_ANON to be visible in
    sys/mman.h
    
    Thanks for Aleksandar Simic for the hint and Troex Nevelin
    for the bug report!
    Eric Wong committed Jun 25, 2011
Commits on Jun 16, 2011
  1. linux_inet_diag: avoid pointer aliasing warnings

    No need to cast when C has handy unions.  Maybe the compiler
    will be able to make better optimization choices here, but
    at least it'll be less noisy.
    Eric Wong committed Jun 16, 2011
  2. test_linux_tcp_info: fix test for higher HZ systems

    The last_data_recv field is dependent on the CONFIG_HZ of
    the kernel, so the stock 250 HZ kernel can change the
    timing on us.
    Eric Wong committed Jun 16, 2011
Commits on Mar 25, 2011
  1. last_data_recv: fixup rdoc

    formatting is hard :<
    Eric Wong committed Mar 25, 2011
Commits on Mar 24, 2011
  1. watcher: fix documentation for X-* headers

    I copied and pasted off the Raindrops::LastDataRecv
    documentation.  While the headers and mathematical meanings are
    identical, they measure different things (but for the same
    purpose)
    
    Noticed-by: Troex Nevelin
    Eric Wong committed Mar 24, 2011
Commits on Mar 21, 2011
  1. raindrops 0.6.1 - fix build on non-Linux

    TCP_INFO support couldn't compile under non-Linux, this was
    broken since 0.5.0 when TCP_INFO support was introduced.
    
    Thanks to Ben Bleything for the report.
    Eric Wong committed Mar 21, 2011
  2. tcp_info: mark this as Linux-only

    We can't even pull in linux/*.h headers to check
    for TCP_INFO.
    Eric Wong committed Mar 21, 2011
  3. raindrops 0.6.0 - polishing up the last release

    Following up the huge 0.5.0 release, 0.6.0 makes
    some minor improvements:
    
    * minor UI/UX improvements for Watcher Rack app
    * set close-on-exec by default for inet_diag sockets
    * inet_diag build fixes for newer GNU libc6
    * --with-atomic_ops-dir= build option added
    Eric Wong committed Mar 21, 2011
  4. extconf: use dir_config properly

    dir_config may be used to build for libatomic_ops.  The
    previous use of dir_config was from back when I didn't
    understand mkmf.
    
    This means you can now use:
    
      gem install raindrops -- --with-atomic_ops-dir=/usr/local
    
    If you libatomic_ops library was installed in /usr/local
    instead of /usr
    Eric Wong committed Mar 21, 2011
  5. inet_diag: no need to rely on sin6_addr internals

    Seems to breaks under newer libc headers (on Debian sid).
    Eric Wong committed Mar 21, 2011
  6. extconf: remove check for rb_struct_alloc_noinit()

    We no longer use it.
    Eric Wong committed Mar 21, 2011
  7. inet_diag: fix build under MRI 1.8.7

    Eric Wong committed Mar 21, 2011
  8. inet_diag: FD_CLOEXEC for inet_diag sockets by default

    Very few programs can take advantage of inheriting FDs
    across exec() boundaries, and inet_diag sockets have no
    reason to be used in this way.
    Eric Wong committed Mar 21, 2011
  9. inet_diag: use rb_thread_io_blocking_region under 1.9.3dev

    It can detect cross-thread close() calls
    Eric Wong committed Mar 21, 2011
  10. watcher: remove redundant Rack::Response

    No need to duplicate code
    Eric Wong committed Mar 21, 2011
Commits on Mar 18, 2011
  1. watcher: add title attributes to elements

    It can help navigation, we think...
    Eric Wong committed Mar 18, 2011