gurika
10-25-2004, 07:14 PM
One of users on my server eat all my ram memory, can I restrict RAM usage only for that account? He use html+php+mysql!
Thanks
Thanks
![]() | View Full Version : Can I restrict RAM memory usage for user? gurika 10-25-2004, 07:14 PM One of users on my server eat all my ram memory, can I restrict RAM usage only for that account? He use html+php+mysql! Thanks TQ Mark 10-25-2004, 08:56 PM Yes, you can restrict how much RAM and the number of processes that a user can run with limits.conf. However, this will not affect MySQL if it is running as a separate user. If you are running PHP under phpsuexec or suPHP, then you may be able to limit the PHP processes. gurika 10-26-2004, 05:01 AM Yes, I use limits.conf and I add line user hard memlock 153600 in that file and that don`t help me, I think! How I can enable that? Recompile apache with PAM or...? Thanks |