Re: Can't increase the number of open files limit in RHEL AS 4. Pleasesuggest.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Looks like both soft and hard limits need to be specified in
/etc/security/limits.conf.
root soft nofile 32768
root hard nofile 32768
[root@bangpcplin1 security]# ulimit -n
32768
It worked.  Thanks a lot.
Regards,
-GnanaShekar-



On 1/4/06, Lunt, Nick <Nick.Lunt@xxxxxxxxxxxxxx> wrote:
>
> Just double checked, try ulimit -H -n :)
>
> see /usr/share/doc/bash-x/COMPAT for more info
>
> Nick .
>
>
> > -----Original Message-----
> > From: Lunt, Nick
> > Sent: 04 January 2006 12:42
> > To: General Red Hat Linux discussion list
> > Subject: RE: Can't increase the number of open files limit in
> > RHEL AS 4.
> > Pleasesuggest.
> >
> >
> > Hello,
> >
> > > -----Original Message-----
> > > From: unix syzadmin [mailto:unixsyzadmin@xxxxxxxxx]
> > > The following entry in /etc/security/limits.conf of RHEL AS
> > 4 does not
> > > work.  Please suggest.
> > > root hard nofile 32768
> > >
> > > [root@bangpcplin1 ~]# ulimit -n
> > > 1024
> > >
> >
> > ulimit is showing you your soft limit I believe.
> > Put a soft limit in limits.conf then try again.
> >
> > >From the ulimit bash manpage the hard file limit may not be
> > allowed to be set on some systems. Im not sure if this
> > applies to RHEL4.
> >
> > Nick .
> >
> >
> > Wesleyan Administration Services Ltd registered number
> > 5188850 and Wesleyan Unit Trust Managers Ltd registered
> > number 2114859 ("WUTM Ltd")
> > are wholly owned subsidiary companies of Wesleyan Assurance
> > Society, whose registered number is ZC145.
> > WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts
> > Administration Centre: PO Box 9033, Chelmsford, SM99 2WQ
> > Telephone: 0870 601 6129
> > Wesleyan Assurance Society and WUTM Ltd are authorised and
> > regulated by the Financial Services Authority.
> > Head Office, Colmore Circus, Birmingham B4 6AR. Telephone:
> > 0121 200 3003 Fax 0121 200 2971.
> > Website: www.wesleyan.co.uk Telephone calls may be recorded
> > for monitoring and training purposes.
> >
> > CONFIDENTIALITY NOTICE
> >
> > This communication and the information it contains is
> > intended for the person or organisation to whom it is
> > addressed. Its contents are confidential and may be protected
> > in law. Unauthorised use, copying or disclosure of any of it
> > may be unlawful. If you are not the intended recipient,
> > please contact us immediately.
> >
> > The contents of any attachments in this e-mail may contain
> > software viruses, which could damage your own computer
> > system. While every reasonable precaution to minimise this
> > risk has been taken, we cannot accept liability for any
> > damage that you sustain as a result of software viruses. You
> > should carry out your own virus checking procedure before
> > opening any attachment.
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux