Thread View: news.software.nntp
2 messages
2 total messages
Started by Josh G Renzema
Tue, 21 May 1996 00:00
Memory Hungry nnrpd daemons (2.6 MB)
Author: Josh G Renzema
Date: Tue, 21 May 1996 00:00
Date: Tue, 21 May 1996 00:00
20 lines
1101 bytes
1101 bytes
We just moved from SunOS 4.1.4 to Solaris 2.5 for our news server. In the
process, we noticed that the average nnrpd daemon now uses 2.6MB of memory
vs. ~700k in SunOS. With dozens of simultaneous connections, you can see
how this starts to make a BIG difference.
Any ideas about why this is happening?
Thanks in Advance!
Josh
--
*Josh G. Renzema - You Tools/FASTNET - josh@youtools.com - (610) 954-5910
-=-=-=- www.youtools.com - FASTNET(tm) PA/NJ/DE Internet -=-=-=-
Re: Memory Hungry nnrpd daemons (2.6 MB)
Author: J. Carlos Castro
Date: Tue, 21 May 1996 00:00
Date: Tue, 21 May 1996 00:00
47 lines
2800 bytes
2800 bytes
Josh G Renzema wrote:
>
> We just moved from SunOS 4.1.4 to Solaris 2.5 for our news server. In the
> process, we noticed that the average nnrpd daemon now uses 2.6MB of memory
> vs. ~700k in SunOS. With dozens of simultaneous connections, you can see
> how this starts to make a BIG difference.
>
> Any ideas about why this is happening?
>
It depends on which PS you use:
world1 /n/alt/binaries>/bin/ps -elf | grep nnrp
8 S news 7550 2652 45 99 30 f8f9e340 634 f7d85ee6 17:43:50 ? 0:00 /snews/etc/in.nnrpd -s
8 S root 11040 16951 2 41 20 f82c9340 176 f797b156 19:42:22 pts/16 0:00 grep nnrp
8 O news 11025 2652 80 91 30 f9f9dcd8 630 19:41:49 ? 0:03 /snews/etc/in.nnrpd -s
8 S news 10668 2652 55 71 30 f8f9d680 626 f862d976 19:25:38 ? 0:01 /snews/etc/in.nnrpd -s
world1 /n/alt/binaries>/bin/ps -elf | head -1
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
world1 /n/alt/binaries>/usr/ucb/ps aux | grep nnrp
news 11041 0.8 0.2 2520 2184 ? S 19:42:39 0:01 /snews/etc/in.nnrp
root 11043 0.1 0.1 704 476 pts/16 S 19:42:53 0:00 grep nnrp
news 10668 0.0 0.2 2504 2164 ? S 19:25:38 0:00 /snews/etc/in.nnrp
news 7550 0.0 0.2 2536 2136 ? S 17:43:50 0:00 /snews/etc/in.nnrp
world1 /n/alt/binaries>/usr/ucb/ps aux | head -1
USER PID %CPU %MEM SZ RSS TT S START TIME COMMAND
As you can see here, /usr/ucb/ps gives different size readings than /bin/ps.
Exerp from the man page for ps(1):
SZ (l) The size (in pages or clicks) of the swap-
pable process's image in main memory.
And from ps(1b):
SZ The combined size of the data and stack segments
(in kilobyte units)
Hope this helps,
--
----
J. Carlos Castro Systems Administrator and all around nice guy
jcastro@wauug.erols.com Consulting for your Internet Needs
http://wauug.erols.com/~jcastro
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads