[CRIU] Name resolved on unconnected socket

Inti Gonzalez-Herrera inti.glez at gmail.com
Sun Feb 23 18:04:19 PST 2014


I am executing a Java-based middleware and trying to dump the processes.
However I am having some problems with sockets.

The middleware tries to connect to a maven repository to download the
dependencies and so on.

The problem is that I cannot dump the middleware:

I get the error:  Name resolved on unconnected socket.

I checked in the source code and it seems that you don't accept a socket if
it has a name and it is not connected. I don't know how a socket may have a
name without being connected. It happens when sockets are in CLOSE_WAIT
state???? If Yes, shouldn't CRIU be capable of dumping such processes???
Isn't the connection close??? How can I know if the problem is with
ESTABLISH, CLOSE_WAIT or the unix socket???

The output of lsof -U -I | grep java is listed below:

 java      22702       root    8u  IPv6             357979      0t0    TCP
inti-Latitude-E6430s:50318->isis.entimid.org:http (ESTABLISHED)
java      22702       root    9u  unix 0xffff8800b3052a00      0t0 356330
socket
java      22702       root   10u  IPv6             357980      0t0    TCP
inti-Latitude-E6430s:53964->185.31.17.192:http (CLOSE_WAIT)
java      22702       root   11u  IPv6             358472      0t0    TCP
inti-Latitude-E6430s:50320->isis.entimid.org:http (ESTABLISHED)
java      22702       root   12u  IPv6             357012      0t0    TCP
inti-Latitude-E6430s:50321->isis.entimid.org:http (ESTABLISHED)
java      22702       root   16u  IPv6             358473      0t0    TCP
inti-Latitude-E6430s:50322->isis.entimid.org:http (ESTABLISHED)
java      22702       root   17u  IPv6             351181      0t0    TCP
inti-Latitude-E6430s:53969->185.31.17.192:http (CLOSE_WAIT)
java      22702       root   18u  IPv6             357013      0t0    TCP
inti-Latitude-E6430s:57424->lagarm-17.ip.PeterStar.net:http (ESTABLISHED)
java      22702       root   21u  IPv6             357014      0t0    TCP
inti-Latitude-E6430s:50326->isis.entimid.org:http (ESTABLISHED)
java      22702       root   22u  IPv6             351182      0t0    TCP
inti-Latitude-E6430s:49255->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   23u  IPv6             351183      0t0    TCP
inti-Latitude-E6430s:50328->isis.entimid.org:http (ESTABLISHED)
java      22702       root   24u  IPv6             357015      0t0    TCP
inti-Latitude-E6430s:49257->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   25u  IPv6             357016      0t0    TCP
inti-Latitude-E6430s:50330->isis.entimid.org:http (ESTABLISHED)
java      22702       root   26u  IPv6             357021      0t0    TCP
inti-Latitude-E6430s:50331->isis.entimid.org:http (ESTABLISHED)
java      22702       root   27u  IPv6             357982      0t0    TCP
inti-Latitude-E6430s:53977->185.31.17.192:http (CLOSE_WAIT)
java      22702       root   28u  IPv6             357022      0t0    TCP
inti-Latitude-E6430s:57432->lagarm-17.ip.PeterStar.net:http (ESTABLISHED)
java      22702       root   29u  IPv6             358566      0t0    TCP
inti-Latitude-E6430s:49262->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   30u  IPv6             357977      0t0    TCP
inti-Latitude-E6430s:57410->lagarm-17.ip.PeterStar.net:http (ESTABLISHED)
java      22702       root   31u  IPv6             356337      0t0    TCP
inti-Latitude-E6430s:49240->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   32u  IPv6             357983      0t0    TCP
inti-Latitude-E6430s:50335->isis.entimid.org:http (ESTABLISHED)
java      22702       root   33u  IPv6             351184      0t0    TCP
inti-Latitude-E6430s:50336->isis.entimid.org:http (ESTABLISHED)
java      22702       root   34u  IPv6             357984      0t0    TCP
inti-Latitude-E6430s:50337->isis.entimid.org:http (ESTABLISHED)
java      22702       root   35u  IPv6             351180      0t0    TCP
inti-Latitude-E6430s:49244->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   36u  IPv6             357011      0t0    TCP
inti-Latitude-E6430s:49245->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   37u  IPv6             357023      0t0    TCP
inti-Latitude-E6430s:49266->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   38u  IPv6             357024      0t0    TCP
inti-Latitude-E6430s:53984->185.31.17.192:http (CLOSE_WAIT)
java      22702       root   39u  IPv6             357986      0t0    TCP
inti-Latitude-E6430s:57439->lagarm-17.ip.PeterStar.net:http (ESTABLISHED)
java      22702       root   40u  IPv6             357987      0t0    TCP
inti-Latitude-E6430s:50341->isis.entimid.org:http (ESTABLISHED)
java      22702       root   41u  IPv6             351185      0t0    TCP
inti-Latitude-E6430s:50342->isis.entimid.org:http (ESTABLISHED)
java      22702       root   42u  IPv6             357025      0t0    TCP
inti-Latitude-E6430s:50343->isis.entimid.org:http (ESTABLISHED)
java      22702       root   43u  IPv6             358567      0t0    TCP
inti-Latitude-E6430s:49272->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   44u  IPv6             357988      0t0    TCP
inti-Latitude-E6430s:49273->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   45u  IPv6             357990      0t0    TCP
inti-Latitude-E6430s:53991->185.31.17.192:http (CLOSE_WAIT)
java      22702       root   46u  IPv6             358631      0t0    TCP
inti-Latitude-E6430s:57446->lagarm-17.ip.PeterStar.net:http (ESTABLISHED)
java      22702       root   47u  IPv6             351186      0t0    TCP
inti-Latitude-E6430s:50348->isis.entimid.org:http (ESTABLISHED)
java      22702       root   48u  IPv6             357026      0t0    TCP
inti-Latitude-E6430s:50349->isis.entimid.org:http (ESTABLISHED)
java      22702       root   49u  IPv6             357027      0t0    TCP
inti-Latitude-E6430s:50350->isis.entimid.org:http (ESTABLISHED)
java      22702       root   50u  IPv6             358632      0t0    TCP
inti-Latitude-E6430s:49279->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   51u  IPv6             351187      0t0    TCP
inti-Latitude-E6430s:49280->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   52u  IPv6             357991      0t0    TCP
inti-Latitude-E6430s:53998->185.31.17.192:http (CLOSE_WAIT)
java      22702       root   53u  IPv6             357028      0t0    TCP
inti-Latitude-E6430s:50354->isis.entimid.org:http (ESTABLISHED)
java      22702       root   54u  IPv6             357029      0t0    TCP
inti-Latitude-E6430s:57454->lagarm-17.ip.PeterStar.net:http (ESTABLISHED)
java      22702       root   55u  IPv6             357030      0t0    TCP
inti-Latitude-E6430s:50356->isis.entimid.org:http (ESTABLISHED)
java      22702       root   56u  IPv6             351188      0t0    TCP
inti-Latitude-E6430s:50357->isis.entimid.org:http (ESTABLISHED)
java      22702       root   57u  IPv6             358633      0t0    TCP
inti-Latitude-E6430s:50358->isis.entimid.org:http (ESTABLISHED)
java      22702       root   58u  IPv6             351189      0t0    TCP
inti-Latitude-E6430s:49287->207-223-241-71.contegix.com:https (CLOSE_WAIT)
java      22702       root   60u  IPv6             351190      0t0    TCP
*:8000 (LISTEN)

Thanks,
Inti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140224/5db87fe1/attachment.html>


More information about the CRIU mailing list