mhonarc-users

Re: Large archive conversion problem

2004-03-06 02:37:44
On March 5, 2004 at 17:33, "Rangesh Kona" wrote:

read(6, " f C J y j 7 / G n + W n".., 8192)     = 8192
read(6, " g a P f Q t a s W I\n 1".., 8192)     = 8192
read(6, " r E Z R L Y 4 1 Z K O k".., 8192)     = 8192
read(6, " m R W t I k z x T q R m".., 8192)     = 8192
read(6, " d y H 5 Y 7 v e 7 c W T".., 8192)     = 8192
read(6, " L 4 d j 4 0 K J f x 5 P".., 8192)     = 8192
read(6, " M 0 W i c g e G F w O k".., 8192)     = 898
read(6, 0x00423914, 8192)                       = 0

Looks like the above is the reading of base64 data.

open64("/usr2/emailweb/archives_html/pft_afe", O_RDONLY|O_NDELAY) = 255
open("/usr2/emailweb/archives_html/pft_afe/atch0UluOhWkOM",
O_WRONLY|O_CREAT|O_EXCL, 0600) = 256
close(256)                                      = 0
...
open("/usr2/emailweb/archives_html/pft_afe/atchjUGkg3N7aa",
O_WRONLY|O_CREAT|O_EXCL, 0600) = 256
close(256)                                      = 0
close(6)                                        = 0
write(2, "\n E R R O R :   U n a b".., 106)     = 106
close(4)                                        = 0

Hmm.  What version of MHonArc, Perl, and version of Solaris are
you running?

It appears that the return file descriptor of 256 is not something
perl likes, and it could appear to be something with Solaris too.
Doing a quick Google search provides the following:
<http://www.google.com/search?q=perl+sysopen+256&hl=en&lr=&ie=UTF-8&oe=UTF-8&start=20&sa=N>

Now, you have clipped the entire truss output.  I find it strange
that 256 should be returned from open().  This implies that there
are 255 open files, and the open64() call returns 255, but the
previous read() calls are dealing with file descriptor 6.  Which
means I would expect the open64() call to return 7.

MHonArc should not have that many open files at any given time,
so to determine if MHonArc could be doing something not proper.
If you can, zip up the complete output and mail to my personal
address.

BTW, when invoking mhonarc, the input folders should be the
last arguments on the command-line.  In a previous post, you wrote:

/usr/bin/mhonarc -add /tmp/pft_afe2002qt3 -rcfile
/usr2/emailweb/mhonarc/rc_main -title pft_afe -ttitle pft_afe -sort
-reverse -treverse -outdir /usr2/emailweb/archives_html/pft_afe/

It should be:

  /usr/bin/mhonarc -add -rcfile \
    /usr2/emailweb/mhonarc/rc_main -title pft_afe -ttitle pft_afe -sort \
    -reverse -treverse -outdir /usr2/emailweb/archives_html/pft_afe \
    /tmp/pft_afe2002qt3

--ewh