• Adrian Reber's avatar
    criu: add an option to skip in-flight connections · 2fdef836
    Adrian Reber authored
    Trying to migrate containers with tomcat and running ab as a test client
    (ab -n 1000000 -c 20 http://url/to/test) criu sometimes exited with an
    error if in-flight connections were detected. Criu can handle sockets
    listening and with established connection. In-flight connections can
    happen on sockets which do not yet have a full established connection
    (SYN, SYN-ACK, and the last ACK is missing).
    
    This adds a new option to criu:
    
     --skip-in-flight  this option skips in-flight TCP connections.
                       if TCP connections are found which are not yet completely
                       established, criu will ignore these connections in favor
                       of erroring out.
    
    With this option criu will skip sockets in this state and let's the client
    handle the re-connection.
    Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
    Acked-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    2fdef836
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...