363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
27 linhas
497 B
Plaintext
27 linhas
497 B
Plaintext
|
|
<h2>Debugging Excessive Mutex</h2>
|
|
|
|
1. Turn on mutex stats
|
|
|
|
Hit admin port with /stats-mutex to turn on mutex stats:
|
|
|
|
GET http://localhost:8088/stats-mutex
|
|
|
|
2. Query mutex stats
|
|
|
|
Get mutex stats like this,
|
|
|
|
GET "http://localhost:8088/stats.kvp?agg=*&keys=:mutex.*:"
|
|
|
|
3. Pre-written script
|
|
|
|
Or, run bin/ report stats,
|
|
|
|
php ../bin/report_mutex.php localhost 10 1
|
|
|
|
4. Turn off mutex stats
|
|
|
|
Hit admin port with /stats-mutex to turn off mutex stats:
|
|
|
|
GET http://localhost:8088/stats-mutex
|