limit cpu/memory usage per process

Is there a way to limit the amount of cpu/memory usage a process can consume?

I'm having apache processes running as nobody randomly consuming tons of resources. I assume someone is running a leaking script...any idea how to track down these processes?

 

 

 

 

Top