[CentOS] Top process automatically killed

Tue Nov 21 14:04:13 UTC 2006
Abd El-Hameed Ayad <hamid at use-trade.com>

Thank you very much for your concern.
I 'll try raising numbers. But, Why i used *? because the server is web 
hosting server and each user has his own group name.
Now, do you have any idea about restricting such situation? Does * mean 
restrict root also or just all users except root?

Do you know any -simple- guide for limits.conf?

Thank you very much
hameed

Jim Perrin wrote:
> On 11/21/06, Abd El-Hameed Ayad <hamid at use-trade.com> wrote:
>> Hi,
>>     Can modifications to /etc/security/limits.conf cause top process to
>> be automatically killed.
>>
>> First, Here is the contents of the /etc/security/limits.conf
>>
>> *                hard    cpu             2
>> *                soft    nproc           5
>> *                hard    nproc           10
>> mailnull         hard    nproc           100
>
> Your numbers seem VERY low except for mailnull.
> I would really recommend restricting user groups instead of
> EVERYTHING. I believe top may be using more resources than you've
> allowed, and is being killed because of it.
>
>