svn commit: samba r13770 -
in branches/SAMBA_4_0/source/lib/util: .
David.Collier-Brown at Sun.COM
Wed Mar 1 17:44:04 GMT 2006
Shrink the default size of the buffer: if it happens
to be stdio down under there, setvbuf it.
> On Wed, 2006-03-01 at 15:02 +0000, metze at samba.org wrote:
>>Date: 2006-03-01 15:02:07 +0000 (Wed, 01 Mar 2006)
>>New Revision: 13770
>>- do fsync() on the debug fd, as we do in samba3,
>> I have an report that smbd memory usage grows to 1,5 GB or more
>> without this...
>>- make log_timestamp static
> The fsync operation may cost us a lot in terms of performance.
> Can we wrap it around an ifdef or other if statements (adding a conf
> option like "sync debug") ?
> The memory grow problem shows up only when we have a high debug level
> for debugging purposes, non need to force an fsync on low debug level
> working servers IMO.
David Collier-Brown, | Always do right. This will gratify
Sun Microsystems, Toronto | some people and astonish the rest
davecb at canada.sun.com | -- Mark Twain
(416) 263-5733 (x65733) |
More information about the samba-technical