LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-17-2005, 08:26 PM   #1
chuck232
Member
 
Registered: Aug 2004
Distribution: SuSE 9.3 Professional
Posts: 34

Rep: Reputation: 15
process optimization


After my random dealings with Mandrake, I feel I've gotten a pretty good handle on most things. However there's one thing I still haven't been able to figure out. I had my computer running once for probably about 20 hours on end. Over that time I had opened and closed a bunch of apps. I was just looking around and I found the KDE system monitor. I opened it up and to my horror, I had 2MB of RAM free. I looked through the processes table to see what was taking up so much and I saw about 15 instances of Konqueror. I thought this to be pretty weird as I didn't have any Konqeuror windows open. So I proceeded to kill all those processes. Then I opened up one Konqueror window. In the process table, it showed I had one open. Then I close Konqueror, but the process continued. No memory was free up and resources were still being used. Now is this normal or some kind of bug? I just find it kinda weird... Dunno if anyone else noticed this.
 
Old 01-17-2005, 08:36 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Do you have preload options on in KDE? ( Control Center->KDE Components->KDE Performance )
 
Old 01-17-2005, 09:06 PM   #3
chuck232
Member
 
Registered: Aug 2004
Distribution: SuSE 9.3 Professional
Posts: 34

Original Poster
Rep: Reputation: 15
No, I don't have it enabled. Should I?
 
Old 01-17-2005, 11:07 PM   #4
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
Konqueror didn't crash on you for any reason did it?

And its used by a few different programs.

Can you paste the lines from ps xww here?
 
Old 01-18-2005, 07:04 AM   #5
chuck232
Member
 
Registered: Aug 2004
Distribution: SuSE 9.3 Professional
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, I hope this is what you're looking for. This is after a restart:

Code:
[chuck@localhost chuck]$ ps xww
  PID TTY      STAT   TIME COMMAND
 5170 ?        S      0:00 /bin/sh /usr/bin/startkde
 5221 ?        S      0:00 /usr/bin/bluez-pin --dbus
 5252 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session
 5253 ?        Ss     0:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session
 5270 ?        S      0:00 magicdev
 5291 ?        Ss     0:00 kdeinit: Running...
 5294 ?        S      0:00 /usr/lib/gconfd-2 13
 5296 ?        S      0:00 kdeinit: dcopserver --nosid
 5298 ?        S      0:00 kdeinit: klauncher
 5301 ?        S      0:00 kdeinit: kded
 5303 ?        Ss     0:00 famd
 5311 ?        S      0:00 /usr/bin/artsd -F 17 -S 4096 -s 1 -m artsmessage -c drkonqi -l 3 -f
 5313 ?        S      0:00 kdeinit: knotify
 5314 ?        S      0:00 kwrapper ksmserver
 5316 ?        S      0:00 kdeinit: ksmserver
 5317 ?        S      0:00 kdeinit: kwin -session 117f000001000110530880300000052550000_1106017707_90623
 5319 ?        S      0:01 kdeinit: kdesktop
 5322 ?        S      0:00 kdeinit: kicker
 5327 ?        S      0:00 kdeinit: khotkeys
 5329 ?        S      0:00 kdeinit: kwrited
 5331 ?        S      0:00 kwikdisk -session 117f000001000110530880400000052550004_1106017698_964284
 5335 ?        Ss     0:07 ksysguard -session 117f000001000110558527500000066480018_1106017698_964424
 5336 ?        S      0:02 superkaramba.real -session 117f000001000110566392900000054540047_1106017698_964549
 5338 ?        Sl     0:00 nautilus --sm-config-prefix /nautilus-hel3Ht/ --sm-client-id 117f000001000110593743100000053090041 --screen 0 --no-default-window
 5341 ?        Ss     0:00 /usr/lib/bonobo-activation-server --ac-activate --ior-output-fd=19
 5342 ?        S      0:02 ksysguardd
 5351 ?        Sl     0:00 /usr/lib/gnome-vfs-daemon --oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factory --oaf-ior-fd=22
 5375 ?        S      0:00 /usr/lib/mapping-daemon
 5382 ?        S      0:00 kdeinit: kio_file file /tmp/ksocket-chuck/klauncherT3PSua.slave-socket /tmp/ksocket-chuck/kmail1bbhra.slave-socket
 5444 ?        S      0:00 /bin/sh /usr/share/firefox-installer/firefox
 5458 ?        S      0:00 /bin/sh /usr/share/firefox-installer/run-mozilla.sh /usr/share/firefox-installer/firefox-bin
 5463 ?        Sl     0:23 /usr/share/firefox-installer/firefox-bin
 5497 ?        R      0:00 kdeinit: konsole
 5498 pts/1    Rs     0:00 /bin/bash
 5530 pts/1    R+     0:00 ps xww
And yeah yeah, I have a bunch of processes on that probably aren't used, but I haven't gotten a chance to fiddle with it yet. Don't want to break anything.
 
Old 01-18-2005, 07:09 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
the memory isn't free because it is being used as disk cache. that's perfectly normal. It's what you should want actually.
 
Old 01-18-2005, 09:04 AM   #7
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
Well I dont see 15 konqeror's running.

As for memory thats normal since linux uses all ram first then swap because ram is faster. If a program loads up and needs a higher priority then linux release memory that isnt being used for that program.
 
Old 01-18-2005, 09:13 AM   #8
chuck232
Member
 
Registered: Aug 2004
Distribution: SuSE 9.3 Professional
Posts: 34

Original Poster
Rep: Reputation: 15
As I said, that was after a fresh restart and I hadn't opened up a bunch of Konquerors. If you want to see the process table with a bunch of konquerors I can do that too.
 
Old 01-18-2005, 09:25 AM   #9
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
When it happens again then post but without the memory issue. Thats normal for linux.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimization Question dr_dre Linux From Scratch 4 11-15-2005 10:15 AM
Webserver Optimization jbraum Linux - General 2 09-19-2005 08:28 PM
firewall optimization canyon289 Linux - Software 1 10-22-2004 02:26 AM
Init optimization ponds Slackware 1 04-05-2004 03:10 PM
kde optimization? alaios Linux - General 2 09-14-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration