Topic: Critical error in memcached 1.4.18 using old version of libevent

Somehow version 1.4.18 of memcached in remi, which was just released was built with or using a version of libevent that is super old.

➜  ~  telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
stats
STAT pid 4636
STAT uptime 526
STAT time 1398929689
STAT version 1.4.18
STAT libevent 1.4.13-stable

Notice libevent 1.4.13. I did yum downgrade memcached and it shows:

memcached 1.4.17

and

libevent-last 2.0.18

If you downgrade to memcached 1.4.17 and do stats, it shows it using libevent 2.0.18.

This is a critical bug. I spent the last week back and forth with the main contributor of memcached trying to debug timeout issues and runaway 100% cpu on a memcached thread.

Re: Critical error in memcached 1.4.18 using old version of libevent

memcached 1.4.18 is not from my repo.

Latest version is 1.4.17, build using libevent 2.0.18.

Version 1.4.19 will come soon.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Critical error in memcached 1.4.18 using old version of libevent

memcached-1.4.19 is available in remi repo.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Critical error in memcached 1.4.18 using old version of libevent

Darn it, sorry. I must have been looking at memcached-1.4.17 instead of memcached-1.4.18. The broken build of memcached-1.4.18 is from the axivo yum repo. I just did:

yum clean all
yum update

But not seeing memcached-1.4.19 from remi showing up yet.

Re: Critical error in memcached 1.4.18 using old version of libevent

=> http://rpms.famillecollet.com/enterpris … ached.html

Have to wait for your nearest mirror to be synced.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Critical error in memcached 1.4.18 using old version of libevent

How long does it take for the mirrors to sync? Still not seeing memcached-1.4.19.

Thanks.

Re: Critical error in memcached 1.4.18 using old version of libevent

> How long does it take for the mirrors to sync?
A few hours.
All mirrors are synced now.

Don't understand why you don't see it.
Perhaps a yum configuration issue, repo conflicts, priority, ...

Which distro / arch / version ?
What is the full yum output ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

8 (edited by justink 2014-05-04 05:58:43)

Re: Critical error in memcached 1.4.18 using old version of libevent

Not seeing memcached update on 4 different web servers.

CentOS 6.5 x64.

Remi repo is enabled.

➜  ~  yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: axivo base datadog epel extras remi rpmforge updates webtatic
Cleaning up Everything
Cleaning up list of fastest mirrors
➜  ~  yum upgrade
Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink                                                                                                                                 |  10 kB     00:00     
* base: mirrors.kernel.org
* epel: linux.mirrors.es.net
* extras: mirrors.kernel.org
* remi: mirrors.mediatemple.net
* rpmforge: mirror.webnx.com
* updates: mirrors.kernel.org
* webtatic: us-east.repo.webtatic.com
axivo                                                                                                                                         | 2.9 kB     00:00     
axivo/primary_db                                                                                                                              |  93 kB     00:00     
base                                                                                                                                          | 3.7 kB     00:00     
base/primary_db                                                                                                                               | 4.4 MB     00:00     
datadog                                                                                                                                       |  951 B     00:00     
datadog/primary                                                                                                                               | 287 kB     00:00     
datadog                                                                                                                                                    2357/2357
epel                                                                                                                                          | 4.4 kB     00:00     
epel/primary_db                                                                                                                               | 6.1 MB     00:00     
extras                                                                                                                                        | 3.4 kB     00:00     
extras/primary_db                                                                                                                             |  19 kB     00:00     
remi                                                                                                                                          | 2.9 kB     00:00     
remi/primary_db                                                                                                                               | 684 kB     00:00     
rpmforge                                                                                                                                      | 1.9 kB     00:00     
rpmforge/primary_db                                                                                                                           | 2.7 MB     00:00     
updates                                                                                                                                       | 3.4 kB     00:00     
updates/primary_db                                                                                                                            | 2.6 MB     00:00     
webtatic                                                                                                                                      | 2.9 kB     00:00     
webtatic/primary_db                                                                                                                           |  73 kB     00:00     
Setting up Upgrade Process
No Packages marked for Update

Re: Critical error in memcached 1.4.18 using old version of libevent

Sorry, no idea.
Just download the RPM and install it manually.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Critical error in memcached 1.4.18 using old version of libevent

Got it, had to do yum remove memcached and then just yum install memcached again.