Public bug reported:

Description:    Ubuntu 15.10
Release:        15.10

Package Info:
==========
socat:
  Installed: 1.7.3.0-1
  Candidate: 1.7.3.0-1
  Version table:
 *** 1.7.3.0-1 0
        500 http://gr.archive.ubuntu.com/ubuntu/ wily/universe i386 Packages
        100 /var/lib/dpkg/status

[Impact]
At Ubuntu Wily OS, when we use the socat with a nameserver which is not defined 
at /etc/hosts and is unknown, the system hits 100% cpu usage. Additional, to 
terminate the process you must give -9 parameter in kill command.  Ctrl+C does 
not terminate the process.

With older versions of socat (< 1.7.3.0 upstream) the system does not
drive up to 100% cpu usage, but prints appropriate error message.

[Test case]
* A simple test to validate the issue, is to execute the below command:
socat tcp:server-local:789 - 
* Using older version of socat the above command will print:
socat[2756] E getaddrinfo("server-local", "(null)", {1,0,1,6}, {}): Name or 
service not known

[Regression Potential]
This bug affects the releases that use socat 1.7.3.0 upstream version (Wily, 
Xenial). The Vivid, Trusty and Precise are not affected.

** Affects: socat (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  100% cpu usage with unresolved name server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socat/+bug/1511118/+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

Reply via email to