Skip to main content
April 1, 2011
Question

Arbortext Editor, Offsite Installations, and slow performance

  • April 1, 2011
  • 19 replies
  • 5056 views
Hello, I'd like to pick the lobes of those of you who have had
experience with supporting offsite (particularly offshore) Arbortext
installations.

Basically, I am supporting a set of authors in India, who up until 3
weeks ago, were using a custom directory on one of their servers that I
kept r-synced with a custom directory on a US server. We are using
Editor 5.3 M040 on WinXP SP3 PCs, most are new (dual-core, 2G RAM or
better). We are working with an in-house developed DTD and FOSI.

We have recently gotten them access to our test server with the custom
directory we use to test changes before migrating to production, which
is a server located in the US.

What I am experiencing is starting the India Editor can take 1-4 minutes
on startup when loading with the US server custom directory. If the
India Editor is pointing to the India server custom directory, Startup
time is less than a minute.

Where things get really odd is once I get the India Editor open when
reading from the US server custom file, opening the first XML file takes
in the area of 7-11 minutes to open. Once I get that first document
open, I can open any document of the same doctype in 8-15 seconds. It
acts as if it's caching the doctype, and taking a ungodly amount of time
doing it.

I tried this both with the author logged in while I watched over webex,
and I tried while logged in myself (being an admin, I was trying to
eliminate possible access issues). This made no difference on
performance. I also tried loading a document both connected and not
connected to the PE server, this also made no difference in performance.
If I open an XML document authored with a different doctype, that first
document will also take 7-11 minutes, and 8-15 seconds for each
subsequent document.

I also took the custom directory down to the bare bones, no ACL, no
customizations of any kind except for the DTD, FOSI, and DCF. Catalog
file with one entry for this doctype. No discernable change in
performance.

The other oddity is if I point my APTCUSTOM at the custom directory on
the India server and start my US Editor, I have no performance issues.

Now, I have noticed, if I VPN into my network and try to start
Arbortext, it will spend 20 minutes initializing unless I take one
particular entry out of my catalog file. This entry points to a catalog
file on a UNIX share accessed through a Samba mount point. I also tried
this with the India Editors and it made no difference.

I also opened several other apps, opened files on both US and India
servers, but Arbortext seems to be the only one getting hung up trying
to startup and open documents. I was able to access all files for the
documents and the custom dir from the command line, so I don't see any
access issues.

Basically, I'm tired, cranky, and just looking for clues that might
point me in the right direction to troubleshoot this. What have other
folks been seeing? Are there any particular problems with, for
instance, samba shares? system-funcs in FOSIs? It just seems like
there's something I am missing here, but i've been benchmarking and
chasing this for a week, and it's starting to become a blur.

Also, does anyone know of a way to run Editor in a "debug" mode? I
found the atitrace.exe file in the bin with the epic.exe, but starting
it up provides almost no information (basically startup and quit). Is
there a flag, or setting, or environment variable that I can adjust to
turn up the logging? I'm really stumped here, and I have a requirement
to get these authors running on our test server.

Any and every idea and suggestion is greatly appreciated...

-Jason A. Buss

    19 replies

    16-Pearl
    April 1, 2011
    Hi Jason,



    If you start running out of ideas you could always sniff the network traffic
    to try and figure out what is going on. You could analyse the flow of
    network traffic in the different scenarios and see what patterns turn up.



    All the cool kids these days seem to use Wireshark:
    1-Visitor
    April 1, 2011
    Jason,

    I can't help with the network issues, but if you want more info from the trace window then these acl commands are ones I use on a regular basis.
    They aren't formally documented but are ones I discovered years ago and still seem to work.

    I have these commands mapped to function keys for ease of use....

    This open the atitrace window and outputs ACL commands....
    sh atitrace &; set debug==extwin;set debug=3.27

    These two output formatting info. I don't know the difference between them, I think it's just a difference in the level of output
    sh atitrace &; set debug==extwin;set debug=9.1
    sh atitrace &; set debug==extwin;set debug=3.1

    If anyone knows of any other settings I'd be interested I trying them in the absence of a proper ACL debugging utility.


    Adrian Jordin
    Senior Consultant

    Mekon Ltd.
    Mekon House, 31-35 St Nicholas Way, Sutton, Surrey SM1 1JN.

    Meet us @ Congility S1000D 2011 - May, UK:
    17-Peridot
    April 1, 2011
    Jason,

    I am running as a remote site and can speak to the fact that anytime I connect to the "corporate" server custom things run slower. I have always kept a local custom here that I sync. That can be done automatically with many various software tools. Probably pretty sure you know this but 5.4 has the ability to sync custom directories or something like that but I haven't used that as we are still using 5.3 as well.

    When Arbortext looks at the custom directory, it is very chatty. By chance are you running any network compression tools like Riverbed or Perbit. Another thing to check is if there are any network throttling devices in place.

    Hope it helps,
    Brian

    Brian York
    -<">mailto:->
    Exmark Mfg. Co.
    [The Next Lazer]
    18-Opal
    April 1, 2011
    Hi Jason & Adrian-



    One caveat about set debug: if you use "set debug=3.27" you will get
    TONS and TONS of output-too much to be useful unless you only have it
    switched on for a single operation. Go ahead and give it a try, maybe
    you'll be able to find the needle in the haystack, but be prepared to
    end up with thousands of lines of log output just to load a standard
    doctype.



    As an example, with "set debug=3.27", I got a thousand lines of debug
    output just for opening the New dialog and then canceling-not even
    loading a document.



    --Clay



    Clay Helberg

    Senior Consultant

    TerraXML


    April 1, 2011
    Funny you should ask that. They did implement riverbed this year. Are
    there known issues or configuration issues?
    18-Opal
    April 1, 2011
    Hi Jason-



    I am in a similar situation, we have a customized application that takes
    a long time to open when the doctype is on a remote server, but
    subsequently opens additional documents of the same type just fine. I
    can confirm it is specific to the doctype location (in our case we are
    using a schema), because the schema files are kept separate from the
    rest of the customization. In other words, APTCUSTOM points to a local
    path, but the schemaLocation attribute in the document points to a
    location on a remote server. So, from that I deduce that it is either
    the doctype itself or the stylesheet that is causing the delay. I
    haven't had a chance to dig much deeper into the root cause or possible
    workarounds yet, but will probably have to tackle that in the next week
    or so. Up to now, my idea that the delay was related to the remote
    doctype location was just a hypothesis, but given your similar
    experience I'll consider that piece of it confirmed.



    Anyway, I'll be very interested to hear if you have any luck speeding
    things up, and likewise, if I come upon a solution I'll share with you
    and the rest of the list members.



    --Clay



    Clay Helberg

    Senior Consultant

    TerraXML


    1-Visitor
    April 1, 2011

    Hi Jason,


    Some users that I support had performance issues a while back and I worked with PTC support on it. They were really helpful. If someone from PTC is reading this, please give Catherine Koning a medal!


    The issues were related to startup time for Arbortext on Windows XP boxes. This may not help your case, but here were our findings:


    + Ensure that you do not have any zip files saved on your Desktop. Save them to some place like C:\zips instead. Do not save them to the root folder in your C or network drive.

    + Ensure that you have no shortcuts to network drives on your Desktop.

    + Ensure that you do not have any mapped network drives on your machine. Shortcuts in My Network Places do not have any adverse effect.


    Support finally got me to install Process Monitor and helped me to analyze the logs.


    You should find it at this address:


    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx


    If this does not work for some reason, ask your favorite search engine to locate "process monitor".


    I hope that helps and good luck.



    -Mark


    1-Visitor
    April 1, 2011
    Wow. That's a list. The implication is obvious, but ... can you make it
    explicit?

    Arbortext Editor opens/searches/reads all of these items/paths/locations?

    Any explanation re: Why? Or is that obvious, too, and I'm just missing it in
    my shock?


    1-Visitor
    April 1, 2011
    Mark,
    Apologies, but I just have to ask...

    Is this an April Fools joke?

    Seriously?

    Steve Thompson
    +1(316)977-0515
    1-Visitor
    April 1, 2011
    My sentiments exactly! Why would AE need to poke around in Zip files. Also, everyone here has required mapped network drives.

    Dave