Hi Team, Can someone please help with have high CP...
# troubleshooting
v
Hi Team, Can someone please help with have high CPU utilisation on pinot servers. Configured Heap 55GB, Heap utilised 55G, Setup 10 Server, 6 broker, 3 Controller (60 cores each with 460GB memory) , We have only one realtime table with normal ingestion rate (avg record/ sec is 200-400kwhile peaking at 1 Million records/second )
*Reported Size:* 1.2 TB
*Estimated Size:* 2.39 TB
Copy code
Pinot server java configs:
export JAVA_OPTS="-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=9095 -Dcom.sun.management.jmxremote.rmi.port=9095 -Dcom.sun.management.jmxremote.local.only=false -Djute.maxbuffer=5000000 -Xms55G -Xmx55G  -XX:+UseG1GC -XX:-ResizePLAB -XX:ErrorFile=/var/loghdp/pinot/ps_err_pid%p.log -XX:+UnlockDiagnosticVMOptions -verbose:gc -XX:+UseG1GC -XX:+PrintNMTStatistics -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:-OmitStackTraceInFastThrow -XX:InitiatingHeapOccupancyPercent=30 -XX:+UseCompressedOops -XX:G1MixedGCCountTarget=16 -XX:G1HeapWastePercent=10 -XX:G1HeapRegionSize=32m -XX:ParallelGCThreads=62 -XX:ConcGCThreads=30 -XX:MaxDirectMemorySize=221184m -Xlog:gc*:file=${PINOT_LOG_DIR}/pinot-server-gc.log:time,tags:filecount=10,filesize=1G -Dplugins.dir=${PINOT_DISTRIBUTION_DIR}/plugins -Dlog4j2.configurationFile=${SERVER_CONF_DIR}/pinot-server-log4j2.xml"
Table config:
Copy code
{
  "REALTIME": {
    "tableName": "test_REALTIME",
    "tableType": "REALTIME",
    "segmentsConfig": {
      "schemaName": "test",
      "replication": "1",
      "replicasPerPartition": "1",
      "timeColumnName": "time",
      "completionConfig": {
        "completionMode": "DOWNLOAD"
      },
      "minimizeDataMovement": false
    },
    "tenants": {
      "broker": "DefaultTenant",
      "server": "DefaultTenant",
      "tagOverrideConfig": {}
    },
    "tableIndexConfig": {
      "noDictionaryColumns": [],
      "streamConfigs": {
        "streamType": "kafka",
        "stream.kafka.topic.name": "*****",
        "stream.kafka.broker.list": "*****",
        "stream.kafka.consumer.type": "lowlevel",
        "stream.kafka.consumer.prop.auto.offset.reset": "largest",
        "stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
        "stream.kafka.decoder.class.name": "org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder",
        "realtime.segment.flush.threshold.rows": "0",
        "realtime.segment.flush.threshold.time": "72h",
        "realtime.segment.flush.threshold.segment.size": "1024M"
      },
      "onHeapDictionaryColumns": [],
      "varLengthDictionaryColumns": [],
      "enableDefaultStarTree": false,
      "enableDynamicStarTreeCreation": false,
      "aggregateMetrics": false,
      "nullHandlingEnabled": false,
      "optimizeDictionary": false,
      "optimizeDictionaryForMetrics": false,
      "noDictionarySizeRatioThreshold": 0.85,
      "autoGeneratedInvertedIndex": false,
      "createInvertedIndexDuringSegmentGeneration": false,
      "sortedColumn": [],
      "bloomFilterColumns": [],
      "loadMode": "MMAP",
      "rangeIndexColumns": [],
      "rangeIndexVersion": 2
    },
    "metadata": {},
    "quota": {},
    "routing": {
      "segmentPrunerTypes": [
        "time"
      ]
    },
    "query": {},
    "ingestionConfig": {
      "filterConfig": {
        "filterFunction": "strcmp(eventType, 'PAYMENT') != 0 OR strcmp(app, 'payment') != 0"
      },
      "complexTypeConfig": {
        "delimiter": ".",
        "collectionNotUnnestedToJson": "ALL"
      },
      "continueOnError": false,
      "rowTimeValueCheck": false,
      "segmentTimeValueCheck": true
    },
    "isDimTable": false
  }
}
Can someone please help me debug this ?