hi,

i uncommented "#define OW_ALLOC_DEBUG" in module/owlib/src/include/ow_alloc.h 
(i think you meant that) and ran owserver with the owwrite-loop for a while.
the resulting mem.txt is still 200Kb when bzipped, too big for this list.
i have no clue what to read from the file, so it can be downloaded from 
http://dgx.de/temp/owdebug.2009.03.28.tar.bz2 .

the results from a valgrind-check (owserver-valgrind.txt) and an owwrite-loop 
running for 22 hours (simple-write-test.txt) are in the archive too.

greets,
david

p.s.:
i used the usb-adapter (DS9490R) again to be able to do more writes per time.
with that adapter, the device-directories are still missing sometimes when 
doing owdir, but writes are still arriving the 1wire-devices (the LEDs on 
DS2413 are still blinking) during the absence of the device-directories...

> -----Ursprüngliche Nachricht-----
> Von: "Paul Alfille" <[email protected]>
> Gesendet: 28.03.09 20:11:07
> An: [email protected]
> Betreff: Re: [Owfs-developers] owfs memory consumption and timing questions

On Fri, Mar 27, 2009 at 3:20 PM, David Schumacher <[email protected]> 
> wrote:
> hi,
> 
> i compiled the latest cvs-version [updated 2009-03-27 16:13] by 
> removing libtool from owfs-directory and symlinking to /usr/bin/
> libtool [which is 2.2.4].
> 
> sorry, owserver is still growing when writing to DS2413. see 
> attachment.
> the first pmap ist before the start of the following loop:
> 
> Ok, the current CVS version has some debugging enabled for memory 
> allocation/free.
> 
> In file module/owlib/src/h/ow_alloc/h line 34 uncomment to #define OW_
> ALLOC_DEBUG
> 
> run the program in the foreground piped a text file. e.g.
> 
> /opt/owfs/bin/owhttpd --foreground -u -p 4444 > ~/mem.txt
> 
> This will create a text file of all allocations and frees by location.
> I sort it to match up and see if there is any memory leak. So far I 
> haven't found any problems, but I don't have as much writing, or 
> DS2413s to truly test your findings. (You can just send me the file. 
> Basically I use standard unix utilities, like sort and uniq -c to 
> make sense of it.)
> 
> Paul Alfille
> 
> ----------------------------------------------------------------------
> --------_______________________________________________ Owfs-
> developers mailing list [email protected] https://
> 
> lists.sourceforge.net/lists/listinfo/owfs-developers



------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to