[Bug 1028585] Re: Memory allocation problem with ipvsadm

2015-01-27 Thread Joel
actually, forget my comment. That was my mistake omitting service port.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2015-01-27 Thread Joel
After having set up a LVS-DR, I get this while trying to list a
particular service on 14.04

ipvsadm -L -t ip.of.ser.vice

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2013-08-06 Thread Peter Matulis
This is what I'm seeing:

$ sudo ipvsadm -Ln

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port   Forward Weight ActiveConn InActConn
TCP  192.168.0.100:80 wrr
  -> 192.168.1.101:8080   Masq1  0  0 
  -> 192.168.1.102:8080   Masq1  0  0 
  -> 192.168.1.103:8080   Masq1  0  0 

$ sudo ipvsadm -e -t 192.168.0.100:80 -r 192.168.1.103:8080 -w 0
Memory allocation problem

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2013-08-06 Thread Peter Matulis
Ah, I needed to specify the -m !

$ sudo ipvsadm -e -t 192.168.0.100:80 -r 192.168.1.103:8080 -m -w 0

This works.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2013-08-06 Thread Peter Matulis
@Ralf

1. "Edit the real server without specifying the -m"

ipvsadm -e -t 10.131.208.21.80 -r 192.168.0.5 -w 0 -m

But you did specify the -m ^^^

"ipvsadm -e -t -t 10.131.208.21.80 -r 192.168.0.5 -w 0 -m
works."

"-t -t" ?

Really?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-08-15 Thread Ralf Spenneberg
Further information:
ipvsadm -A -t 192.168.10.21:80 -s rr 
works, while 
ipvsadm -A -t 192.168.10.21:80 -s -rr 
(obviously wrong syntax) creates a memory allocation error.

Apparently whenever a syntax or semantic error occurs ipvsadm generates
an memory allocation error.

So generate a virtual server:
ipvsadm -A -t 10.131.208.21:80 -rr
Add a real server with masquerading:
ipvsadm -a -t 10.131.208.21.80 -r 192.168.0.5 -w 1 -m 
Edit the real server without specifying the -m 
ipvsadm -e -t 10.131.208.21.80 -r 192.168.0.5 -w 0 -m 
memory allocation problem
ipvsadm -e -t -t 10.131.208.21.80 -r 192.168.0.5 -w 0 -m 
works.

Apparently syntactical errors always generate a memory allocation error.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-08-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ipvsadm (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-08-15 Thread Ralf Spenneberg
I can confirm it on amd64 using
ipvsadm 1.25.clean-1ubuntu5
linux-image-3.2.0-23-generic and linux-image-3.2.0-29-generic

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-08-05 Thread Stephen Murcott
I filed it for i386 did not test on 64bit... I did not see why a tiny pair
of ipv4 load balancers would need 64bit arch.

On Sun, Aug 5, 2012 at 2:24 AM, Clint Byrum  wrote:

> Also could not reproduce on precise. I notice though that both systems
> have been amd64 so perthaps this is specific to i386.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1028585
>
> Title:
>   Memory allocation problem with ipvsadm
>
> Status in “ipvsadm” package in Ubuntu:
>   New
>
> Bug description:
>   This looks like the bug listed here
>   http://lists.openwall.net/netdev/2011/03/22/4  but I may be wrong. I
>   have included as much information as possible to help make it clear.
>
>   I was able to replicate on 3 seperate clean installs of the following:
>
>   ubuntu-12.04-server-i386.iso with md5sum 32184a83c8b5e6031e1264e5c499bc03
>   (have reproduced on different kernels)
>
>   Linux lvs 3.2.0-27-generic-pae #43-Ubuntu SMP Fri Jul 6 15:06:05 UTC
>   2012 i686 i686 i386 GNU/Linux
>
>   Steps to reproduce:-
>
>   Setup - install ubuntu 12.04 i386 server with sshd
>   apt-get upgrade
>   reboot
>
>   enabled ipv4 forwarding
>   net.ipv4.ip_forward = 1
>   iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>
>   aptitude install ipvsadm keepalived
>
>   ipvsadm -A -t $VIP:$PORT -s  rr
>   Memory allocation problem
>
>   lsmod | grep vs
>   ip_vs_wrr  12615  0
>   ip_vs_wlc  12471  0
>   ip_vs_sh   12572  0
>   ip_vs_sed  12471  0
>   ip_vs_rr   12538  0
>   ip_vs_nq   12468  0
>   ip_vs_lc   12468  0
>   ip_vs_lblcr12802  0
>   ip_vs_lblc 12747  0
>   ip_vs_ftp  13014  0
>   ip_vs_dh   12572  0
>   nf_nat 24959  3 ip_vs_ftp,ipt_MASQUERADE,iptable_nat
>   ip_vs 121543  24
> ip_vs_wrr,ip_vs_wlc,ip_vs_sh,ip_vs_sed,ip_vs_rr,ip_vs_nq,ip_vs_lc,ip_vs_lblcr,ip_vs_lblc,ip_vs_ftp,ip_vs_dh
>   nf_conntrack   73847  5
> ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,ip_vs
>   libcrc32c  12543  1 ip_vs
>
>   strace ipvsadm -A -t 192.168.122.21:80 -s -rr
>   execve("/sbin/ipvsadm", ["ipvsadm", "-A", "-t", "192.168.122.21:80",
> "-s", "-rr"], [/* 20 vars */]) = 0
>   brk(0)  = 0x8cd1000
>   access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
>   mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb77ec000
>   access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or
> directory)
>   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
>   fstat64(3, {st_mode=S_IFREG|0644, st_size=15720, ...}) = 0
>   mmap2(NULL, 15720, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77e8000
>   close(3)= 0
>   access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
>   open("/lib/i386-linux-gnu/libpopt.so.0", O_RDONLY|O_CLOEXEC) = 3
>   read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\30\0\0004\0\0\0"...,
> 512) = 512
>   fstat64(3, {st_mode=S_IFREG|0644, st_size=47012, ...}) = 0
>   mmap2(NULL, 49804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
> = 0x768000
>   mmap2(0x773000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x773000
>   close(3)= 0
>   access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
>   open("/lib/libnl-genl-3.so.200", O_RDONLY|O_CLOEXEC) = 3
>   read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\21\0\0004\0\0\0"...,
> 512) = 512
>   fstat64(3, {st_mode=S_IFREG|0644, st_size=18460, ...}) = 0
>   mmap2(NULL, 21116, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
> = 0xc5d000
>   mmap2(0xc61000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xc61000
>   close(3)= 0
>   access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
>   open("/lib/libnl-3.so.200", O_RDONLY|O_CLOEXEC) = 3
>   read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200E\0\0004\0\0\0"...,
> 512) = 512
>   fstat64(3, {st_mode=S_IFREG|0644, st_size=91856, ...}) = 0
>   mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb77e7000
>   mmap2(NULL, 94756, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
> = 0xe5e000
>   mmap2(0xe74000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xe74000
>   close(3)= 0
>   access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
>   open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
>   read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\\226\1\0004\0\0\0"...,
> 512) = 512
>   fstat64(3, {st_mode=S_IFREG|0755, st_size=1713640, ...}) = 0
>   mmap2(NULL, 1723100, PROT_READ|

[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-08-04 Thread Clint Byrum
Also could not reproduce on precise. I notice though that both systems
have been amd64 so perhaps this is specific to i386.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-08-04 Thread Clint Byrum
Cannot reproduce on Quantal.

$ sudo ipvsadm -A -t 10.248.8.73:80 -s rr
$

ipvsadm:
  Installed: 1:1.26-1ubuntu1
  Candidate: 1:1.26-1ubuntu1
  Version table:
 *** 1:1.26-1ubuntu1 0
500 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ quantal/main amd64 
Packages
100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-07-25 Thread Serge Hallyn
** Changed in: ipvsadm (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028585] Re: Memory allocation problem with ipvsadm

2012-07-24 Thread Stephen Murcott
I basically worked around this issue by doing the following on the same
server:-

aptitude purge ipvsadm

aptitude install git-core build-essential autoconf automake autotools-
dev dh-make debhelper devscripts fakeroot libpopt-dev libnl-dev dpatch

mkdir tmp && cd tmp

git clone git://github.com/formorer/pkg-ipvsadm.git

cd pkg-ipvsadm

dpkg-buildpackage -rfakeroot
cd ..
dpkg -i ipvsadm_1.25_i386.deb
dpkg-reconfigure ipvsadm
ipvsadm -A -t $VIP:$PORT -s rr

working layer 4 lb.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1028585

Title:
  Memory allocation problem with ipvsadm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1028585/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs