[Bug 885838] Re: sysctl cannot set net.ipv4.tcp_congestion_control to "cubic lp"

Alessandro Guido ag at alessandroguido.name
Thu Nov 3 19:33:38 UTC 2011


This is a bug in the kernel

** Package changed: procps (Ubuntu) => linux (Ubuntu)

** Description changed:

  sysctl fails to set net.ipv4.tcp_congestion_control if the value has a
- space. Setting to "cubic" words, setting to "lp" works, setting to
+ space. Setting to "cubic" works, setting to "lp" works, setting to
  "cubic lp" or "lp cubic" doesn't work.
  
  ~> sudo sysctl -p
  net.core.rmem_max = 4194304
  net.core.wmem_max = 1048576
  error: "No such file or directory" setting key "net.ipv4.tcp_congestion_control"
  
- 
  The sysctl manpage reports:
  
  EXAMPLE
-               # sysctl.conf sample
-               #
+               # sysctl.conf sample
+               #
  
-                 kernel.domainname = example.com
-               ; this one has a space which will be written to the sysctl!
-                 kernel.modprobe = /sbin/mod probe
+                 kernel.domainname = example.com
+               ; this one has a space which will be written to the sysctl!
+                 kernel.modprobe = /sbin/mod probe
  
  So it should work.
- 
- command echo "cubic lp" > /proc/sys/net/ipv4/tcp_congestion_control
- works as excpected
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: procps 1:3.2.8-10ubuntu5
  Uname: Linux 3.1.0 i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Thu Nov  3 20:16:15 2011
  SourcePackage: procps
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.sysctl.conf: 2011-11-03T20:10:14.949162

** Description changed:

- sysctl fails to set net.ipv4.tcp_congestion_control if the value has a
- space. Setting to "cubic" works, setting to "lp" works, setting to
- "cubic lp" or "lp cubic" doesn't work.
- 
- ~> sudo sysctl -p
- net.core.rmem_max = 4194304
- net.core.wmem_max = 1048576
- error: "No such file or directory" setting key "net.ipv4.tcp_congestion_control"
- 
- The sysctl manpage reports:
- 
- EXAMPLE
-               # sysctl.conf sample
-               #
- 
-                 kernel.domainname = example.com
-               ; this one has a space which will be written to the sysctl!
-                 kernel.modprobe = /sbin/mod probe
- 
- So it should work.
+ Writing "cubic lp" to /proc/sys/net/ipv4/tcp_congestion_control fails
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: procps 1:3.2.8-10ubuntu5
  Uname: Linux 3.1.0 i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Thu Nov  3 20:16:15 2011
  SourcePackage: procps
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.sysctl.conf: 2011-11-03T20:10:14.949162

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/885838

Title:
  cannot set net.ipv4.tcp_congestion_control to "cubic lp"

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Writing "cubic lp" to /proc/sys/net/ipv4/tcp_congestion_control fails
  with:

  root at odino:~# echo "cubic lp" > /proc/sys/net/ipv4/tcp_congestion_control
  -bash: echo: write error: No such file or directory

  The report is with a custom compiled kernel but applies also to the
  stock ubuntu kernel

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: procps 1:3.2.8-10ubuntu5
  Uname: Linux 3.1.0 i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Thu Nov  3 20:16:15 2011
  SourcePackage: procps
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.sysctl.conf: 2011-11-03T20:10:14.949162

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




More information about the foundations-bugs mailing list