[CentOS] too many open files

Thu Aug 19 18:07:21 UTC 2010
Jerry Geis <geisj at pagestation.com>

lists-centos wrote:
> Is this a dedicated machine, or some type of virtual hosted
> environment? 
>
> I got this error in a (centos 4.x) virtual hosted environment
> recently when I exceeded my allowed process count (I was well below
> my open files limit).
>
>
>   - Richard
>
>
> ------------ Original Message ------------
>   
>> Date: Thursday, August 19, 2010 01:44:47 PM -0400
>> From: Jerry Geis <geisj at pagestation.com>
>> To: CentOS ML <centos at centos.org>
>> Subject: [CentOS] too many open files
>>
>> I am getting an error about to many open files.
>> I tried to "echo 500000 > /proc/sys/fs/file-max"
>> The number is there now, but I continue to get the error.
>>
>> Is there something else to do?
>>
>> Jerry
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>     
>
> ------------ End Original Message ------------
>
>
>
>   
seems like there is a global value (which I did above) and a process limit
ulimit -a tells all limits and ulimit -n 2048 seemed to work for me. 
Although I had to kill hte process and restart it.

Thanks,

jerry