Since updating on 17 Feb 2015, PHP session handling in containers is slow

Pegasus

Active Member
Aug 29, 2013
60
1
26
California, USA
Hello.

Since installing the following updates on multiple of my ProxMox machines, all of my Debian OpenVZ containers running Web servers (Apache 2.2.22 + PHP5-FPM) now take between 3-7 seconds to respond when clients request pages that use PHP sessions. I normally just use file session storage but tried memcached and it made no difference. I profiled my PHP code and it runs in a small fraction of a second. Apache doesn't log the GET requests until after the 3-7 seconds so the problem is in PHP somewhere, but which of these updates could have caused this?!

Start-Date: 2015-02-17 02:00:56
Commandline: apt-get dist-upgrade
Install: zfs-doc:amd64 (0.6.3-2~wheezy, automatic), libnvpair1:amd64 (0.6.3-2~wheezy, automatic), numactl:amd64 (2.0.8~rc4-1, automatic), libzpool2:amd64 (0.6.3-2~wheezy, automatic), libuutil1:amd64 (0.6.3-2~wheezy, automatic), libzfs2:amd64 (0.6.3-2~wheezy, automatic), pve-kernel-2.6.32-37-pve:amd64 (2.6.32-147, automatic), libnuma1:amd64 (2.0.8~rc4-1, automatic), libev-perl:amd64 (4.11-2, automatic)
Upgrade: libpve-storage-perl:amd64 (3.0-25, 3.0-31), pve-qemu-kvm:amd64 (2.1-10, 2.1-12), librbd1:amd64 (0.80.6-1~bpo70+1, 0.80.8-1~bpo70+1), ceph-common:amd64 (0.80.6-1~bpo70+1, 0.80.8-1~bpo70+1), libpve-common-perl:amd64 (3.0-19, 3.0-24), libxml2-utils:amd64 (2.8.0+dfsg1-7+wheezy2, 2.8.0+dfsg1-7+wheezy3), libdbus-1-3:amd64 (1.6.8-1+deb7u5, 1.6.8-1+deb7u6), proxmox-ve-2.6.32:amd64 (3.3-139, 3.3-147), qemu-server:amd64 (3.3-3, 3.3-20), librados2:amd64 (0.80.6-1~bpo70+1, 0.80.8-1~bpo70+1), grub-pc:amd64 (1.99-27+deb7u2, 2.02~bpo70+3), pve-manager:amd64 (3.3-5, 3.3-20), fence-agents-pve:amd64 (4.0.10-1, 4.0.10-2), python-ceph:amd64 (0.80.6-1~bpo70+1, 0.80.8-1~bpo70+1), pve-cluster:amd64 (3.0-15, 3.0-16), libxml2:amd64 (2.8.0+dfsg1-7+wheezy2, 2.8.0+dfsg1-7+wheezy3), ntp:amd64 (4.2.6.p5+dfsg-2+deb7u2, 4.2.6.p5+dfsg-2+deb7u3), libpve-access-control:amd64 (3.0-15, 3.0-16), grub-pc-bin:amd64 (1.99-27+deb7u2, 2.02~bpo70+3), pve-firewall:amd64 (1.0-9, 1.0-18), grub-common:amd64 (1.99-27+deb7u2, 2.02~bpo70+3), grub2-common:amd64 (1.99-27+deb7u2, 2.02~bpo70+3)
End-Date: 2015-02-17 02:01:43

In the containers, these updates were installed:
Start-Date: 2015-02-17 07:02:44
Commandline: apt-get upgrade
Upgrade: libxml2:amd64 (2.8.0+dfsg1-7+wheezy2, 2.8.0+dfsg1-7+wheezy3), ntp:amd64 (4.2.6.p5+dfsg-2+deb7u2, 4.2.6.p5+dfsg-2+deb7u3), libpq5:amd64 (9.1.14-0+deb7u1, 9.1.15-0+deb7u1)
End-Date: 2015-02-17 07:02:47

Thank you for any help anyone can provide!
 
MS SQL databases also get corrupted!

I have also discovered that the 2.6.32-37-pve kernel on the host causes databases in MS SQL running in Windows 2008 VMs to become corrupt no matter what the caching settings are. Reverting to 2.6.32-34-pve (and reinstalling the SQL databases) resolves the problem. What has changed so drastically in the new kernel and how did it pass testing?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!