Dear J�rgen, >>> Remove this line and add >>> >>> sleep(1); >> >> OK, did this with v2.16 of folder_io_gzip.cxx. >> >> No change. Copying folder with 395 emails (with attachments) resulted in >> folder with 102 in. (NB, identical folder to before, I copied the lot to >> a test account for such tests, so available for others as well). >> > > But did you test the unchanged version 2.16 with the waitpid() call? > Yes.
But I have noticed that the actual number of emails transferred can vary from attempt to attempt, even using the same starting point and same compilation of xcmail. Usually 395 emails goes down to 104, but 235 is another number that does sometimes appear. When I had put sleep(100), the time to move a folder from $user/Mail to $user/Mail/ARCHIV was apparently unchanged. Surely this is the point at which the delay should be effective, as that is when the folder is actually written to disc? The time it takes to shut down later on surely is irrelivent, the folder has already been written to? Regards, David Pilgram.
