Hi Jamie, When I want to produce the patch, the crash problem of mysql is gone. It's weird. But I found some other little problems. For more information, please check the patch attached. Regards, Jedy Wang On Thu, 2006-07-27 at 10:16 +0100, Jamie McCracken wrote:
Jedy Wang wrote:Hi Jamie, I changed the code according to your advice, and tracked would not crash any more.can you let me know the exact code so I can update mine. Supporting solaris i sessential if I want tracker in gnome.Now I have some other questions: 1. The libmysqld.a I built is very large. 13MB with debug information and 5MB after strip. Is that right?yes but as its statically linked into trackerd it should not matter as such. Only the size of trackerd counts (as thats around 5mb). mysql have said they will allow you to strip out redundant stuiff in the future to create more compact stuff (we ony use a fraction opf whats in libmysqld.a)2. I ran trackerd on my linux box, and it built the indexes for my home directory which is 1.2GB. The problem is that the index produced is too large, it's 350+MB.Thats about right - indexing is typically 25% of the size of indexed contents. Its about the same for all indexers (Beagle, Spotlight, Google desktop etc). I ran Beagle for the same home directory too, andthe index produced is only 20+MB. Although tracker-search gives more accurate search result, I think the size of index is unacceptable.Beagle's indexes are a bit bigger than trackers. Its obvious from that statement that Beagle is not indexing your stuff (or only a small portion of your home dir). Please confirm Beagle does not index your entire home directory (Tracker is designed to fully work on any Posix compliant system so apart from Inotify/Hal specific stuff it should be fully functional)3. Right now tracker is statically linked to libmysqld.a, I wonder whether it can be dynamically linked to .so library of mysqld.nope its not possible (and given the size of it I dont think it would be a good thing unless you had loads of apps linking to it).4. I ran make check for mysql(5.0.22) on Linux too, it failed at the same place as on Solaris, so I want to know if you have encountered the same problem or not.I will investigate this and report to bugs.mysql.com if there is a problem (I am on 5.0.21 so I will upgrade then check)5. Are you the only person who is maintaining this project? Is it a full-time work or a part-time one?yes its mainly me part time at the moment. tracker is more then 70% complete though and it was started last September. I expect completion (1.0.0 version) within three months complete with indexing of additional services. I can also guarantee support as it will form a key part of the next generation desktop I hope to build along with a load of tracker aware apps (I have plans for a new filemanager "FileTracker" and a PhotoTracker app) as well as existing integration into gnome apps. I will be proposing tracker for inclusion into Gnome 2.18 too.
Attachment:
patch.diff
Description: Text Data