TurnKey Internet Provides Fully Managed Dedicated and Virtual Private Servers Dedicated Servers | Virtual Servers | Colocation | Managed Services | Support | About

"I could not run YUM or Other Software in my Linux VPS"

The reason you are experiencing trouble running that piece of software in
your virtual server account is due to the lack of memory available.  There
is nothing wrong with the installation of your VPS accoutn, or the operating
system - the issue is confirmed to be a memory overage (out of memory) based
on the billing package you selected.

You can try disabling all other software (default software is enabled on
each new VPS such as the web, xinetd, sendmail, and cron daemon) which you
can turn off with the following commands

service httpd stop
service sendmail stop
service crond stop
service xinetd stop
chkconfig httpd off
chkconfig sendmail off
chkconfig crond off
chkconfig xinetd off

Once you turn off all un-needed software, you can try running the particular
application you wish to run and should find it has more memory to function.

You will also be able to monitor memory usage using the following commands
(while logged in as 'root' via the ssh shell service)

ps auxwww
free

You should also monitor the "memory limit" closely with the following
comamnd:

cat /proc/user_beancounters

The limit will look something like this:

uid resource       held     maxheld  barrier   limit     failcnt
14xxx:  kmemsize   2516641  3646769  52428800  52428800  0
lockedpages        0        0        32        32        0
privvmpages        6523     34370    32000     32000     30
shmpages           45       1053     8192      8192      0
dummy              0        0        0         0         0
numproc            22       35       500       500       0


The 'failcnt' column for privmpages will show your memory utilization has been exceeded 30 times, which prevents that application from using any more ram.

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Question

User Opinions (2 votes)

100% thumbs up 0% thumbs down

How would you rate this answer?



Thank you for rating this answer.

Related Questions

No related questions were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post a comment

To post a comment for this question, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue