Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-29-2004, 11:11 AM   #1
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Rep: Reputation: 15
Multiple 'mozilla-bin' in process list.. Why?

Im googling and searching other forums for this, but I just wanna ask it here anyway.

Im just wondering if anyone here knows why Mozilla has numerous processes when it is launched. When I use the program 'top' I see 1 mozilla, and 5 mozilla-bin.

They all have different PIDs, but they have the same VIRT and SHR numbers. Im guessing VIRT means virtual memory and SHR means shared memory. I think I have an idea why mozilla does it by I wanna know if you guys know the real answer. Thanks.
Old 09-29-2004, 03:21 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
These are different threads, using - as you guessed - the same shared memory. This kind of threading is known as linux-threads and is part of the huge feature set of the GNU libc library (which contains functionality for pretty much everything, and used by pretty much everything too). A newer, revised and lighter implementation is available. It is known as NPTL or Native Posix Linux Threads. If you install a glibc version compiled with NPTL you will find that instead of using full blown threads, threaded applications will use lightweight threads that do not show up as separate ones in the output the of top and ps programs. Since I started running glibc with NPTL I only have one firefox process and one firefox-bin process instead of the five (or so) firefox-bin threads, as an example.

A lot of more or less advanced applications are threaded. Compare with xmms and beep-media-player - these behave in the same way as Mozilla and Mozilla Firefox.

Old 09-29-2004, 07:38 PM   #3
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
Ah gotcha. Thats what I thought. I was wondering why they had to show it like that and not in a tree mode. Anyway thanks alot! Im gonna look up NPTL and see if its right for me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to list the process using most memory adoyee Linux - Newbie 3 09-06-2012 03:11 AM
bash: /bin/rm: Argument list too long? FiveFlat Linux - General 5 08-11-2004 11:29 PM
-bash: /bin/mv: Argument list too long balanagireddy Linux - General 2 07-27-2004 11:19 PM
/bin/rm: Argument list too long dragon49 Linux - Software 1 09-02-2003 12:27 PM
list of programs in /usr/bin, /sbin, etc. punt Linux - General 1 07-31-2001 04:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 PM.

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