Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I rent dedicated server for share hosting. Many of my client using big resource so i want to limited user account for using the CPU usage, RAM usage or the number of concurrent processes.

I saw in a number of hosting service providers, displays the error message like this if a user account exceed the capacity, the error message will appear like this:

508 Resource Limit Is Reached. The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.

How can i do that??

Note:

  • I'm using centos 5.3

  • Apache webserver

Forgive me, if my english language not good.

Thank you

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

To limit resources such as cpu per cpanel account, you will need to get a different operating system called CloudLinux. CloudLinux OS is made to serve this exact purpose.

share|improve this answer
    
Thank you so much you give me the information about CloudLinux. But it is posible to limited resource using php.ini or others centos module? –  v123shine Jan 1 '13 at 19:37
    
If i change my question, do you know the mods or plugin in centos display this error: "508 Resource Limit Is Reached. The website is temporarily unable to service your request as it exceeded resource limit. Please try again later" ??? –  v123shine Jan 1 '13 at 19:50
    
Then the answer is no. It is not possible. It's possible to limit per process, but that's not per account. –  Grumpy Jan 1 '13 at 22:10
    
May i know how to limit per process?? Thank you so much Peter for your help. –  v123shine Jan 1 '13 at 22:15
    
Multiple ways, unfit for comment. But it will NOT achieve what you want of displaying that 508 message. cloudlinux is the only way to get you that 508 message per account. –  Grumpy Jan 1 '13 at 22:26
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.