SCIENTIFIC-LINUX-DEVEL Archives

April 2005

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jan Iven <[log in to unmask]>
Reply To:
Date:
Thu, 21 Apr 2005 18:42:41 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
On Thu, 2005-04-21 at 12:56, Gerald Teschl wrote:
> Hi,
> 
> most of our boxes are used by visitors. For ever visitor logging in
> and out I have about 1-2 ssh-agent processes which keep runnding plus
> a number of gnome processes (gconf, bonobo, evolution, ...)
> 
> So after a short time every box accumulates a large number of useless
> processes. Any suggestions on how to get rid of them/

Explicit action required at least for evolution..
We have something like

    if [ -x "/usr/bin/evolution" ]; then
        report "turning off evolution backends"
        /usr/bin/evolution --force-shutdown
    fi
    if [ -x "/usr/bin/oaf-slay" ]; then
        report "turning off oafd"
        /usr/bin/oaf-slay
    fi
    if [ -x "/usr/bin/gconftool-2" ]; then
        report "telling gconfd to shut off"
        /usr/bin/gconftool-2 --shutdown
    fi

in a wrapper for /usr/bin/gnome-session. From the
SL_startgnome_afs-1.0-1 RPM, IIRC.

Regards
Jan

ATOM RSS1 RSS2