[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ganymede Help] Ganymede Leak
|
| Hi,
|
| I notice that ganymede generate keeps generating
| processes when it is running in the background.
Those aren't processes, they are threads. If you run the Ganymede
server on linux 2.2 or 2.4, you will see a separate entry in the
process table (i.e., when you run 'top' or 'ps') for each thread
in the server.
| Hence , a lot of memory is being taken up.
The amount of memory you see taken up for each 'process' is actually
the TOTAL amount of memory taken up by the server.
For instance, when I run top on my linux system with the Ganymede
admin console running, I see a dozen or so 'processes' (really
threads), looking something like this:
7:31pm up 193 days, 2:24, 15 users, load average: 1.13, 1.40, 1.45
155 processes: 145 sleeping, 5 running, 5 zombie, 0 stopped
CPU states: 27.5% user, 72.4% system, 0.0% nice, 0.0% idle
Mem: 254264K av, 252440K used, 1824K free, 0K shrd, 700K buff
Swap: 530104K av, 213076K used, 317028K free 93728K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
10745 broccol 9 0 24476 20M 4764 S 0.0 8.0 0:01 java
10746 broccol 8 0 24476 20M 4764 S 0.0 8.0 0:00 java
10747 broccol 9 0 24476 20M 4764 S 0.0 8.0 6:12 java
Each of these lines is one thread in the program, and all of them _put
together_ are 24,476k in size.
| Is this a desired feature or am I doing something
| wrong?
|
| sze yee
-------------------------------------------------------------------------------
Jonathan Abbey jonabbey@arlut.utexas.edu
Applied Research Laboratories The University of Texas at Austin
Ganymede, a GPL'ed metadirectory for UNIX http://www.arlut.utexas.edu/gash2
----------------------------------------------------------------------------
To make changes to your subscription to the Ganymede Help list, send
mail to majordomo@arlut.utexas.edu.
To unsubcribe, include the line
unsubscribe ganymede-help
in the body of your mail message
Visit the Ganymede web page at http://www.arlut.utexas.edu/gash2
----------------------------------------------------------------------------
Re: [Ganymede Help] Ganymede Leak
- From: Jonathan Abbey <jonabbey@arlut.utexas.edu>