[MB-6613] (MacOS) startup time (restart) is quite long considering the number of items on recent builds Created: 11/Sep/12  Updated: 11/Mar/14  Resolved: 31/Jan/14

Status: Resolved
Project: Couchbase Server
Component/s: None
Affects Version/s: 2.0
Fix Version/s: bug-backlog
Security Level: Public

Type: Bug Priority: Major
Reporter: Matt Ingenthron Assignee: Aleksey Kondratenko
Resolution: Fixed Votes: 0
Labels: 2.0-beta-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Mac OS X 10.6.8, 266 GHz Intel Core 2 Duo, 8GB memory, Couchbase Server 2.0 build 1700

Attachments: Zip Archive MB-6613-logs.zip    
Triage: Untriaged
Link to Log File, atop/blg, CBCollectInfo, Core dump: a

I happened to notice the web UI took quite a while to come up after a restart, especially relative to the number of items.

Timing it, I see:
* Web UI is up in about 40 seconds
* CPU utilization continues for about another minute

The system was run through a set of unit tests that delete and recreate the default bucket quite a bit, but at the end there were only 144 items. It seems like about 1 second per item for startup is pretty long.

Comment by Farshid Ghods (Inactive) [ 11/Sep/12 ]
can you please attach logs from the machine

zipping everythng under couchbase-core/var/lib/couchbase/logs
Comment by Matt Ingenthron [ 11/Sep/12 ]
Oh, note that this is a regression. The UI used to be available immediately after restart, or immediately enough that I didn't even think about it. Since about build 1495.
Comment by Matt Ingenthron [ 11/Sep/12 ]
couchbase-core/var/lib/couchbase/logs is empty

I've attached the logs from Library/Logs/
Comment by Aleksey Kondratenko [ 20/Jun/13 ]
removed this off my list
Comment by Matt Ingenthron [ 31/Jan/14 ]
I just re-ran this test and the good news is it's much better. 3 seconds with Version: 2.2.0 enterprise edition (build-821)
Generated at Sat Nov 22 20:12:07 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.