Segfault with Varnish 3.05 on Ubuntu 14.04 libjemalloc.so.1

Bug #1333581 reported by KorteX
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jemalloc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Been running Varnish on separate machines on Ubuntu 12.04 for ages to front a large caching infrastructure. 2x 32GB machines, running like a charm.

The need to upgrade the infrastructure with more RAM was necessary, and got my hands on 2x blades with 72GB RAM per machine. Dell Hardware with Registered ECC 1333Mhz DDR3.

Decided to install Ubuntu 14.04 with Varnish 3.05 to give it a try.

Everything ran fine for a day or 2, and then starting getting segfaults with libjemalloc.so.1:

varnishd[22217]: segfault at 18 ip 00007f061ea62565 sp 00007ef8a87e8170 error 4 in libjemalloc.so.1[7f061ea57000+30000]

Unfortunately I do not have an strace nor anymore information, just that segfault from dmesg.

I did a full memory test, with no errors.

I reinstalled the blades with Ubuntu 12.04 with Varnish 3.05, and been running stable since. No segfaults. So ruling out the hardware, hence the bug report.

Kernels running at the time:

On Ubuntu 14.04: 3.13.0-29-generic

On Ubuntu 12.04: 3.11.0-23-generic

All 64bit architecture ;) not multiarch either.

KorteX (kortex-gentoo)
description: updated
Revision history for this message
MeneM (mark-maas-martin) wrote :

Hi KorteX,

Where you ever able to find the reason for your segfault perhaps?

We are experiencing the same issue at the moment (Same version, same Ubuntu version etc.)

Thanks!
Mark

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jemalloc (Ubuntu):
status: New → Confirmed
Revision history for this message
KorteX (kortex-gentoo) wrote :

Hi Mark :)

w0w, 2.5 years ago, just had to refresh my memory.

I nailed it down to the version of libjemalloc1 in Ubuntu 14.04, which is 3.5.1.

At the time of writing I still checked all versions of libjemalloc1 in Ubuntu releases and Debian releases.

16.04 was not even on the map at the time. I saw that in Debian in the sid repository at the time had version 3.6.0 of libjemalloc1, which eventually became Debian 8 in April 2015.

http://packages.ubuntu.com/search?keywords=libjemalloc1

https://packages.debian.org/search?keywords=libjemalloc1

We had a very heavy Production environment and Ubuntu 12.04 failed to meet some of the minimum version package requirements on the software we were running, but Ubuntu 14.04 met those requirements but failed on the libjemalloc1 part.

All I did was installed Debian 7, changed /etc/apt/sources.list to use sid (obviously at the time), apt-get dist-upgrade, and pretty much the machines matured into what became Debian 8, and they are still running happily today :)

It was a win because we also moved over to Varnish 4 (free and plus) and never experienced a single hiccup. (Since 16.04 only came out this year).

So in the end Varnish 3 was happy with libjemalloc1 on version 3.6.0, which is available on Ubuntu 16.04. I think your version of libc6 is high enough on Ubuntu 14.04 to run 3.6.0; just upgrade the package from Ubuntu 16.04 repos yes?

Are you specifically using Varnish?

Regards,

KorteX

Changed in jemalloc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.