+1 to what Neil says plus, if you don't need all the info contained in /state, /state-summary is a much faster option.
-- *Marco Massenzio* http://codetrips.com On Mon, Feb 1, 2016 at 8:27 AM, Neil Conway <[email protected]> wrote: > There are some known performance problems with the implementation of > the /state endpoint in prior versions of Mesos (see MESOS-2353 for > details). In Mesos 0.27, the performance of /state should be much, > much faster. > > Neil > > On Mon, Feb 1, 2016 at 8:02 AM, tommy xiao <[email protected]> wrote: > > David, Thanks for your quick response, i will feedback the result asap. > > > > haosdent, i am not sure, but the cluster is only 6 node, it is not a > large > > cluster. Through the Mesos-2352, i found the description: "Looking at > perf > > data, it seems most of the time is spent doing memory allocation / > > de-allocation. " do you know how to do that command? i can make test on > it. > > > > > > > > 2016-02-01 20:09 GMT+08:00 haosdent <[email protected]>: > >> > >> Maybe this related to your problem > >> https://issues.apache.org/jira/browse/MESOS-2353 ? > >> > >> On Mon, Feb 1, 2016 at 8:02 PM, tommy xiao <[email protected]> wrote: > >>> > >>> In bare mental server, the 5051 port, the state.json query will hang a > >>> long time to response the json data. it about 5 minutes. the curious > thing > >>> is the 5051 port, the /help command can work correctly. so i wonder to > know, > >>> anyone came across the case in any time? no clues to debug in my view. > >>> > >>> -- > >>> Deshi Xiao > >>> Twitter: xds2000 > >>> E-mail: xiaods(AT)gmail.com > >> > >> > >> > >> > >> -- > >> Best Regards, > >> Haosdent Huang > > > > > > > > > > -- > > Deshi Xiao > > Twitter: xds2000 > > E-mail: xiaods(AT)gmail.com >

