I have a test case taken from
http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/examples.html, the
serialization
example. I have modified it to possibly do dmtcpCheckpoint() in the server or
client code. In the server, I did it in
handle_accept after doing conn->async_write. And if I enabled it on the client
side, I did in handle_connect before async_read.
I also did testing in which I didn't do the dmtcpCheckpoint in the code, but
did it by launching the coordinator manually first,
and then at that same point where a checkpoint would normally occur in the
code, doing one manually. Here's the results I got:
Test: Coordinator launched by: Checkpoint by: Run: Restore:
1 server server Completed Completed
2 manually server Completed Completed
3 manually coordinator Fail Fail
4 server client Fail Fail
5 manually client Fail Fail
Occasionally hit this on restore of test 1 and 2. Maybe when I restart a little
too quickly. But it still runs...
[40000] WARNING at socketconnection.cpp:493 in postRestart;
REASON='JWARNING(sock.bind((sockaddr*) &_bindAddr,_bindAddrlen)) failed'
(strerror((*__errno_location ()))) = Address already in use
id() = 4bfe32141b50c203-40000-513923b5(99004)
Message: Bind failed.
Error seen on client for test 3, 4, 5. Fails in same manner for both run and
restore:
End of file
Basically, if the checkpoint occurs within the server, everything seems to work
fine. If I do it from the client side or try to do
the checkpoint manually through setting up the coordinator first and doing "c",
it fails.
I have files if needed to share. And I found this on the trunk, though I think
it has problems on 1.2.6 as well.
Joshua Louie
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum