You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by "Brian K. Buckley" <bb...@surfglobal.net> on 2002/03/14 15:35:33 UTC

command line delay

Hello.

I downloaded and installed xindice1.0 this morning.  When I enter to the
command  line (to either xindice or xindiceadmin), the command works but
only after considerable delay.

For example the command

    xindiceadmin ac -c /db -n addressbook

took over a minute before "Created : /db/addressbook" came back.  Each
xindice command also takes over 60 seconds.

I browsed the xindice user mailing list archive and didn't see anything on
this.  Is this expected behavior?

Brian


Re: command line delay

Posted by "Mark J. Stang" <ma...@earthlink.net>.
I have run into this on multiple platforms.   It has to do with hostname resolution

or lookup and the delay is the lookup timing out.   I wrote a java client and the
problem happens only on startup.   The problem with the command-line tools
is that you are constantly "starting up".   If it is Corba related, as indicated,
then when 1.1 comes out the problem should go away.   If you have control
over the configuration of the machine or can talk to an administrator, you
might be able to make the problem go away.

I had three machines on the same network, all Mac OSX and only one
had the problem.

Mark

Dawid Weiss wrote:

> This  issue was discussed on the developers mail list. In my understanding,
> there is some lookup host name check performed by the Corba server. This is
> what slows down XIndice so much.
>
> Dawid
>
> BKB> Hello.
>
> BKB> I downloaded and installed xindice1.0 this morning.  When I enter to the
> BKB> command  line (to either xindice or xindiceadmin), the command works but
> BKB> only after considerable delay.
>
> BKB> For example the command
>
> BKB>     xindiceadmin ac -c /db -n addressbook
>
> BKB> took over a minute before "Created : /db/addressbook" came back.  Each
> BKB> xindice command also takes over 60 seconds.
>
> BKB> I browsed the xindice user mailing list archive and didn't see anything on
> BKB> this.  Is this expected behavior?
>
> BKB> Brian


Re: command line delay

Posted by Dawid Weiss <Da...@cs.put.poznan.pl>.
This  issue was discussed on the developers mail list. In my understanding,
there is some lookup host name check performed by the Corba server. This is
what slows down XIndice so much.

Dawid


BKB> Hello.

BKB> I downloaded and installed xindice1.0 this morning.  When I enter to the
BKB> command  line (to either xindice or xindiceadmin), the command works but
BKB> only after considerable delay.

BKB> For example the command

BKB>     xindiceadmin ac -c /db -n addressbook

BKB> took over a minute before "Created : /db/addressbook" came back.  Each
BKB> xindice command also takes over 60 seconds.

BKB> I browsed the xindice user mailing list archive and didn't see anything on
BKB> this.  Is this expected behavior?

BKB> Brian


Re: command line delay

Posted by "Mark J. Stang" <ma...@earthlink.net>.
Brian,
There are several Xindice Browsers available, they shouldn't have the
problem, or if they do, it can be fixed easily enough by caching
certain values.

Mark

"Brian K. Buckley" wrote:

> Hello.
>
> I downloaded and installed xindice1.0 this morning.  When I enter to the
> command  line (to either xindice or xindiceadmin), the command works but
> only after considerable delay.
>
> For example the command
>
>     xindiceadmin ac -c /db -n addressbook
>
> took over a minute before "Created : /db/addressbook" came back.  Each
> xindice command also takes over 60 seconds.
>
> I browsed the xindice user mailing list archive and didn't see anything on
> this.  Is this expected behavior?
>
> Brian