Troubleshooting "too many open files'

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



> Besides file-max and file-nr is there anywhere else I
> should be looking to solve a C program giving me 'too
> many open files' problem? (centos 3.4)

If the program is running as a non-root user, you will need to grant the 
user in question a limit higher than 1024 by adding a "nofile"  statement 
in "/etc/security/limits.conf"  Once that is done, you will need to open a 
new session as that user.  You can verify that your settings took hold by 
typing "ulimit -n".

HTH,
Barry

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux