Bugs item #2350868, was opened at 2008-11-26 14:36
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2350868&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB Common CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Martin Kersten (mlkersten)
Assigned to: Nobody/Anonymous (nobody)
Summary: [GDK]: slow bbp cleanup

Initial Comment:
A few weeks ago i noticed that M5/SQL startup could be very slow.
Probably after a system crash, or quick stop.

I happened to get the same situation and was able to attach gdb.
It turned out that mserver was working in bbpinit/ diskscan
freeing bats. The unlink of a 69 and 111 GB files are
extremely slow. Taking ages.....(many minutes!)

0  0x0000003652cc8537 in unlink () from /lib64/libc.so.6
#1  0x00002aaaab59bd6a in BBPdiskscan (parent=0x7fff681723a0 "bat/22")
    at /ufs/mk/monet5//package/MonetDB/src/gdk/gdk_bbp.mx:3476
#2  0x00002aaaab59b730 in BBPdiskscan (parent=0x2aaaab9ccf56 "bat")
    at /ufs/mk/monet5//package/MonetDB/src/gdk/gdk_bbp.mx:3434
#3  0x00002aaaab58b016 in BBPinit ()

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-12-05 15:01

Message:
I don't think there is much we can do about this.  The files need to be
removed, and it just takes time to do so.

The only thing would be to fork() and do the unlink in the child process,
but this makes the code much more complex (you need to administer the
forked off children and wait for them), so I don't think this is the way we
should proceed.

I propose to close this as a "won't fix".

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2350868&group_id=56967

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to