FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 12-10-2007, 10:26 AM
Carl Olof Englund
 
Default Nautilus 100% cpu info

Thanks for all your replies!

When I came to work today I saw the students had been using the server and
terminals. On the Edubuntu-server one student had (typically :-p) forgotten
to log out and when I checked the processes for rampaging Nautilus-processes
I saw his (Nautilus-process) was eating CPU-time.

Here is the output from his .xsession-errors:

(process:15672): Gtk-WARNING **: This process is currently running setuid or
setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:15676): Gtk-WARNING **: This process is currently running setuid or
setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/edumaster:/tmp/.ICE-unix/15669
Checking for Xgl: not present.
Detected PCI ID for VGA: 04:00.0 0300: 1002:5960 (rev 01) (prog-if 00 [VGA])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1024x768) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting gtk-window-decorator
** Message: Startar inte fjärrskrivbordsserver

** (update-notifier:15828): WARNING **: not starting because user is not in
admin group

evolution-alarm-notify-Message: Setting timeout for 58775 1197331200
1197272425
evolution-alarm-notify-Message: Tue Dec 11 02:00:00 2007

evolution-alarm-notify-Message: Mon Dec 10 09:40:25 2007

-------------------------------------------

And here the output of the command: (ps faux | grep -B 5 "nautilus ") before
logout:

henri 15707 0.0 0.0 33548 252 ? Ss 09:40 0:00
\_ /usr/bin/ssh-agent x-session-manager
henri 15721 0.0 0.0 3908 468 ? S 09:40 0:00
\_ /bin/sh /usr/bin/compiz --sm-client-id default0
henri 15819 0.0 1.9 155280 10188 ? S 09:40 0:00 |
\_ /usr/bin/gtk-window-decorator --replace
henri 15820 0.1 1.6 190488 8676 ? S 09:40 0:03 |
\_ /usr/bin/compiz.real --ignore-desktop-hints --replace --indirect-rendering --sm-client-id
default0 ccp
henri 15724 0.1 3.1 293068 15984 ? S 09:40 0:03 \_
gnome-panel --sm-client-id default1
henri 15725 0.0 1.0 220888 5372 ? S 09:40 0:00 \_
nautilus --no-default-window --sm-client-id default2
--
root 5375 0.0 0.1 6228 624 ? Ss Dec09
0:00 /usr/sbin/dhcdbd --system
root 5396 0.0 0.1 12784 836 ? Ss Dec09
0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
dhcpd 5427 0.0 0.0 15576 392 ? Ss Dec09
0:00 /usr/sbin/dhcpd3 -q
eth1 -pf /var/run/dhcp3-server/dhcpd.pid -cf /etc/ltsp/dhcpd.conf
daemon 5495 0.0 0.0 16392 280 ? Ss Dec09 0:00 /usr/sbin/atd
root 5509 0.0 0.1 20900 688 ? Ss Dec09
0:00 /usr/sbin/cron
henri 13461 56.6 6.4 354672 32928 ? R 08:43 56:22
nautilus --no-default-window --sm-client-id default2

After logout:

root 17358 0.0 0.5 72048 2800 ? Ss 10:20 0:00 \_ sshd:
administrator [priv]
1000 17360 0.0 0.3 72048 1632 ? S 10:20 0:00 \_ sshd:
administrator@pts/0
1000 17361 0.0 0.4 19416 2272 pts/0 Ss 10:20 0:00
\_ -bash
root 17363 0.0 0.4 18984 2144 pts/0 S 10:20 0:00
\_ -bash
root 17425 0.0 0.2 15016 1072 pts/0 R+ 10:23 0:00
\_ ps faux
root 17426 0.0 0.1 5128 832 pts/0 S+ 10:23 0:00
\_ grep -B 5 nautilus
--
root 5375 0.0 0.1 6228 624 ? Ss Dec09
0:00 /usr/sbin/dhcdbd --system
root 5396 0.0 0.1 12784 836 ? Ss Dec09
0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
dhcpd 5427 0.0 0.0 15576 392 ? Ss Dec09
0:00 /usr/sbin/dhcpd3 -q
eth1 -pf /var/run/dhcp3-server/dhcpd.pid -cf /etc/ltsp/dhcpd.conf
daemon 5495 0.0 0.0 16392 280 ? Ss Dec09 0:00 /usr/sbin/atd
root 5509 0.0 0.1 20900 688 ? Ss Dec09
0:00 /usr/sbin/cron
henri 13461 57.0 6.4 354804 33172 ? R 08:43 57:29
nautilus --no-default-window --sm-client-id default2
henri 13472 0.0 0.5 80248 2728 ? Ssl 08:43
0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=16
henri 13586 0.0 0.1 15108 772 ? S 08:43
0:00 /usr/lib/nautilus-cd-burner/mapping-daemon
lucas 13855 0.0 0.5 80244 2872 ? Ssl 08:46
0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=16
1005 14200 0.0 0.4 80240 2132 ? Ssl 08:49
0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=16
henri 15725 0.0 1.1 220888 5740 ? S 09:40 0:00
nautilus --no-default-window --sm-client-id default2


/ Carl

--
"So slay me now! I have little magic left."
- Kallak, leader of the royal mystics

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 12-10-2007, 10:51 AM
Gavin McCullagh
 
Default Nautilus 100% cpu info

Hi,

On Mon, 10 Dec 2007, Carl Olof Englund wrote:

> And here the output of the command: (ps faux | grep -B 5 "nautilus ")
> before logout:

> henri 15707 0.0 0.0 33548 252 ? Ss 09:40 0:00 \_ /usr/bin/ssh-agent x-session-manager
> henri 15721 0.0 0.0 3908 468 ? S 09:40 0:00 \_ /bin/sh /usr/bin/compiz --sm-client-id default0
> henri 15819 0.0 1.9 155280 10188 ? S 09:40 0:00 | \_ /usr/bin/gtk-window-decorator --replace
> henri 15820 0.1 1.6 190488 8676 ? S 09:40 0:03 | \_ /usr/bin/compiz.real --ignore-desktop-hints --replace --indirect-rendering --sm-client-id default0 ccp
> henri 15724 0.1 3.1 293068 15984 ? S 09:40 0:03 \_ gnome-panel --sm-client-id default1
> henri 15725 0.0 1.0 220888 5372 ? S 09:40 0:00 \_ nautilus --no-default-window --sm-client-id default2

> henri 13461 56.6 6.4 354672 32928 ? R 08:43 56:22 nautilus --no-default-window --sm-client-id default2

So before logout, he had two nautilus sessions. One is attached to this
session (started at 09:40), the other is detached (started at 08:43). The
detached process has used 56 minutes of cpu time, so I presume it is the
problem one.

> After logout:
>
> henri 13461 57.0 6.4 354804 33172 ? R 08:43 57:29 nautilus --no-default-window --sm-client-id default2
> henri 13472 0.0 0.5 80248 2728 ? Ssl 08:43 0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=16

After logout, you can still see the detached one, so I'd guess you still
had the 100% cpu problem.

My guess is that the 08:43 session exited uncleanly, nautilus was left
running and has ended up consuming lots of cpu doing something strange.
There are also one or two other processes left (eg the
bonobo-activation-server above).

It might be interesting to ask the user "henri" what happened to his 08:43
session, ie did he logout as usual, or did something else happen.

As Frederik suggested, the gnome_watchdog script can be installed and goes
around routinely killing old dead processes like this. It would be a lot
nicer to fix the problem so that these orphaned processes go away of their
own accord but that's probably quite involved.

I wonder would it be sensible for ldm2 have an extra command or two on the
end of its ssh session to kill off processes which linger?

Gavin


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 

Thread Tools




All times are GMT. The time now is 04:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org