Bug 60202 - SMBD takes lots or memory in samba 2.0.10-0.7 (redhat build)
Summary: SMBD takes lots or memory in samba 2.0.10-0.7 (redhat build)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: samba
Version: 7.1
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
URL: http://groups.google.com/groups?hl=en...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-21 21:31 UTC by Need Real Name
Modified: 2007-04-18 16:40 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-04-03 17:29:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-02-21 21:31:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
Each SMBD process takes up lots of memory compared to other versions of samba.
If the [printers] share is enabled with a large printcap file, the problem is
ampified.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.use large printcap file
2.enbale [printers] share in smb.conf
3.#service smb restart
4.ps aux | grep smbd 
5.note memory usage
6.remove [printers] share in smb.conf
7.ps aux | grep smbd
8.note memory usage
9.repeate with contemporary samba build and note how much each smbd process takes.
5.#
	

Actual Results:  smbd processes take large amounts of memory, 10x previous samba
builds.

Expected Results:  smbd processes should take a resonable amount of memory.

Additional info:

It the amount of memory used per smbd process seems to be related to the number
of shares. Previous samba builds 1.9.x and 2.2.x do not take 1/10 to 1/2 the
memory of smbd processes in 2.0.7 - 2.0.10

Comment 1 Andrew Bartlett 2002-03-24 09:44:00 UTC
As the Google thread indicates, this bug has been fixed in the currently
maintained branches of 2.2 and HEAD - Including (I think) the version RedHat is
now shipping.



Comment 2 Trond Eivind Glomsrxd 2002-04-03 17:29:17 UTC
There are 2.2.3a rpms available at http://people.redhat.com/teg/samba/ - can you
give them a try?

Comment 3 Trond Eivind Glomsrxd 2002-07-24 23:00:22 UTC
Since the samba developer says it's fixed and no feedback to the contrary is
given, I'll close this.


Note You need to log in before you can comment on or make changes to this bug.