"ulimit -n" should show you your setting for maximum open files on the
server.
"ulimit -n bignumber" will termporarily reset it.
to permanently set it, edit /etc/security/limits.conf

that's for a specific user.

For system wide file descriptors -
"cat /proc/sys/fs/file-max" to view the maximum
or "sysctl fs.file-max"

to change the system wide setting "sysctl -w fs.file-max=bignumber"

If I remember correctly, there is a recommended setting, but I don't know
it off the top of my head.  The commands I listed above should work for
RHEL.  If you're on a different OS or they don't work google "OS file
descriptor limits" where OS is your OS.

To see what process has all the open files:

lsof | awk '{ print $2; }' | uniq -c | sort -rn | head

lsof should be in /usr/sbin, so if that's not in your path you'll have to
specify the full path in the command line.

---
As far as cause, it could be completely normal.  I have seen situations
where run process commands were failing to exit and have piled up to cause
this problem.  There are a lot of things that could go wrong to cause a
problem like this, but more than likely it's just normal behavior and the
limits are set too low by default.



On Mon, May 20, 2013 at 11:13 AM, Brittain, Mark <[email protected]>wrote:

> **
>
> HI All,****
>
> ** **
>
> On my development server when I go to look at server information I am
> getting a Too many open files: /opt/bmc/ARSystem/conf/ar.conf (ARERR 301).
> ****
>
> ** **
>
> I can log on and work in a browser but if I attempt to log in with the
> user client or developer, I time out. Any ideas on what is happening and
> possible cause/solution?
>
> ARS 7.6.04 SP3****
>
> ITSM 7.6.04 SP3****
>
> Linux 5****
>
> Oracle 11****
>
> ** **
>
> Thanks****
>
> Mark****
>
> ** **
>
> *Mark Brittain*
>
> Remedy Developer****
>
> ITILv3 Foundation****
>
> *NaviSite – **A Time Warner Cable Company***
>
> [email protected]****
>
> Office: 315-453-2912 x5335****
>
> Mobile: 315-882.5360****
>
> [image: email-Logo-031813]****
>
> ** **
>
> ------------------------------
> This E-mail and any of its attachments may contain Time Warner Cable
> proprietary information, which is privileged, confidential, or subject to
> copyright belonging to Time Warner Cable. This E-mail is intended solely
> for the use of the individual or entity to which it is addressed. If you
> are not the intended recipient of this E-mail, you are hereby notified that
> any dissemination, distribution, copying, or action taken in relation to
> the contents of and attachments to this E-mail is strictly prohibited and
> may be unlawful. If you have received this E-mail in error, please notify
> the sender immediately and permanently delete the original and any copy of
> this E-mail and any printout.
>  _ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to