Hello,
After upgrading to 1.9, my zabbix agent did some weird things : some values were sometimes collected, sometimes not.
After logging in debug mode, zabbix log shows :
sh: xrealloc: ../bash/general.c:888: cannot reallocate 262144 bytes (0 bytes allocated)
, several times, which is the cause of not getting properly some values.
I validated that this is the upgrade between 1.8 and 1.9 which triggers the problem.
I googled around and I didn't found something clear.
Link I found : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522849
Maybe somebody has an idea : is it a side effect of new kernel parameters, or a bug in the kernel, or may I have to recompile my zabbix client (which had never caused problem) ?
For clear information :
on a host with :
pve-manager: 1.9-24 (pve-manager/1.9/6542)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.9-47
pve-kernel-2.6.32-6-pve: 2.6.32-47
qemu-server: 1.1-32
pve-firmware: 1.0-14
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-2pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6
==> the problem occurs
on a host with :
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6
==> the problem doesn't occurs
RQ : for the moment I have to keep 1.8 on production environment because zabbix monitors DRBD and PVE cluster status.
RQ : this has been tested on hosts with no load, and plenty of free RAM.
RQ : for downgrading :
vi /etc/apt/source.list #add : "deb http://download.proxmox.com/debian lenny pve1.8"
apt-get update
aptitude install \
pve-manager=1.8-18 \
proxmox-ve-2.6.32=1.8-33 \
pve-kernel-2.6.32-4-pve=2.6.32-33 \
qemu-server=1.1-30 \
pve-firmware=1.0-11 \
libpve-storage-perl=1.0-17 \
vncterm=0.9-2 \
vzctl=3.0.28-1pve1 \
vzdump=1.2-14 \
vzprocps=2.0.11-2 \
vzquota=3.0.11-1 \
pve-qemu-kvm=0.14.1-1
Thank you,
Sincerely,
Gautier Husson.
After upgrading to 1.9, my zabbix agent did some weird things : some values were sometimes collected, sometimes not.
After logging in debug mode, zabbix log shows :
sh: xrealloc: ../bash/general.c:888: cannot reallocate 262144 bytes (0 bytes allocated)
, several times, which is the cause of not getting properly some values.
I validated that this is the upgrade between 1.8 and 1.9 which triggers the problem.
I googled around and I didn't found something clear.
Link I found : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522849
Maybe somebody has an idea : is it a side effect of new kernel parameters, or a bug in the kernel, or may I have to recompile my zabbix client (which had never caused problem) ?
For clear information :
on a host with :
pve-manager: 1.9-24 (pve-manager/1.9/6542)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.9-47
pve-kernel-2.6.32-6-pve: 2.6.32-47
qemu-server: 1.1-32
pve-firmware: 1.0-14
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-2pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6
==> the problem occurs
on a host with :
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6
==> the problem doesn't occurs
RQ : for the moment I have to keep 1.8 on production environment because zabbix monitors DRBD and PVE cluster status.
RQ : this has been tested on hosts with no load, and plenty of free RAM.
RQ : for downgrading :
vi /etc/apt/source.list #add : "deb http://download.proxmox.com/debian lenny pve1.8"
apt-get update
aptitude install \
pve-manager=1.8-18 \
proxmox-ve-2.6.32=1.8-33 \
pve-kernel-2.6.32-4-pve=2.6.32-33 \
qemu-server=1.1-30 \
pve-firmware=1.0-11 \
libpve-storage-perl=1.0-17 \
vncterm=0.9-2 \
vzctl=3.0.28-1pve1 \
vzdump=1.2-14 \
vzprocps=2.0.11-2 \
vzquota=3.0.11-1 \
pve-qemu-kvm=0.14.1-1
Thank you,
Sincerely,
Gautier Husson.