<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi Jerry,</DIV>
<DIV> </DIV>
<DIV>I'm using the code from your trunk, and I have tested example4(20Mb as 
described many times), and there is still a .tmp suffix and the adapter failed 
error.</DIV>
<DIV>Bellow is the log extracted from syslog about example4:</DIV>
<DIV>
<DIV>
<DIV>[root@CST-BJ-103 signed]# tail -n100 /var/log/messages|grep example4</DIV>
<DIV>Jul 24 11:22:55 CST-BJ-103 ods-signerd: [worker[4]] sign zone example4</DIV>
<DIV>Jul 24 11:25:49 CST-BJ-103 ods-signerd: [worker[4]] write zone example4</DIV>
<DIV>Jul 24 11:25:49 CST-BJ-103 ods-signerd: [adapter] write zone example4 serial 1343099951 to output file adapter /var/opendnssec/signed/example4</DIV>
<DIV>Jul 24 11:26:34 CST-BJ-103 ods-signerd: [tools] unable to write zone example4: adapter failed (Assertion error)</DIV>
<DIV>Jul 24 11:26:34 CST-BJ-103 ods-signerd: [worker[4]] backoff task [configure] for zone example4 with 60 seconds</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [worker[4]] configure zone example4</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [zone] zone example4 signconf file /var/opendnssec/signconf/example4.xml is unchanged since 2012-07-24 11:19:11</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [worker[4]] read zone example4</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [adapter] read zone example4 from file input adapter /var/opendnssec/unsigned/example4</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa ttl to 300</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa minimum to 300</DIV>
<DIV>Jul 24 11:27:34 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa serial to 1343100454</DIV>
<DIV>Jul 24 11:29:02 CST-BJ-103 ods-signerd: [worker[4]] sign zone example4</DIV>
<DIV>Jul 24 11:29:34 CST-BJ-103 ods-signerd: [worker[4]] write zone example4</DIV>
<DIV>Jul 24 11:29:34 CST-BJ-103 ods-signerd: [adapter] write zone example4 serial 1343100454 to output file adapter /var/opendnssec/signed/example4</DIV>
<DIV>Jul 24 11:30:19 CST-BJ-103 ods-signerd: [tools] unable to write zone example4: adapter failed (Assertion error)</DIV>
<DIV>Jul 24 11:30:19 CST-BJ-103 ods-signerd: [worker[4]] backoff task [configure] for zone example4 with 120 seconds</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [worker[4]] configure zone example4</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [zone] zone example4 signconf file /var/opendnssec/signconf/example4.xml is unchanged since 2012-07-24 11:19:11</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [worker[4]] read zone example4</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [adapter] read zone example4 from file input adapter /var/opendnssec/unsigned/example4</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa ttl to 300</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa minimum to 300</DIV>
<DIV>Jul 24 11:32:19 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa serial to 1343100739</DIV>
<DIV>Jul 24 11:33:54 CST-BJ-103 ods-signerd: [worker[4]] sign zone example4</DIV>
<DIV>Jul 24 11:34:25 CST-BJ-103 ods-signerd: [worker[4]] write zone example4</DIV>
<DIV>Jul 24 11:34:25 CST-BJ-103 ods-signerd: [adapter] write zone example4 serial 1343100739 to output file adapter /var/opendnssec/signed/example4</DIV>
<DIV>Jul 24 11:35:12 CST-BJ-103 ods-signerd: [tools] unable to write zone example4: adapter failed (Assertion error)</DIV>
<DIV>Jul 24 11:35:12 CST-BJ-103 ods-signerd: [worker[4]] backoff task [configure] for zone example4 with 240 seconds</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [worker[4]] configure zone example4</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [zone] zone example4 signconf file /var/opendnssec/signconf/example4.xml is unchanged since 2012-07-24 11:19:11</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [worker[4]] read zone example4</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [adapter] read zone example4 from file input adapter /var/opendnssec/unsigned/example4</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa ttl to 300</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa minimum to 300</DIV>
<DIV>Jul 24 11:39:12 CST-BJ-103 ods-signerd: [adapter] zone example4 set soa serial to 1343101152</DIV>
<DIV>Jul 24 11:40:15 CST-BJ-103 ods-signerd: [worker[4]] sign zone example4</DIV>
<DIV>Jul 24 11:40:44 CST-BJ-103 ods-signerd: [worker[4]] write zone example4</DIV>
<DIV>Jul 24 11:40:44 CST-BJ-103 ods-signerd: [adapter] write zone example4 serial 1343101152 to output file adapter /var/opendnssec/signed/example4</DIV>
<DIV>Jul 24 11:41:19 CST-BJ-103 ods-signerd: [tools] unable to write zone example4: adapter failed (Assertion error)</DIV>
<DIV>Jul 24 11:41:19 CST-BJ-103 ods-signerd: [worker[4]] backoff task [configure] for zone example4 with 480 seconds</DIV></DIV></DIV>
<DIV> </DIV>
<DIV>-rw-r--r-- 1 root root 40265912 Jul 24 11:41 example4.tmp 
</DIV>
<DIV> </DIV>
<DIV>And I can see a lot of 
"Jul 24 11:29:53 CST-BJ-103 ods-signerd: [denial] unable to print denial: denial of fd missing 
" messages.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV>Stuart</DIV>
<DIV>
<DIV><SPAN></SPAN></DIV></DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:jerry@opendnssec.org">Jerry 
Lundstr鰉</A></DIV>
<DIV><B>Date:</B> 2012-07-23 14:48</DIV>
<DIV><B>To:</B> <A href="mailto:shuoleo@126.com">shuoleo</A></DIV>
<DIV><B>CC:</B> <A 
href="mailto:opendnssec-user@lists.opendnssec.org">opendnssec-user</A>; <A 
href="mailto:matthijs@nlnetlabs.nl">Matthijs Mekking</A>; <A 
href="mailto:paul@nohats.ca">Paul Wouters</A></DIV>
<DIV><B>Subject:</B> Re: [Opendnssec-user] Signing large zone and .tmp file 
issue</DIV></DIV></DIV>
<DIV>
<DIV>Hi Stuart,</DIV>
<DIV> </DIV>
<DIV>On Fri, Jul 20, 2012 at 7:31 AM, 刘硕 <shuoleo@126.com> wrote:</DIV>
<DIV>> Jul 20 11:44:51 CST-BJ-104 ods-signerd: [adapter] read zone example4 from</DIV>
<DIV>> file input adapter /var/opendnsse</DIV>
<DIV> </DIV>
<DIV>This log line looks strange, was it cut off?</DIV>
<DIV> </DIV>
<DIV>> And When I run ods-signer sign --all command, the other three small zones</DIV>
<DIV>> are signed and transfer to BIND successfully,but example4 zone file which is</DIV>
<DIV>> 20Mb seemed not signed and transferred at all</DIV>
<DIV>> Jul 20 11:58:13 CST-BJ-104 ods-signerd: [tools] unable to write zone</DIV>
<DIV>> example4: adapter failed (Assertion error)</DIV>
<DIV> </DIV>
<DIV>As the log says there was an Assertion Error when trying to write the</DIV>
<DIV>zone and there for it was not transfered.</DIV>
<DIV> </DIV>
<DIV>There have been a lot of fixes done for 1.4 branch, maybe you could</DIV>
<DIV>try our trunk?</DIV>
<DIV>$ svn checkout https://svn.opendnssec.org/trunk OpenDNSSEC-trunk</DIV>
<DIV> </DIV>
<DIV>/Jerry</DIV></DIV></BODY></HTML>