Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CF5918A0A for ; Mon, 5 Oct 2015 04:10:04 +0000 (UTC) Received: (qmail 51536 invoked by uid 500); 5 Oct 2015 04:10:03 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 51495 invoked by uid 500); 5 Oct 2015 04:10:03 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 51484 invoked by uid 99); 5 Oct 2015 04:10:03 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 04:10:03 +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 8F02EC2651 for ; Mon, 5 Oct 2015 04:10:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id cmgH6EEkGA4q for ; Mon, 5 Oct 2015 04:09:55 +0000 (UTC) Received: from smtp105.ord1c.emailsrvr.com (smtp105.ord1c.emailsrvr.com [108.166.43.105]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id C0345439DF for ; Mon, 5 Oct 2015 04:09:54 +0000 (UTC) Received: from smtp14.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp14.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 1D2B63800DD; Mon, 5 Oct 2015 00:09:48 -0400 (EDT) Received: by smtp14.relay.ord1c.emailsrvr.com (Authenticated sender: satya.kanodia-AT-orkash.com) with ESMTPSA id 418043800B8 for ; Mon, 5 Oct 2015 00:09:46 -0400 (EDT) X-Sender-Id: satya.kanodia@orkash.com Received: from [192.168.0.116] ([UNAVAILABLE]. [14.141.49.198]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.4.2); Mon, 05 Oct 2015 04:09:48 GMT Subject: Re: C-Groups status remains off in web server after installing C-Groups To: user@uima.apache.org References: <560A39C7.7010409@orkash.com> <560B688E.8090806@orkash.com> <560CB940.70508@orkash.com> From: Satya Nand Kanodia Message-ID: <5611F818.1000206@orkash.com> Date: Mon, 5 Oct 2015 09:40:00 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear Eddie, Below are the contents of /cgroup on centos machine. cgroup.event_control memory.max_usage_in_bytes memory.oom_control notify_on_release cgroup.procs memory.memsw.failcnt memory.soft_limit_in_bytes release_agent ducc memory.memsw.limit_in_bytes memory.stat tasks memory.failcnt memory.memsw.max_usage_in_bytes memory.swappiness memory.force_empty memory.memsw.usage_in_bytes memory.usage_in_bytes memory.limit_in_bytes memory.move_charge_at_immigrate memory.use_hierarchy these are the permissions on /cgroup/ducc drwxr-xr-x 2 ducc root 0 Oct 5 09:29 . Thanks and Regards, Satya Nand Kanodia On 10/01/2015 07:49 PM, Eddie Epstein wrote: > FYI, below are the contents of /groups on a SLES 11.2 machine: > > ~$ ls /cgroup > cgroup.clone_children cpu.rt_runtime_us memory.limit_in_bytes > memory.stat sysdefault > cgroup.event_control cpu.shares memory.max_usage_in_bytes > memory.swappiness tasks > cgroup.procs cpu.stat memory.move_charge_at_immigrate > memory.usage_in_bytes > cpu.cfs_period_us ducc memory.numa_stat > memory.use_hierarchy > cpu.cfs_quota_us memory.failcnt memory.oom_control > notify_on_release > cpu.rt_period_us memory.force_empty memory.soft_limit_in_bytes > release_agent > > ~$ ls -ld /cgroup/ducc/ > drwxr-xr-x 2 ducc root 0 Sep 5 11:31 /cgroup/ducc/ > > > On Thu, Oct 1, 2015 at 8:20 AM, Eddie Epstein wrote: > >> Well, please list the contents of /cgroups to confirm that the custom >> cgconfig.conf is operating. >> Eddie >> >> On Thu, Oct 1, 2015 at 12:40 AM, Satya Nand Kanodia < >> satya.kanodia@orkash.com> wrote: >> >>> Hi Eddie, >>> >>> I had copied the same contents in cgconfig.conf.(as it was also written >>> in documentation.) >>> >>> anything else ? >>> >>> Thanks and Regards, >>> Satya Nand Kanodia >>> >>> On 09/30/2015 05:28 PM, Eddie Epstein wrote: >>> >>>> Hi Satya, >>>> >>>> There is a custom cgconfig.conf that has to be installed in /etc/ before >>>> starting the cgconfig service. Please see step 2 in the section "CGroups >>>> Installation and Configuration". The custom config is repeated below. >>>> Regards, Eddie >>>> >>>> # Mount cgroups >>>> mount { >>>> memory = /cgroup; >>>> cpu = /cgroup; >>>> } >>>> # Define cgroup ducc and setup permissions >>>> group ducc { >>>> perm { >>>> task { >>>> uid = ducc; >>>> } >>>> admin { >>>> uid = ducc; >>>> } >>>> } >>>> memory {} >>>> cpu{} >>>> } >>>> >>>> On Wed, Sep 30, 2015 at 12:43 AM, Satya Nand Kanodia < >>>> satya.kanodia@orkash.com> wrote: >>>> >>>> Hi, >>>>> DUCC is running with the ducc user. >>>>> why did you say "DUCC's /etc/cgconfig.conf specifies user=ducc to create >>>>> cgroups."? As I installed C-Groups with sudo yum, It has root as owner. >>>>> Do >>>>> I need to change it's owner or permissions. It is having currently 644 >>>>> permissions. >>>>> >>>>> Thanks and Regards, >>>>> Satya Nand Kanodia >>>>> >>>>> On 09/29/2015 06:46 PM, Eddie Epstein wrote: >>>>> >>>>> DUCC's /etc/cgconfig.conf specifies user=ducc to create cgroups. >>>>>> Is DUCC running as user=ducc? >>>>>> >>>>>> Using sudo for cgreate testing suggests that the ducc userid is not >>>>>> being >>>>>> used. >>>>>> >>>>>> Eddie >>>>>> >>>>>> On Tue, Sep 29, 2015 at 3:12 AM, Satya Nand Kanodia < >>>>>> satya.kanodia@orkash.com> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>>> I am using CentOS release 6.6 for DUCC installation. I did all >>>>>>> according >>>>>>> to documentation to enable C-Groups. >>>>>>> Following command executed without any error.( I had to execute it >>>>>>> using >>>>>>> sudo.) >>>>>>> >>>>>>> cgcreate -t ducc -a ducc -g memory:ducc/test-cgroups >>>>>>> >>>>>>> But on webserver in machines section , it is showing *off* status >>>>>>> under >>>>>>> the C-Groups. >>>>>>> >>>>>>> I don't know what went wrong. >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Thanks and Regards, >>>>>>> Satya Nand Kanodia >>>>>>> >>>>>>> >>>>>>> >>>>>>>