Knowledgebase

"nobody" process problem

Posted by Ishee, 03-31-2011, 01:55 AM
Hello Everyone, I'm having a problem on my VPS. The "nobody" process is the only process i can see on the processes when i run the "top" command on ssh, So the RAM was eated by that process is there anyway to stop that process? I already killed all the process by "nobody" lot of times, still no luck. Hope you can help me. Thanks in Advance!

Posted by Squidix - SamBarrow, 03-31-2011, 01:59 AM
Nobody is the user, not the command. It's probably apache using all that ram (it's called httpd in top).

Posted by Ishee, 03-31-2011, 02:10 AM
nope theres no nobody user on my VPS. and how can i stop apache for using all the RAM?

Posted by Ishee, 03-31-2011, 03:02 AM
Can someone help me? I really need this to be fixed. Thanks in Advance!

Posted by Squidix - SamBarrow, 03-31-2011, 03:11 AM
There are a number of ways to optimize each apache process, more than I can lay out for you here so you'll have to do some research. For now, if you're running out of RAM you can lower the MaxClients in the Apache config. MaxClients * RAM per Process = Total Usage Apache runs under user "nobody" by the way, by default at least.

Posted by Ishee, 03-31-2011, 03:14 AM
how can i find that apache config?

Posted by Squidix - SamBarrow, 03-31-2011, 03:26 AM
Are you running cpanel?

Posted by xnpu, 03-31-2011, 03:30 AM
Are you sure about that? By default pretty much every Linux system (as well as BSD system) comes with a nobody user. It's used by processes that need to run as an unprivileged user for security reasons. I think you may be reading your process table wrong.

Posted by Ishee, 03-31-2011, 03:33 AM
yes i have cpanel/whm installed.

Posted by Squidix - SamBarrow, 03-31-2011, 03:38 AM
Log in to WHM and go to apache configuration, it should be right there.

Posted by Ishee, 03-31-2011, 03:38 AM
Yes i know, but the thing i want to do is stop that nobody process to stop running bcause after i killed it, its going back again.

Posted by Squidix - SamBarrow, 03-31-2011, 03:51 AM
I don't think you're understanding. The "nobody" user is a default system user, used to run services, apache being one of them.

Posted by Ishee, 03-31-2011, 03:51 AM
it is the one with the memory limiting thingy?

Posted by Ishee, 03-31-2011, 03:54 AM
yes i know.

Posted by Squidix - SamBarrow, 03-31-2011, 04:12 AM
So if you want to kill the process, you're killing Apache. So what's the point in having a server? It will be somewhere under apache configuration, I can't remember off the top of my head exactly where but it will say MaxClients.

Posted by Ishee, 03-31-2011, 04:24 AM
theres no maxclients on apache config.

Posted by Ishee, 03-31-2011, 10:24 PM
is there someone can help me with this??

Posted by Squidix - SamBarrow, 03-31-2011, 10:30 PM
You can find the MaxClients setting, just do some digging. Nobody can do it for you. A quick google search for "cpanel maxclients" will get you an answer.

Posted by Ishee, 03-31-2011, 11:04 PM
after i find it, its 150 what will i put? 50+ or whts the good number?

Posted by Ishee, 03-31-2011, 11:22 PM
Do you think reinstalling apache will fix the problem? and how?

Posted by Squidix - SamBarrow, 03-31-2011, 11:39 PM
How much RAM do you have? Reinstalling Apache won't solve the problem. There is no "problem" you just don't have too much RAM.

Posted by Ishee, 04-01-2011, 12:06 AM
its 3GB. is that too low?

Posted by Squidix - SamBarrow, 04-01-2011, 12:48 AM
Are you actually running out of RAM? Or are you just worried about high usage?



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
swf to avi on linux? (Views: 557)
synhosting.com down (Views: 632)
Htaccess Help needed (Views: 592)


Language:

Client Login

Email

Password

Remember Me

Search