The log was very helpful. I found a memory leak. I'll analyze further to make sure that there aren't any others.
Thanks, Paul On Wed, May 27, 2009 at 1:40 PM, Michael Markstaller <m...@elabnet.de> wrote: > Ok, I was just missing the right point to jump in there > > Started > /usr/sbin/owserver -uall --usb_regulartime --foreground > owserver_mem.log > and let it run for 13 minutes > Memory-usage grew from 1148kB to 1288kB in this time. > Also ran your perl-script over it, both outputs attached. > There are two DS9490R and a few sensors attached, owfs was pulled from svn > this morning, please let me know if I should do anything further.. > > > best regards > > Michael Markstaller > > > -----Original Message----- > > From: Paul Alfille [mailto:paul.alfi...@gmail.com] > > Sent: Wednesday, May 27, 2009 5:54 PM > > To: owfs-developers@lists.sourceforge.net > > Subject: Re: [Owfs-developers] memleak in owserver > > > > Actually, there is a very nice thread on OWFS memory issues at: > > www.mail-archive.com/owfs-developers@lists.sourceforge.net/msg > > 04885.html > > <http://www.mail-archive.com/owfs-develop...@lists.sourceforge > > .net/msg04885.html> > > Basically #defining OW_ALLOC_DEBUG and running in the > > foreground gives a file of every memory allocation and > > deallocation. I have a perl script then that matches > > allocation and deallocations (also in the mailing list) so we > > can see where the memory is being lost. > > > > Paul Alfille > > > > > > On Wed, May 27, 2009 at 9:53 AM, Michael Markstaller > > <m...@elabnet.de> wrote: > > > > > > I think since polling owserver more heavily (uncached > > dir every 500ms) it shows a memleak. > > As experience with debugging such things is close to > > zero, if someone can point me to the nescessary steps, I'd be > > happy to create some debug-output.. > > (use valgrind or owserver with which tracelevel?) > > > > best regards > > Michael > > > > > > -------------------------------------------------------------- > > ---------------- > > Register Now for Creativity and Technology (CaT), June > > 3rd, NYC. CaT > > is a gathering of tech-side developers & brand > > creativity professionals. Meet > > the minds behind Google Creative Lab, Visual > > Complexity, Processing, & > > iPhoneDevCamp as they present alongside digital > > heavyweights like Barbarian > > Group, R/GA, & Big Spaceship. > > http://p.sf.net/sfu/creativitycat-com > > _______________________________________________ > > Owfs-developers mailing list > > Owfs-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > > > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > >
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers