[ https://issues.apache.org/jira/browse/SOLR-12814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630621#comment-16630621 ]
Jan Høydahl commented on SOLR-12814: ------------------------------------ I wonder if this is the MetricsHistoryHandler that issues that request? If you simply sit waiting for a minute without invoking the Cloud->Nodes tab at all, you'll get things like this in the log: {noformat} 2018-09-27 15:32:40.180 DEBUG (MetricsHistoryHandler-12-thread-1) [ ] o.a.h.headers http-outgoing-46 >> GET /solr/admin/metrics?key=solr.core.27.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.47.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.50.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.5.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.38.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.1.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.43.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.35.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.41.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.26.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.3.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.4.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.39.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.20.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.19.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.30.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.32.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.7.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.32.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.9.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.44.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.12.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.29.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.39.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.31.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.27.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.11.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.43.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.15.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.20.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.50.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.44.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.24.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.33.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.15.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.10.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.40.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.45.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.23.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.47.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.43.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.49.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.32.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.42.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.16.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.30.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.3.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.3.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.13.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.12.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.17.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.16.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.49.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.37.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.18.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.15.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.9.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.14.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.24.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.23.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.25.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.28.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.19.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.7.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.2.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.22.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.41.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.27.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.21.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.10.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.31.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.20.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.5.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.21.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.17.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.48.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.1.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.8.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.23.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.17.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.11.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.2.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.37.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.47.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.35.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.6.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.4.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.2.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.44.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.40.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.45.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.42.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.18.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.29.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.33.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.31.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.8.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.1.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.9.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.49.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.22.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.26.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.21.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.7.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.28.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.29.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.22.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.46.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.10.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.14.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.11.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.25.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.30.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.34.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.36.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.13.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.46.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.12.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.33.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.50.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.42.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.41.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.40.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.48.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.28.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.16.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.18.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.46.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.26.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.36.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.6.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.25.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.19.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.38.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.48.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.8.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.13.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.6.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.35.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.34.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.38.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.37.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.36.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.34.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.4.shard1.replica_n1%3AQUERY.%2Fselect.requests&key=solr.core.14.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.39.shard1.replica_n1%3AUPDATE.%2Fupdate.requests&key=solr.core.45.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.5.shard1.replica_n1%3AINDEX.sizeInBytes&key=solr.core.24.shard1.replica_n1%3AINDEX.sizeInBytes&wt=javabin&version=2 HTTP/1.1{noformat} > Metrics page causing "HttpParser URI is too large >8192" > -------------------------------------------------------- > > Key: SOLR-12814 > URL: https://issues.apache.org/jira/browse/SOLR-12814 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics, SolrCloud > Affects Versions: 7.5 > Environment: 3x zookeeper and 3x solr cloud servers, > 50 test collections with 0 data in them > Reporter: matthew medway > Priority: Major > Labels: URI, header, http, httpparser, large, metrics, solr, > solrcloud, too, uri > Attachments: longmetricsquery.txt > > > If you have a lot of collections, like 50 or more, the new metrics page in > version 7.5 can't run its queries because the default > solr.jetty.request.header.size and solr.jetty.response.header.size values are > too small. > If I up the header values from 8192 to 65536 the commands will work. > command to change the defaults: > {code:java} > sed -i 's/\"solr.jetty.request.header.size\" > default=\"8192\"/\"solr.jetty.request.header.size\" default=\"65536\"/g' > /opt/solr/server/etc/jetty.xml > sed -i 's/\"solr.jetty.response.header.size\" > default=\"8192\"/\"solr.jetty.response.header.size\" default=\"65536\"/g' > /opt/solr/server/etc/jetty.xml > {code} > before changing the header size log: > {code:java} > 2018-09-27 13:06:45.434 INFO (qtp534906248-14) [ ] o.a.s.s.HttpSolrCall > [admin] webapp=null path=/admin/metrics > params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} > status=0 QTime=0 > 2018-09-27 13:07:45.527 WARN (qtp534906248-17) [ ] o.e.j.h.HttpParser URI is > too large >8192 > 2018-09-27 13:07:45.530 INFO (qtp534906248-16) [ ] o.a.s.s.HttpSolrCall > [admin] webapp=null path=/admin/metrics > params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} > status=0 QTime=0 > 2018-09-27 13:08:45.621 WARN (qtp534906248-20) [ ] o.e.j.h.HttpParser URI is > too large >8192 > 2018-09-27 13:08:45.625 INFO (qtp534906248-15) [ ] o.a.s.s.HttpSolrCall > [admin] webapp=null path=/admin/metrics > params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} > status=0 QTime=0 > 2018-09-27 13:09:45.725 WARN (qtp534906248-20) [ ] o.e.j.h.HttpParser URI is > too large >8192 > {code} > After changing the header size log: > {code:java} > attached as a file because its very long and ugly{code} > Is it possible to break up this command into batches so that it can run > without modifying the header sizes? > Thanks! > -Matt > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org