Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 11-17-2009, 07:54 PM
MichaelF MichaelF is offline
Hatchling Croc
 
Join Date: Jan 2009
Location: PA
Posts: 8
Default ...limit users to 25 simultaneous processes

Where do I see how may processes my vps is running?

thanks
Mike
Reply With Quote
  #2  
Old 11-17-2009, 08:31 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 937
Default Re: ...limit users to 25 simultaneous processes

Hello,
The actual RLimits can be changed, they are just set in place by default to avoid things like a DDoS attack or simply not realizing you have so many processes running from your user from crashing your VPS.

The easiest way to see how many processes you are running would be to run `ps aux | grep USERNAME | wc-l`.
Reply With Quote
  #3  
Old 11-17-2009, 08:46 PM
MichaelF MichaelF is offline
Hatchling Croc
 
Join Date: Jan 2009
Location: PA
Posts: 8
Default Re: ...limit users to 25 simultaneous processes

oh i see now. Had thought it was 25 processes for the entire vps itself which confused me.

holy guacamole! you have a lot of posts.

thanks
MIke
Reply With Quote
  #4  
Old 11-17-2009, 09:13 PM
alben alben is offline
Hatchling Croc
 
Join Date: Oct 2008
Location: Hutchinson, MN
Posts: 12
Default Re: ...limit users to 25 simultaneous processes

2^31 = 2,147,483,648 and then subtract 1 = 2,147,483,647 which is generally the largest 32 bit positive number that can be represented.

So I assume GatorDave somehow reset his counter to the largest 32 bit positive integer. I am surprised that the post count is not counting backwards. Because usually if you add 1 to 2,147,483,647 you would get -2,147,483,648.
Reply With Quote
  #5  
Old 11-17-2009, 10:11 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 937
Default Re: ...limit users to 25 simultaneous processes

Smart man :P You are correct, I did that about 3 years ago when I was fixing something in the database, and decided to do that for the heck of it.

Quote:
Originally Posted by alben View Post
2^31 = 2,147,483,648 and then subtract 1 = 2,147,483,647 which is generally the largest 32 bit positive number that can be represented.

So I assume GatorDave somehow reset his counter to the largest 32 bit positive integer. I am surprised that the post count is not counting backwards. Because usually if you add 1 to 2,147,483,647 you would get -2,147,483,648.
Reply With Quote
  #6  
Old 11-18-2009, 07:58 AM
Pazeh Pazeh is offline
King Croc
 
Join Date: Jan 2005
Posts: 1,327
Default Re: ...limit users to 25 simultaneous processes

Quote:
Originally Posted by GatorDaveC View Post
Smart man :P You are correct, I did that about 3 years ago when I was fixing something in the database, and decided to do that for the heck of it.
Fixing??

Reply With Quote
  #7  
Old 11-19-2009, 04:27 AM
Gorkfu's Avatar
Gorkfu Gorkfu is offline
Baby Croc
 
Join Date: Oct 2007
Posts: 72
Default Re: ...limit users to 25 simultaneous processes

Can also use the 'top' command for a process list among other useful information.
__________________
The RSWR Network - RSWR Blog
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Apache Processes jbourque Windows Dedicated Servers 2 01-07-2009 07:19 AM
how many simultaneous users can i have online at the same time? daabomb2002 Shared Hosting Support 6 04-27-2007 01:13 PM

All times are GMT -5. The time now is 11:45 AM.