Hi Rohan,
Thanks for the reply. Yes I am using the "--ckpt-open-files" option
to save the copy of files open at the time of checkpoint. But files which are
open in write mode and being written during the emulation would always be
different in the end that what at the time of checkpoint. So choosing file
copy at the time of checkpoint always seems to be the right option.
Secondly how can I force the option of choosing file at the time of checkpoint
rather than giving this error.
Regards
Ankit
________________________________________
From: Rohan Garg [[email protected]]
Sent: Thursday, October 16, 2014 11:27 PM
To: Garg, Ankit
Cc: [email protected]
Subject: Re: [Dmtcp-forum] Getting error during Restart
Hi Ankit,
I believe you are using the "--ckpt-open-files" flag. As I mentioned earlier
this saves a copy of the files open at the time of checkpoint. This allows
applications to resume from the same state later if the original files
get deleted.
The error that you are getting is probably because on restart you have an
existing copy of one of the checkpointed files, and this file diverged from
its checkpointed version. On restart, DMTCP tries to compare the two versions
(checkpointed and existing), uses the existing if they are equal, and asserts
if they are not equal (because there's no way for DMTCP to know what the user
might want). Could you please verify that this is the case?
If yes, then what would you like DMTCP to do -- use the checkpointed version,
or use the newer version? Either way, this will be a minor modification.
Thanks,
Rohan
----- Original Message -----
From: "Ankit Garg" <[email protected]>
To: [email protected]
Sent: Friday, October 10, 2014 6:51:05 AM GMT -05:00 US/Canada Eastern
Subject: [Dmtcp-forum] Getting error during Restart
Hi,
I am getting following error during restart. How to debug this
further ?
[66000] ERROR at fileconnection.cpp:926 in areFilesEqual;
REASON='JASSERT(Util::readAll(fd, buf2, readBytes) == readBytes) failed'
testbench.veloce (66000): Terminating...
Thanks & Regards
Ankit
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum