VERY slow startup on Solaris with network

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, xnview

Achim

VERY slow startup on Solaris with network

Post by Achim »

I'm using XnView on Solaris in a networked environment. Startup of XnView takes several minutes (!) before I see the main window. After that, everything works fine and fast.

Examining startup with "truss" (the Solaris tool to watch systemcalls) I see that XnView tries to chdir into every available directory, starting from /. That is not very wise in a networked environment:
We have a /home directory that has all the users home directories mounted inside by the automounter. They are all on different hosts, all exported via NFS. It takes ages to scan them all. Especially when some of the servers are down.

Is it possible to prevent XnView from doing this? It would be great if it only looks inside the current folder, and recursively down from there.
If I don't show the directory tree, everything is fast and fine, but I would like to use the directory tree.

Regards,
Achim
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: VERY slow startup on Solaris with network

Post by xnview »

Achim wrote:I'm using XnView on Solaris in a networked environment. Startup of XnView takes several minutes (!) before I see the main window. After that, everything works fine and fast.

Examining startup with "truss" (the Solaris tool to watch systemcalls) I see that XnView tries to chdir into every available directory, starting from /. That is not very wise in a networked environment:
We have a /home directory that has all the users home directories mounted inside by the automounter. They are all on different hosts, all exported via NFS. It takes ages to scan them all. Especially when some of the servers are down.

Is it possible to prevent XnView from doing this? It would be great if it only looks inside the current folder, and recursively down from there.
If I don't show the directory tree, everything is fast and fine, but I would like to use the directory tree.
Currently not, so an option to show folder tree from HOME only, right?
Pierre.
Achim

Re: VERY slow startup on Solaris with network

Post by Achim »

xnview wrote: Currently not, so an option to show folder tree from HOME only, right?
Yeah, that would be great.
And an option to say wether to follow symlinks or not (in my case, it would be crucial NOT to follow symlinks, because there are symlinks from somewhere inside my HOME to /...)

-Achim