Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08AF1200CEF for ; Mon, 21 Aug 2017 05:30:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 06FD2163E3C; Mon, 21 Aug 2017 03:30:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4CD5A163E39 for ; Mon, 21 Aug 2017 05:30:20 +0200 (CEST) Received: (qmail 60013 invoked by uid 500); 21 Aug 2017 03:30:14 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 60003 invoked by uid 99); 21 Aug 2017 03:30:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2017 03:30:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5B409C218A for ; Mon, 21 Aug 2017 03:30:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 30F240p5X_d2 for ; Mon, 21 Aug 2017 03:30:12 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BFD955F245 for ; Mon, 21 Aug 2017 03:30:11 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id f7so41609467lfg.4 for ; Sun, 20 Aug 2017 20:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=z6rsP9t9dREQJEIAmIe2qCs0S3Z3fEIIp1PssY+1J1Q=; b=UzM4JRPR2+8zK+IN3Sl++oiSTKjpci0LemG3Scw7cwzLf6nvtGDFybRpLYZ945oFvJ 9JEC1oQzpMZ0eJqpchj22CfoL7ISdr+Aww6+gO8n8LffJhTVspOHrfm2KSkts7M3hhno vCFq+IdjqeWAA0FtG0GtU+qjrrus/YJS5mdMFro4f8/LkpfzHg9nYzjMWoERo+0fGz0D IvZiPVUNUAjRxRWTjLcDZZBwiv4hJ4KhGViezLlingGBUb45dgcprbLMghOMA6+bx4Pm SvHkNQMDZJsqCn3mtyL03I7R9XsbLxs88PaHcnV0Ag8N3Kyg6yQXIBXfBBlBlfSxZKyy uEhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=z6rsP9t9dREQJEIAmIe2qCs0S3Z3fEIIp1PssY+1J1Q=; b=lg5aDgXRC6m6RUuUK6QRCgCdU1tiTL4dDBTN3s857SNRrbUk+3NQ/WDZbCfmK/6NuY gZRn0HuSoiq6OxYDGWJXqyiMU9TPF3uxiiwLvkbwBdoO62x6/MjeMCdEdubRVNSl0ZTb dNVIla1V1Xu/hpoOigMC0NzXf+vejNNuLqnKVJ2xoHc+OZNbGQEEMWs+XaJ0NSpcWb71 sWuQPfck4rFbmGhVuKD+vmT1g7jxTIfQb7WUVH40dmRUL1A7YHICVgxMwuYYhVns8wOu VeyZhsBdR6MSmkqtNVQ5F6IBfUzNW4oY/yXsDZsTFN0PzyKYvedazVl6vYsvMaKsQRjC y/RA== X-Gm-Message-State: AHYfb5ibwQ79vnGVmXTOKWAdtnNl3WBqwJeIAX1ocH+ItBTKUXJUP3Ih Wm8MRLpBbqf3ic3yglOt1LVQRQ906oO+ X-Received: by 10.46.84.15 with SMTP id i15mr5638747ljb.119.1503286205284; Sun, 20 Aug 2017 20:30:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.179.1.88 with HTTP; Sun, 20 Aug 2017 20:29:44 -0700 (PDT) From: Govindarajan Srinivasaraghavan Date: Sun, 20 Aug 2017 20:29:44 -0700 Message-ID: Subject: Memory Issue To: user Content-Type: multipart/alternative; boundary="f403045fb9fa43043905573b18ab" archived-at: Mon, 21 Aug 2017 03:30:21 -0000 --f403045fb9fa43043905573b18ab Content-Type: text/plain; charset="UTF-8" Hi, I have a pipeline running on flink which ingests around 6k messages per second. Each message is around 1kb and it passes through various stages like filter, 5 sec tumbling window per key etc.. and finally flatmap to computation before sending it to kafka sink. The data is first ingested as protocol buffers and then in subsequent operators they are converted into POJO's. There are lots objects created inside the user functions and some of them are cached as well. I have been running this pipeline on 48 task slots across 3 task manages with each one allocated with 22GB memory. The issue I'm having is within a period of 10 hours, almost 19k young generation GC have been run which is roughly every 2 seconds and GC time taken value is more than 2 million. I have also enabled object reuse. Any suggestions on how this issue could be resolved? Thanks. Regards, Govind --f403045fb9fa43043905573b18ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have a pipeline running on flink = which ingests around 6k messages per second. Each message is around 1kb and= it passes through various stages like filter, 5 sec tumbling window per ke= y etc.. and finally flatmap to computation before sending it to kafka sink.= The data is first ingested as protocol buffers and then in subsequent oper= ators they are converted into POJO's.

There ar= e lots objects created inside the user functions and some of them are cache= d as well. I have been running this pipeline on 48 task slots across 3 task= manages with each one allocated with 22GB memory.

The issue I'm having is within a period of 10 hours, almost 19k young = generation GC have been run which is roughly every 2 seconds and GC time ta= ken value is more than 2 million. I have also enabled object reuse. Any sug= gestions on how this issue could be resolved? Thanks.

<= div>Regards,
Govind

--f403045fb9fa43043905573b18ab--