<div dir="ltr"><div class="gmail_default" style="font-family:arial narrow,sans-serif">I am executing a Java-based middleware and trying to dump the processes. However I am having some problems with sockets.<br><br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">
The middleware tries to connect to a maven repository to download the dependencies and so on.<br><br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">The problem is that I cannot dump the middleware:<br>
<br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">I get the error:  Name resolved on unconnected socket.<br><br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">I checked in the source code and it seems that you don&#39;t accept a socket if it has a name and it is not connected. I don&#39;t know how a socket may have a name without being connected. It happens when sockets are in CLOSE_WAIT state???? If Yes, shouldn&#39;t CRIU be capable of dumping such processes??? Isn&#39;t the connection close??? How can I know if the problem is with ESTABLISH, CLOSE_WAIT or the unix socket???<br>
<br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">The output of lsof -U -I | grep java is listed below:<br><br> java      22702       root    8u  IPv6             357979      0t0    TCP inti-Latitude-E6430s:50318-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root    9u  unix 0xffff8800b3052a00      0t0 356330 socket<br>java      22702       root   10u  IPv6             357980      0t0    TCP inti-Latitude-E6430s:53964-&gt;185.31.17.192:http (CLOSE_WAIT)<br>
java      22702       root   11u  IPv6             358472      0t0    TCP inti-Latitude-E6430s:50320-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   12u  IPv6             357012      0t0    TCP inti-Latitude-E6430s:50321-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   16u  IPv6             358473      0t0    TCP inti-Latitude-E6430s:50322-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   17u  IPv6             351181      0t0    TCP inti-Latitude-E6430s:53969-&gt;185.31.17.192:http (CLOSE_WAIT)<br>
java      22702       root   18u  IPv6             357013      0t0    TCP inti-Latitude-E6430s:57424-&gt;lagarm-17.ip.PeterStar.net:http (ESTABLISHED)<br>java      22702       root   21u  IPv6             357014      0t0    TCP inti-Latitude-E6430s:50326-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   22u  IPv6             351182      0t0    TCP inti-Latitude-E6430s:49255-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>java      22702       root   23u  IPv6             351183      0t0    TCP inti-Latitude-E6430s:50328-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   24u  IPv6             357015      0t0    TCP inti-Latitude-E6430s:49257-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>java      22702       root   25u  IPv6             357016      0t0    TCP inti-Latitude-E6430s:50330-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   26u  IPv6             357021      0t0    TCP inti-Latitude-E6430s:50331-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   27u  IPv6             357982      0t0    TCP inti-Latitude-E6430s:53977-&gt;185.31.17.192:http (CLOSE_WAIT)<br>
java      22702       root   28u  IPv6             357022      0t0    TCP inti-Latitude-E6430s:57432-&gt;lagarm-17.ip.PeterStar.net:http (ESTABLISHED)<br>java      22702       root   29u  IPv6             358566      0t0    TCP inti-Latitude-E6430s:49262-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>
java      22702       root   30u  IPv6             357977      0t0    TCP inti-Latitude-E6430s:57410-&gt;lagarm-17.ip.PeterStar.net:http (ESTABLISHED)<br>java      22702       root   31u  IPv6             356337      0t0    TCP inti-Latitude-E6430s:49240-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>
java      22702       root   32u  IPv6             357983      0t0    TCP inti-Latitude-E6430s:50335-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   33u  IPv6             351184      0t0    TCP inti-Latitude-E6430s:50336-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   34u  IPv6             357984      0t0    TCP inti-Latitude-E6430s:50337-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   35u  IPv6             351180      0t0    TCP inti-Latitude-E6430s:49244-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>
java      22702       root   36u  IPv6             357011      0t0    TCP inti-Latitude-E6430s:49245-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>java      22702       root   37u  IPv6             357023      0t0    TCP inti-Latitude-E6430s:49266-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>
java      22702       root   38u  IPv6             357024      0t0    TCP inti-Latitude-E6430s:53984-&gt;185.31.17.192:http (CLOSE_WAIT)<br>java      22702       root   39u  IPv6             357986      0t0    TCP inti-Latitude-E6430s:57439-&gt;lagarm-17.ip.PeterStar.net:http (ESTABLISHED)<br>
java      22702       root   40u  IPv6             357987      0t0    TCP inti-Latitude-E6430s:50341-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   41u  IPv6             351185      0t0    TCP inti-Latitude-E6430s:50342-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   42u  IPv6             357025      0t0    TCP inti-Latitude-E6430s:50343-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   43u  IPv6             358567      0t0    TCP inti-Latitude-E6430s:49272-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>
java      22702       root   44u  IPv6             357988      0t0    TCP inti-Latitude-E6430s:49273-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>java      22702       root   45u  IPv6             357990      0t0    TCP inti-Latitude-E6430s:53991-&gt;185.31.17.192:http (CLOSE_WAIT)<br>
java      22702       root   46u  IPv6             358631      0t0    TCP inti-Latitude-E6430s:57446-&gt;lagarm-17.ip.PeterStar.net:http (ESTABLISHED)<br>java      22702       root   47u  IPv6             351186      0t0    TCP inti-Latitude-E6430s:50348-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   48u  IPv6             357026      0t0    TCP inti-Latitude-E6430s:50349-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   49u  IPv6             357027      0t0    TCP inti-Latitude-E6430s:50350-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   50u  IPv6             358632      0t0    TCP inti-Latitude-E6430s:49279-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>java      22702       root   51u  IPv6             351187      0t0    TCP inti-Latitude-E6430s:49280-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>
java      22702       root   52u  IPv6             357991      0t0    TCP inti-Latitude-E6430s:53998-&gt;185.31.17.192:http (CLOSE_WAIT)<br>java      22702       root   53u  IPv6             357028      0t0    TCP inti-Latitude-E6430s:50354-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   54u  IPv6             357029      0t0    TCP inti-Latitude-E6430s:57454-&gt;lagarm-17.ip.PeterStar.net:http (ESTABLISHED)<br>java      22702       root   55u  IPv6             357030      0t0    TCP inti-Latitude-E6430s:50356-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   56u  IPv6             351188      0t0    TCP inti-Latitude-E6430s:50357-&gt;isis.entimid.org:http (ESTABLISHED)<br>java      22702       root   57u  IPv6             358633      0t0    TCP inti-Latitude-E6430s:50358-&gt;isis.entimid.org:http (ESTABLISHED)<br>
java      22702       root   58u  IPv6             351189      0t0    TCP inti-Latitude-E6430s:49287-&gt;207-223-241-71.contegix.com:https (CLOSE_WAIT)<br>java      22702       root   60u  IPv6             351190      0t0    TCP *:8000 (LISTEN)<br>
<br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">Thanks,<br></div><div class="gmail_default" style="font-family:arial narrow,sans-serif">Inti<br></div></div>