We have moved our DB from Sql Server to Couchebase, now we are facing the one problem that our Asp.Net W3WP process takes 98% cpu and application hang,below is server and couche db information.
I just want to add additional information,our CPU usage always not goes to 100%,it reaches sometime to 100% and that time 98% CPU taken by W3WP,that was not happening with SQL.
I also want to asked is there any kind of setting required like connection timout or not?
As you have asked “have you profiled your asp.net application to know where the cpu cycles are spent?”.
Sorry to say but i do not know how to measure it,so i will google it check and let you know.
Update your client to the latest if you can: 1.3.6 at time of writing: http://docs.couchbase.com/couchbase-sdk-net-1.3/#release-notes-for-couchbase-client-library-net-136-ga-5-june-2014
Ensure you are following best practices for instantiating clients per: http://docs.couchbase.com/couchbase-sdk-net-1.3/#instantiating-the-client
Configure logging if you can and provide logs so we can help pinpoint the issue (if it's the Couchbase Client): http://docs.couchbase.com/couchbase-sdk-net-1.3/#configuring-logging
You can configure the socketPool element using the parameters defined here: http://docs.couchbase.com/couchbase-sdk-net-1.3/#configuring-the-net-client-library
With respect to the last bullet point, the default settings are generally good for most scenarios. The TCP connections in the client are long-lived and pooled - this important for performance/resource reasons.
Can you please clarify if you see 100% CPU on the Couchbase Server machines or on the application servers? Also, a little more context would be helpful (what type of ops performed, was the cluster ongoing some changes?). If it’s the server side, please share cbcollect_info data in an MB ticket (I assume you are not having paid support? If so, please contact our support instead).