Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C89CD10D62 for ; Tue, 7 May 2013 16:16:50 +0000 (UTC) Received: (qmail 13013 invoked by uid 500); 7 May 2013 16:16:45 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 12865 invoked by uid 500); 7 May 2013 16:16:45 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 12858 invoked by uid 99); 7 May 2013 16:16:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 16:16:45 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bugcy013@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 16:16:40 +0000 Received: by mail-vb0-f47.google.com with SMTP id x14so642358vbb.20 for ; Tue, 07 May 2013 09:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=8nSbVK5Z69Pyu7ppoaKk0PBtuPDWxG0eRHDa/XyVFiI=; b=0ygUjskJB869EI6Zv8XW/ekgfLcYL5/ro+nsx9vs65xb3cMK2maK9ej36PFjfRJYsd SFoGCbk127QEllvwGEdIIk0gqJdxewaTBkABr0IgPdZRWlnykFQ3y8o4IjGDz6SPu93k Ao8zTCa9cjjGIUwrEb2J7I0A3jmDtC9EMZ2jB8YnSL9NVspUQX4f19oa/+c5nINLo3YZ CHmvT/jWCJZedawiOJCj+fABh0to80av0gNZmOvLGv7mjoy2MxVX9sylA/1VfMVH9Cej JbwMJFrwchfL+K9kQY38GRlpNuxA+4URzSoAXxO+s+RBDCeF5+VJFv2BsRV4tQqZArUi 9/1g== X-Received: by 10.52.22.4 with SMTP id z4mr1514218vde.53.1367943379717; Tue, 07 May 2013 09:16:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.34.193 with HTTP; Tue, 7 May 2013 09:15:55 -0700 (PDT) In-Reply-To: References: From: Dhanasekaran Anbalagan Date: Tue, 7 May 2013 12:15:55 -0400 Message-ID: Subject: Re: How to change default 1024 open files in Linux To: user Content-Type: multipart/alternative; boundary=bcaec5015e9538c5fb04dc2323e6 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5015e9538c5fb04dc2323e6 Content-Type: text/plain; charset=UTF-8 HI Sandeep, you can try this path root@dv150:~# *cat /etc/security/limits.d/* *hbase.nofiles.conf hdfs.conf mapred.conf mapreduce.conf yarn.conf * root@dv150:~# cat /etc/security/limits.d/hdfs.conf # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. *hdfs - nofile 65536* root@dv150:~# Did I learn something today? If not, I wasted it. On Tue, May 7, 2013 at 7:45 AM, Sandeep Nemuri wrote: > its not working !! > > > On Tue, May 7, 2013 at 4:41 PM, Aditya exalter wrote: > >> just go to /etc/security/limits.conf >> >> and append >> >> * soft nofiles 300000(your limit) >> * hard nofiles 827399(your limit) >> >> Just logout and login to see changes ulimit -a >> >> >> On Tue, May 7, 2013 at 4:36 PM, Sandeep Nemuri wrote: >> >>> How to increase it >>> in linux ? >>> >>> >>> On Tue, May 7, 2013 at 4:30 PM, Jagat Singh wrote: >>> >>>> Quickly check >>>> >>>> http://hbase.apache.org/book/configuration.html#os >>>> >>>> Read about ulimit >>>> >>>> >>>> >>>> On Tue, May 7, 2013 at 8:57 PM, Aditya exalter >>> > wrote: >>>> >>>>> How to change default 1024 open files in Linux >>>>> >>>> >>>> >>> >>> >>> -- >>> Regards >>> N.H Sandeep >>> >> >> > > > -- > Regards > N.H Sandeep > --bcaec5015e9538c5fb04dc2323e6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
HI Sandeep,

you can try this path=


root@dv150:= ~# cat /etc/security/limits.d/
hbase.nofiles.conf =C2= =A0hdfs.conf =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 mapred.conf =C2=A0 =C2=A0 = =C2=A0 =C2=A0 mapreduce.conf =C2=A0 =C2=A0 =C2=A0yarn.conf =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
root@dv150:~# cat /etc/security/limits.d/hdfs.conf=C2=A0
# L= icensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. =C2=A0See the NOTICE file distributed wi= th
# this work for additional information regarding copyright ownership.<= /div>
# The ASF licenses this file to You under the Apache License, Ver= sion 2.0
# (the "License"); you may not use this file e= xcept in compliance with
# the License. =C2=A0You may obtain a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS"= BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either ex= press or implied.
# See the License for the specific language gov= erning permissions and
# limitations under the License.

hdfs - no= file 65536
root@dv150:~#=C2=A0


Did I learn somet= hing today? If not, I wasted it.


On Tue, May 7, 2013 at 7:45 AM, Sandeep = Nemuri <nhsandeep6@gmail.com> wrote:
its not working !!=C2=A0
<= div>


On Tue, May 7, 201= 3 at 4:41 PM, Aditya exalter <adityaexalter@gmail.com>= wrote:
just go to /etc/security/li= mits.conf

and append

* =C2=A0 = =C2=A0 =C2=A0soft =C2=A0 =C2=A0 =C2=A0nofiles =C2=A0 =C2=A0 =C2=A0300000(yo= ur limit)
* =C2=A0 =C2=A0 =C2=A0hard =C2=A0 =C2=A0 nofiles =C2=A0 =C2=A0 =C2=A08= 27399(your limit)

Just logout and login to see changes =C2=A0 ulimit -a


On Tue, May 7, 2013 at 4:36 PM, Sandeep Nemuri <= ;nhsandeep6@gmail= .com> wrote:
How to increase it =C2=A0in =C2=A0linux ?


On Tue, May 7, 2013 at 4:30 PM, Jagat Singh <jagatsingh@gmail.com= > wrote:
Quickly check


Read about ulimit


On Tue, May 7, 2013 at 8:57 PM, Aditya exalter <= span dir=3D"ltr"><adityaexalter@gmail.com> wrote:
How to change default 1024 open files in Linux




<= /div>--
Regards
N.H Sandeep




<= /div>--
Regards
N.H = Sandeep

--bcaec5015e9538c5fb04dc2323e6--