The NetBSD Project

CVS log for pkgsrc/devel/memcached/distinfo

[BACK] Up to [] / pkgsrc / devel / memcached

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.32 / (download) - annotate - [select for diffs], Sun Nov 4 08:34:04 2018 UTC (5 weeks, 4 days ago) by adam
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

memcached: updated to 1.5.12

Memcached 1.5.12

Single bugfix release. Fixes a refcount leak that could happen when attempting to run incr/decr against a:

* 0 byte value
* CHUNKED (> 512k) item
* extstore item that has been flushed to disk

fix INCR/DECR refcount leak for invalid items

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 30 12:00:05 2018 UTC (6 weeks, 2 days ago) by adam
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

memcached: updated to 1.5.11

Memcached 1.5.11
Fixes broken test and small extstore optimization.
* extstore: balance IO thread queues
* t/lru-maintainer.t: check for WARM item earlier, fixing race condition on some platforms.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 4 11:45:01 2018 UTC (9 months, 1 week ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

Update memcached to version 1.5.6.

Changes for 1.5.6:
  Main change is disabling UDP to prevent abuse in reflector attack
   * disable UDP port by default
   * systemd instancing support & rpm build improvements
   * fix gcc warnings in beta GCC
   * fix build with clang
   * fix for dtrace compilation on freebsd
  New Features
   * The RPM specfiles have been greatly improved for systemd installations

Changes for 1.5.5:
   * remove redundant counter/lock from hash table (2% boost for sets)
   * limit crawls for metadumper. avoids dumping too much data.
   * extstore: revise automove algorithm
   * quick fix for slab mover deadlock
   * extstore: fix segfault in 'extstore' admin command
  New Features
   * None.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 21 08:37:14 2017 UTC (11 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

memcached: updated to 1.5.4

New external storage (flash) shim. Still experimental and a little hard to tune, but generally stable and well tested.

* make -I argument less position dependent
* external storage base commit
* lru_crawler metadump output ends with "END\r\n"
* fix: -o no_lru_crawler didn't work

New Features
extstore, a cleverly named external storage shim, is an addon for using flash drives to expand cache storage.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Nov 14 14:13:52 2017 UTC (12 months, 4 weeks ago) by fhajny
Branch: MAIN
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored)

Update devel/memcached to 1.5.3.


- Add warning about time on very low TTL's in doc/protocol.txt
- pledge privdropping support for OpenBSD
- make for loop more clear in logger watcher
- fix theoretical leak in process_bin_stat
- fix use of unitialized array in lru_maintainer
- -o no_hashexpand to disable hash table expansion
- fix chunked items set in binprot, read from ascii

New Features
- adds get and touch command for ascii protocol


- fix more binary protocol documentation errors.
- fix segfault during 31b -> 32b hash table expand
- don't create hashtables larger than 32bit
- some non-user-facing code changes for supporting future features.


- add max_connections stat to 'stats' output
- Drop sockets from obviously malicious command strings (HTTP/)
- stats cachedump: now more likely to show data
- memcached-tool: fix slab Full? column
- fix null pointer ref in logger for bin update cmd
- default to unix sockets for tests, make them much less flaky
- PARALLEL=9 make test -> runs prove in parallel
- fix flaky stats.t test

New Features
- --enable-seccomp compiles in options for strict privilege reduction
  in linux. see output of -h for more information.


- fix for musl libc: avoid huge stack allocation

New Features
- LRU crawler to background-reclaim memory. Mixed-TTL's and LRU
  reordering leaves many holes, making it difficult to properly size
  an instance.
- Segmented LRU. HOT/WARM/COLD and background processing should try
  harder to keep semi-active items in memory for longer.
- Automated slab rebalancing. Avoiding slab stagnation as objects
  change size over time.
- Faster hash table lookups with murmur3 algorithm (though it's been
  so long this is now outdated again;)
- Reduce memory requirements per-item by a few bytes here and there
- Immediately close connections when hitting the connection limit,
  instead of hanging until a spot opens up.
- Items larger than 512k (by default) are assembled by stacking
  multiple chunks together. Now raising the item size above 1m doesn't
  drop memory efficiency by spreading out slab classes.


- fix for CVE-2017-9951
- save four bytes per item if client flags are 0

New Features
- If client flags are "0", no extra storage is used.


- hot_max_age is now hot_max_factor - HOT is now limited to 20% of
  COLD's age or 20% of total space, whichever comes first.
- sleep longer between slab move runs (1ms instead of 50us)
- automove script: improve algo, add basic test
- slab_rebal: delete busy items if stuck
- fix LRU maintainer thread slowdown in edge case
- fix rare long background thread pause in hash expansion


- LRU crawler: avoid running infinitely.
- fix very old memory leak in ASCII multigets. (when using multiget
  gets and keys after the first one are >255 characters)
- remove old slab mover example script.
- fix crash in page mover while using large items
- automover algo python script
- avoid segfault if idle_timeout value is missing.
- fix rare crash in LRU crawler
- sleep more aggressively in some threads
- don't overflow item refcount on get
- fix solaris compilation error
- usability fix for cache_memlimit command
- fix verbose print for idle-kicker
- disable refhang.t test due to flakiness
- fix ordering issue in conn dispatch (prevents potential hangups)

New Features
- LRU crawler scheduling improvements


- Fix refcount leak in LRU bump buf


- init.d script status check routine
- Print with more-restricted format string to fix compiler warning
  with gcc 7's -Wformat-truncation.
- Display HOT/WARM tail age in stats items
- Active items in HOT' flow to WARM (algorithm fix)
- Moves to WARM requires two hits overall (algorithm fix)
- LRU maintainer performance: per-class sleep scheduling
- Allow limiting the internal LRU crawler run length
- Stop using atomics for item refcount management (performance)
- Make the conn suffix list the same as item list (performance)
- Do LRU-bumps while already holding item lock (performance)
- Reduce add_iov() work for TCP connections (performance)

New Features
- "lru" command for setting LRU parameters at runtime
- Allow switching LRU algo's at runtime

Revision / (download) - annotate - [select for diffs], Fri Feb 17 19:11:36 2017 UTC (21 months, 3 weeks ago) by bsiegert
Branch: pkgsrc-2016Q4
Changes since 1.26: +7 -8 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pullup ticket #5214 - requested by maya
devel/memcached: security fix

Revisions pulled up:
- devel/memcached/Makefile                                      1.53
- devel/memcached/distinfo                                      1.27
- devel/memcached/patches/                     deleted
- devel/memcached/patches/patch-aa                              deleted
- devel/memcached/patches/patch-ab                              deleted
- devel/memcached/patches/patch-items.c                         1.1
- devel/memcached/patches/patch-logger.h                        1.1

   Module Name:    pkgsrc
   Committed By:   adam
   Date:           Thu Feb 16 11:10:53 UTC 2017

   Modified Files:
          pkgsrc/devel/memcached: Makefile distinfo
   Added Files:
          pkgsrc/devel/memcached/patches: patch-items.c patch-logger.h
   Removed Files:
          pkgsrc/devel/memcached/patches: patch-aa patch-ab

   Log Message:
   Changes 1.4.34:
   Add -o modern switches to -h
   metadump: Fix preventing dumping of class 63
   Fix cache_memlimit bug for > 4G values
   metadump: ensure buffer is flushed to client before finishing
   Number of small fixes/additions to new logging
   add logging endpoint for LRU crawler
   evicted_active counter for LRU maintainer
   stop pushing NULL byte into watcher stream
   Scale item hash locks more with more worker threads (minor performance)
   Further increase systemd service hardening
   Missing necessary header for atomic_inc_64_nv() used in logger.c (solaris)
   Fix print format for idle timeout thread
   Improve binary sasl security fixes
   Fix clang compile error
   Widen systemd caps to allow maxconns to increase
   Add -X option to disable cachedump/metadump
   Don't double free in lru_crawler on closed clients
   Fix segfault if metadump client goes away

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 16 11:10:53 2017 UTC (21 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-
Changes since 1.26: +7 -8 lines
Diff to previous 1.26 (colored)

Changes 1.4.34:
Add -o modern switches to -h
metadump: Fix preventing dumping of class 63
Fix cache_memlimit bug for > 4G values
metadump: ensure buffer is flushed to client before finishing
Number of small fixes/additions to new logging
add logging endpoint for LRU crawler
evicted_active counter for LRU maintainer
stop pushing NULL byte into watcher stream
Scale item hash locks more with more worker threads (minor performance)
Further increase systemd service hardening
Missing necessary header for atomic_inc_64_nv() used in logger.c (solaris)
Fix print format for idle timeout thread
Improve binary sasl security fixes
Fix clang compile error
Widen systemd caps to allow maxconns to increase
Add -X option to disable cachedump/metadump
Don't double free in lru_crawler on closed clients
Fix segfault if metadump client goes away

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 8 17:41:56 2015 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Branch point for: pkgsrc-2016Q4
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Changes 1.4.25:
Automake improvements
Misc documentation fixes
Misc updates to startup scripts
lru_crawler enable blocks until ready (test failure)
Record and report on time spent in listen_disabled (time_in_listen_disabled_us)
Update manpage for -I command. Make it more clear
Fix display of settings.hot_lru_pct in stats settings
No longer edits the output of ps while processing arguments
No longer crashes when failing to give arguments to some start args
Fix memcached unable to bind to an ipv6 address
No longer attempts bind to same interface more than once
fixed libevent version check: add the missing 1.0.x version check
fix off-by-one in LRU crawler, causing rare segfault
remove another invalid assert(), fixes clang and pedantic compilation

Revision 1.25 / (download) - annotate - [select for diffs], Tue Nov 3 03:27:49 2015 UTC (3 years, 1 month ago) by agc
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 21 22:21:08 2015 UTC (3 years, 6 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix this the right way, thanks to joerg@. Noticed this is linking against
pthread too, so let's included that here as well.

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 21 14:06:08 2015 UTC (3 years, 6 months ago) by rodent
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (colored)

Add patch to silence compilation warning found on NetBSD with gcc and
FreeBSD with clang: format specifies type 'int' but the argument has type 'long'
This seems to be fallout from the time_t change patches. Defuzz patches
while we're here.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 26 10:16:14 2015 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Fix build with newer DTrace.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 4 23:41:04 2015 UTC (3 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Update to 1.4.22:

Bugfix maintenance release. Fixes to hash table expansion now
completely hang all threads very briefly while the hash table
pointers are swapped. Once swapped, it unlocks and uses locks as

In previous versions, the hash table was switched to a global lock
instead of a map of bucket-locks during expansion. This should be
faster overall with a small latency penalty. It's possible to
presize the hash table with -o hashpower

Revision 1.20 / (download) - annotate - [select for diffs], Thu Oct 23 11:24:31 2014 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Update to 1.4.21:


    makefile cleanups
    Avoid OOM errors when locked items stuck in tail

If clients occasionally fetch many items, more than can fit the
TCP buffers, then hang for a very long period of time, that slab
class could OOM. In older versions this could cause a crash. Since
1.4.20 this will cause OOM errors.

Now, if a locked item lands in the LRU tail, it will be bumped back
to the head and an lrutail_reflocked counter incremented. If you're
concerned about having stuck clients, watch that counter.

Big thanks to Jay Grizzard et all at Box for helping track this

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 18 08:15:17 2014 UTC (4 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Update to 1.4.20:


Just one tiny change to fix a regression causing threads to lock
up and spin max CPU.

1.4.18 and 1.4.19 were affected. 1.4.17 and earlier were not
affected. If you are on .18 or .19 an upgrade to 1.4.20 is strongly

Thanks to for reporting the bug initially and putting
up with me being blind for a few weeks.


Fix a race condition causing new connections to appear closed,
causing an inifinte loop.

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 4 17:04:48 2014 UTC (4 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Update to 1.4.19:


    Fix endianness detection during configure.
        Fixes a performance regression with binary protocol (up to 20%)
    Fix rare segfault in incr/decr.
    disable tail_repair_time by default.
        Likely not needed anymore, and can rarely cause bugs.
    use the right hashpower for the item_locks table. Small perf improvement.
    Fix crash for LRU crawler while using lock elision (haswell+ processors)

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 25 09:27:37 2014 UTC (4 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

Update to 1.4.18:

Stats conns

New "stats conns" command, which will show you what currently open
connections are up to, how idle they've been, etc.  Starttime Hash
Algorithm Selection

The jenkins hash was getting a little long in the tooth, and we
might want to add specific hash algorithms for different platforms
in the future. This makes it selectable in some sense. We've
initially added murmur3 hash to the lineup and that seems to run
a tiny bit faster in some tests.

-o hash_algorithm=murmur3 LRU Crawler

A new background thread emerges! Currently experimental, so the
syntax might change. If you run into bugs please let us know (though
it's been testing fine in torture tests so far).

If you wish to clean your slab classes of items which have been
expired, either one-time or periodically, this will do it with low
impact as a background operation.

Currently it requires kicking off a crawl via manual command:

First, enable the thread: lru_crawler enable or use -o lru_crawler
as a starttime option.

lru_crawler crawl 1,3,5

... would crawl slab classes 1,3,5 looking for expired items to add to the freelist.

This is generally not useful or required, unless you have memory
with very mixed TTLs, you do not fetch items frequently enough or
otherwise cause them to expire, and you don't want items with longer
TTLs block reclaiming expired items, or to be evicted early.

Future uses of the thread should allow examining and purging items
via a plugin interface: IE crawl all items matching some string
and remove them, or count them. It is simple to modify to experiment
with as of now.

See doc/protocol.txt for full explanation of related commands and

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 2 18:34:51 2014 UTC (4 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Update to 1.4.17:


Another bugfix release along with some minor new features. Most
notable is a potential fix for a crash bug that has plagued the
last few versions. If you see crashes with memcached, please try
this version and let us know if you still see crashes.

The other notable bug is a SASL authentication bypass glitch. If
a client makes an invalid request with SASL credentials, it will
initially fail. However if you issue a second request with bad SASL
credentials, it will authenticate. This has now been fixed.

A quick bugfix release to get the tree moving again after a long
absence. I don't want to make too many changes at once, so here
are a number of platform and crash fixes, as well as some introspection.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 4 10:46:48 2012 UTC (6 years, 2 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.14: +4 -5 lines
Diff to previous 1.14 (colored)

Update to memcached 1.4.15

Changes in memcached 1.4.15


This is a somewhat experimental release which pushes thread
performance even more than before. Since this is a more
experimental release than usual, and contains no other major
fixes or features, we urge some caution for important
deployments. We feel as though it is high quality software, but
please take caution and do slow rollouts or testing. Thanks!


  * Add some mild thread documentation
  * was missing from dist tarball
  *  Issue 286 : --disable-coverage drops "-pthread" option
  * Reduce odds of getting OOM errors in some odd cases

New Features

Thread scalability is much improved for reads, and somewhat
improved for writes. In a pure read-only situation on a dual
socket six core NUMA machine I've tested key fetch rates around
13.6 million keys per second.

More tuning is necessary and you'd get significant lag at that
rate, but that shows the theoretical limit of the locks.

Changes in memcached 1.4.14



  * fix compile issue with new GCC's
  * Added support for automake-1.12 in
  * Use Markdown for README.
  * Fixed issue with invalid binary protocol touch command
    expiration time (
  * Define touch command probe for DTrace support
  * Error and exit if we don't have hugetlb support (changes -L behavior)
  * update reassign/automove documentation
  * Remove USE_SYSTEM_MALLOC define
  * slab rebalancing from random class
  * split slab rebalance and automove threads
  * pre-split slab pages into slab freelists
  * Avoid race condition in test during pid creation by blind retrying

New Features

This release mainly features a number of small bugfixes, but
also a change to slab rebalance behavior.

Previously, if you moved a slab page from one slab to another,
you had to wait until that new page was fully used before moving
another one. That wait has been removed, and you can move pages
as fast as the system can ... move them.

A few new features as well:

slabs reassign

slabs reassign -1 15 will pick a page from any slab class and move it to class 15.

slabs automove

slabs automove 2 now enables an ultra aggressive page
reassignment algorithm. On every eviction, it will try to move a
slab page into that class. You should never run this in
production unless you have a very, very good idea of what's
going to happen. For most people who have spurious evictions
everywhere, you'll end up mass evicting random data and hurting
your hit rate. It can be useful to momentarily enable for
emergency situations, or if you have a data access pattern where
evictions should never happen.

This was work we were planning on doing already, but twitter's
rewrite has people presently interested in trying it out. You've
been warned.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 3 10:46:47 2012 UTC (6 years, 2 months ago) by asau
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Support running tests.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 8 11:48:04 2012 UTC (6 years, 6 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Fix building with DTrace support by adding a missing DTrace probe.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 25 20:52:53 2012 UTC (6 years, 9 months ago) by mspo
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

Feature and bugfix release. New Touch commands, counters, and a change to connection limit functionality.
*Touch Commands
*Binary Touch/GAT commands were backported from 1.6.
*New GATK/GATKQ commands were added for completeness.
*Finally, an Ascii protocol touch command was also added.
*Fast Connection Limit Handling
*Internal Hash Table
*New Stats: expired_unfetched, evicted_unfetched

Small bugfix release. Mainly fixing a critical issue where using -c to increase the connection limit was broken in 1.4.8. If you are on 1.4.8, an upgrade is highly recommended.

This release is focused on thread scalability and performance improvements. This release should be able to feed data back faster than any network card can support as of this writing.

Memcached 1.4.11. Fixes race conditions and crashes introduced in 1.4.10. Adds the ability to rebalance and reassign slab memory.
*Slab Reassign
*Slab Automove
*New Stats: slab_reassign_running, slabs_moved

Fix a small number of bugs, mostly in building on different platforms.

Really tiny release with some important build fixes which were accidentally omitted from 1.4.12.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 3 11:53:11 2011 UTC (7 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.10: +8 -6 lines
Diff to previous 1.10 (colored)

Changes 1.4.7:
* Use a monotonically increasing timer
* Immediately expire items when given a negative expiration time
* Fix memcached-tool to print about all slabs
* Properly daemonize memcached for debian
* Don't permanently close UDP listeners on error
* Allow memcached-init to start multiple instances (not recommended)
* Issue 214: Search for network libraries before searching for libevent
* Issue 213: Search for clock_gettime in librt
* Issue 115: accont for CAS in item_size_ok
* Fix incredibly slim race for maxconns handler. Should no longer hang ever
* Issue 183: Reclaim items dead by flush_all
* Issue 200: Don't fire dtrace probe as the last thing in a function

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 27 11:58:52 2011 UTC (7 years, 6 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Updated devel/memcached to 1.4.5


* Properly detect CPU alignment on ARM.
* Remove 1MB assertion.
* More automake versions supported.
* Compiler warning fixes for OpenBSD.
* Potential buffer overflow in vperror.
* Report errors opening pidfiles using vperror.

New Features:

* reclaimed: This stat reports the number of times an entry was stored
  using memory from an expired entry.
* sasl_pwdb: Allows memcached to use it's own plantext password file.
  (Not configured by pkgsrc yet.)

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 27 20:40:52 2010 UTC (8 years, 9 months ago) by morr
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.8: +6 -7 lines
Diff to previous 1.8 (colored)

Updated to release 1.4.4.
Release notes:

Reviewed by <joerg>

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 15 09:07:15 2009 UTC (9 years, 8 months ago) by mjl
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.7: +6 -5 lines
Diff to previous 1.7 (colored)

Update memcached to 1.2.8

Critical bug affecting multithreaded builds
Many minor bugfixes, new statistics, minor new features.
Major crash fixes, DTrace support, minor updates.
Minor bugfixes, build support for opensolaris, ipv6 support,
"noreply" mode for many commands, largepage support for solaris.
Made out of memory errors more clear and added eviction/OOM tracking
per slab class.
Many bug and platform fixes since 1.2.2. New threading support for
stat queries. New commands 'append', 'prepend', 'gets', and 'cas'.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 30 19:32:49 2007 UTC (11 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix build on DragonFly.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 20 17:02:40 2007 UTC (11 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

Update devel/memcached from 1.2.1 to 1.2.2:

2007-04-16  Steven Grimm  <>

	* Command tokenizer performance and cleanliness improvement.
	  Patch contributed by Paolo Borelli <>.

2007-04-16  Paul Lindner  <>

	* Add notes to README about MacOS, libevent and kqueue.

	* Windows Patch integration -- part 1, warnings elimination.

2007-04-12  Paul Lindner  <>

	* Allow changes to the verbosity level of the server with a new
	  "verbosity" command and some compiler cleanups.
          Patch contributed by Paolo Borelli <>.

2007-04-08  Paul Lindner  <>

	* Add cleanup patch from "Tim Yardley" <> to
	  clean up source spacing issues, fix -Wall warnings, add some
	  null checks, adds asserts at the top of each function for any
	  use of conn *c without checking to see if c is NULL first.

        * Also adjust to clean *.ac files.  Add
          script to test-suite to test for tabs.

2007-04-04  Paul Lindner  <>

	* Add clarification of flush_all in the protocol docs
	  from Elizabeth Mattijsen <>

2007-03-31  Paul Lindner  <>

	* Add patch from Eli Bingham <> to
	  re-enable the -n switch to memcached.

2007-03-20  Paul Lindner  <>
	* Add patch to collect eviction statistics from
          Jean-Francois BUSTARRET <>.

        * Updated docs, added new test cases for t/stats.t

2007-03-18  Paul Lindner  <>

	* Add more test cases using larger buffer sizes up to and greater
	  than 1MB.

	* Remove unused parameter to item_size_ok()

	* Use a single printf() in usage()

	* Add a failing test for conforming with maximum connections.

	* crash fix from Thomas van Gulick <> in
	  conn_shrink(), passing &ptr, instead of ptr to realloc().

2007-03-05  Paul Lindner  <>
	* Fix a number of places where (s)printf calls were using unsigned
	  or signed formats that did not match their arguments.

	* Add support for stdbool.h and stdint.h to use the bool and
	  uint8_t types.

	* Major refactoring - move API calls for assoc/items/slabs to
	  their own individual header files.  Add apropriate const and
	  static declarations as appropriate.

	* Avoid type-punning.  Do a more efficient realloc inside the
	  conn_shrink routine.

        * Fix overflow bug where uninitialized access to slabclass caused
	  size-0 mallocs during slab preallocation.


	* Convert some sprintf calls to snprintf to protect against
	  buffer overflows.

	* Explicitly compare against NULL or zero in many places.

	* Steven Grimm <>: Per-object-type stats collection
	  support. Specify the object type delimiter with the -D command line
	  option. Turn stats gathering on and off with "stats detail on" and
	  "stats detail off". Dump the per-object-type details with
	  "stats detail dump".

	* Steven Grimm <>: Fix an off-by-one error in the
	  multithreaded version's message passing code.

	* fix expirations of items set with absolute expiration times in
	  the past, before the server's start time.  bug was introduced in
	  1.2.0 with rel_time_t.  Thanks to Adam Dixon
	  <> for the bug report and test case!

Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 2 11:20:09 2007 UTC (11 years, 9 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

make this build on Solaris with sunpro.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 27 11:29:19 2007 UTC (11 years, 9 months ago) by grant
Branch: MAIN
Changes since 1.3: +6 -5 lines
Diff to previous 1.3 (colored)

update memcached to 1.2.1.

changes since 1.1.12:

	* Steven Grimm <>: Performance improvements:

	  Dynamic sizing of hashtable to reduce collisions on very large
	  caches and conserve memory on small caches.

	  Only reposition items in the LRU queue once a minute, to reduce
	  overhead of accessing extremely frequently-used items.

	  Stop listening for new connections until an existing one closes
	  if we run out of available file descriptors.

	  Command parser refactoring: Add a single-pass tokenizer to cut
	  down on string scanning.  Split the command processing into
	  separate functions for easier profiling and better readability.
	  Pass key lengths along with the keys in all API functions that
	  need keys, to avoid needing to call strlen() repeatedly.

	* Iain Wade <>: Fix for UDP responses on
	  non-"get" commands.

	* Steven Grimm <>: New faster hash function.


	* don't listen on UDP by default; more clear message when UDP port
	  in use

	* release 1.2.0 (along with 1.1.13, which is the more tested branch)

	* Nathan Neulinger <>: fix breakage in expiration code
	  causing expiration times to not be processed correctly.

	* Nathan Neulinger <>: fix incompatabilities with
	  unix domain socket support and the UDP code and clean up stale

	* Nathan Neulinger <>: unix domain socket support

	* Steven Grimm <>:  big bunch of changes:
	  big CPU reduction work, UDP-based interface, increased memory
	  efficiency.  (intertwined patch, committed all together)
	  or see svn commit logs

	* Elizabeth Mattijsen <>: needed a way to flush all
	memcached backend servers, but not at exactly the same time (to
	reduce load peaks), I've added some simple functionality to the
	memcached protocol in the "flush_all" command that allows you to
	specify a time at which the flush will actually occur (instead of
	always at the moment the "flush_all" command is received).

	* patch from Peter van Dijk <> to make
	  stderr unbuffered, for running under daemontools

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 23 03:50:23 2006 UTC (12 years, 9 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

update to 1.1.12.

changes since 1.1.11:

        * patch from Don MacAskill <> 'flush_all' doesn't
        seem to work properly.  Basically, if you try to add a key which
        is present, but expired, the store fails but the old key is no
        longer expired.

        * Date: Thu, 18 Nov 2004 15:25:59 -0600
          From: David Phillips <>
        Here is a patch to and to put the man page in
        the correct location.  Trying to install the man page from a
        subdirectory results in the subdirectory being used in the install
        path (it tries to install to doc/memcached.1).  This is the correct
        thing to  do:

        - create a in the doc directory that installs the man page
          with man_MANS
        - modify in the base directory to reference the doc
          directory using SUBDIRS
        - modify the AC_CONFIG_FILES macro in to output the
          Makefile in doc

        * pidfile saving support from Lisa Seelye <>, sent
          Jan 13, 2005

        * don't delete libevent events that haven't been added (the deltimer)
          patch from Ted Schundler <>

        * document -M and -r in manpage (Doug Porter <>)

        * fix buffer overflow in items.c with 250 byte keys along with
          other info on the same line going into a 256 byte char[].
          thanks to Andrei Nigmatulin <>

        * immediate deletes weren't being unlinked a few seconds,
          preventing "add" commands to the same key in that time period.
          thanks to Michael Alan Dorman <> for the
          bug report and demo script.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 23 22:24:21 2005 UTC (13 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RMD160 digests.

Revision / (download) - annotate - [select for diffs] (vendor branch), Wed Feb 9 05:37:30 2005 UTC (13 years, 10 months ago) by xtraeme
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of memcached-1.1.11.

memcached is a high-performance, distributed memory object caching 
system, generic in nature, but intended for use in speeding up dynamic
web applications by alleviating database load.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 9 05:37:30 2005 UTC (13 years, 10 months ago) by xtraeme
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>