From: jerome <rom...@ya...> - 2011-02-27 09:04:59
|
Hi, Note, if there is a performance problem with this filter rule, you can try to get more informations via the command line or debug tools designed for Gramps [1] Something like this on console/terminal: $ python -m trace -t usr/share/gramps/gramps.py > /home/eric/trace Do not need to wait two hours with these tools. If you know that there is a loop, running this filter few seconds should be enough. This will generate a big file, which could be archived (.bz2, gziped, etc ...) with a good result (plain text). Then you can fill a bug-report. Best regards, Jérôme [1] http://gramps-project.org/wiki/index.php?title=Debugging_GRAMPS --- En date de : Dim 27.2.11, Gerald Britton <ger...@gm...> a écrit : > De: Gerald Britton <ger...@gm...> > Objet: Re: [Gramps-users] performance problems with filter > À: "Eric Doutreleau" <gro...@gm...> > Cc: Gra...@li... > Date: Dimanche 27 février 2011, 0h45 > strace really isn't set up for > debugging Python applications, I'm > afraid. The developers would need Python-level > profiling to dig into > it, I believe. > > On Sat, Feb 26, 2011 at 4:04 PM, Eric Doutreleau <gro...@gm...> > wrote: > > > > i m using gramps 3.2.5 on fedora 14 and i have > performance problems when i > > use filters. > > indeed i want to extract all people that are ancestors > of one person in my > > database. > > and after two hours i didn"t get yet the results. > > my database is around 20000 people. > > when i strace the process i got line like > > > > [pid 23473] recvmsg(14, {msg_name(0)=NULL, > > > msg_iov(1)=[{"\0\0\0\24\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", > 20}], > > msg_controllen=24, {cmsg_len=24, > cmsg_level=SOL_SOCKET, > > cmsg_type=SCM_CREDENTIALS{pid=2422, uid=500, > gid=500}}, msg_flags=0}, 0) = > > 20 > > [pid 23473] poll([{fd=12, events=POLLIN}, {fd=14, > events=POLLIN}], 2, -1) = > > 1 ([{fd=14, revents=POLLIN}]) > > [pid 23473] recvmsg(14, {msg_name(0)=NULL, > > > msg_iov(1)=[{"L\0\0\0BL\377\377\377\377L\0\0\0\"L\0\0\0 ", > 20}], > > msg_controllen=24, {cmsg_len=24, > cmsg_level=SOL_SOCKET, > > cmsg_type=SCM_CREDENTIALS{pid=2422, uid=500, > gid=500}}, msg_flags=0}, 0) = > > 20 > > [pid 23473] poll([{fd=12, events=POLLIN}, {fd=14, > events=POLLIN}], 2, -1) = > > 1 ([{fd=14, revents=POLLIN}]) > > [pid 23473] recvmsg(14, {msg_name(0)=NULL, > > > msg_iov(1)=[{"\0\0\0\24\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", > 20}], > > msg_controllen=24, {cmsg_len=24, > cmsg_level=SOL_SOCKET, > > cmsg_type=SCM_CREDENTIALS{pid=2422, uid=500, > gid=500}}, msg_flags=0}, 0) = > > 20 > > [pid 23473] poll([{fd=12, events=POLLIN}, {fd=14, > events=POLLIN}], 2, -1) = > > 1 ([{fd=14, revents=POLLIN}]) > > [pid 23473] recvmsg(14, {msg_name(0)=NULL, > > > msg_iov(1)=[{"L\0\0\0BL\377\377\377\377L\0\0\0\2L\0\0\0!", > 20}], > > msg_controllen=24, {cmsg_len=24, > cmsg_level=SOL_SOCKET, > > cmsg_type=SCM_CREDENTIALS{pid=2422, uid=500, > gid=500}}, msg_flags=0}, 0) = > > 20 > > [pid 23473] poll([{fd=12, events=POLLIN}, {fd=14, > events=POLLIN}], 2, -1 > > Before running the export i have check the database > and no problems were > > detected. > > i have rebuild the indices too > > does someone know how to solve that problems? > > -- > > un blog cool > > http://journal.doutreleau.fr > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze > Logs and other IT data in > > Real-Time with Splunk. Collect, index and harness all > the fast moving IT > > data > > generated by your applications, servers and devices > whether physical, > > virtual > > or in the cloud. Deliver compliance at lower cost and > gain new business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Gramps-users mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-users > > > > > > > > -- > Gerald Britton > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs > and other IT data in > Real-Time with Splunk. Collect, index and harness all the > fast moving IT data > generated by your applications, servers and devices whether > physical, virtual > or in the cloud. Deliver compliance at lower cost and gain > new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > |