On 2010-06-02 21:20, Brian Cameron wrote:

Robin:

Here's the output of the "top" command while it's frozen at the login
splash:

Unfortunately the top output does not show any particular processes
consuming a lot of memory, so this indicates that the delay is not CPU
bound.

Note there is a bug about a very similar problem here:

  https://defect.opensolaris.org/bz/show_bug.cgi?id=14857

This user reported a similar slowdown when starting the user session
after authenticating.  After analysis, it was determined that the
slowdown was caused by the $HOME/.gconfd/saved_sate file growing too
large.  If you are seeing a slowdown when starting your user session,
then does deleting this file improve things?

If you are seeing the slowdown when the GDM login GUI is being shown,
then try deleting the /var/lib/gdm/.gconfd/saved_sate file.  The
/var/lib/gdm directory is the $HOME directory of the "gdm" user, and
the login GUI runs as this user.  So if this file has grown too large,
this could be your problem.

I suspect that this might be your problem because in the logs you
provided a few weeks ago, there were GConf errors similar to those
reported in comment #7 of the above bug report.

Brian


The suggestion from Vladimir solved the problem. I had an issue with long delays when logging into the computer with ssh which I solved by specifying the IP number of both the host and the client. The hosts file looked like this after my modifications:

# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I%     %E% SMI"
#
# Internet host table
#
::1 opensolaris opensolaris.local localhost loghost
127.0.0.1 opensolaris.local localhost loghost
10.40.137.187 opensolaris.local localhost loghost
10.40.137.93 authority

The computer I'm working with is named "opensolaris" in the hosts file. The problem here is that opensolaris connects to the network using nwam which means that it negotiates the ip number through DHCP. Normally, the router identifies each computer by the MAC address and gives the same IP number to the computer whenever DHCP is invoked. This is not the case with the opensolaris machine whose name is not even identified on the list of "LAN Computers" in the router (I'm using a dlink router). The bottom line is that for each DHCP negotiation a new IP number is assigned to the opensolaris machine rendering the "hosts" file faulty after each restart. The delay problem was solved by removing the entry

10.40.137.187 opensolaris.local localhost loghost

from the file. The good news here is that ssh doesn't delay with this entry removed.

Robin.
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to