New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
DireVPS £7.50/y plan - I bought it but can't install LAMP so what's it good for?
adrianlambert
Member
in General
Specs are: £7.50/y - 512MB RAM, 128MB Swap, 25GB Disk, 250GB transfer, Two IPv6 addresses and 1 IPv4, CPU capped to 2 x 1600MHz
I can't seem to install all the components for a LAMP stack so my plan to run a little website is scuppered. So now that I have it, what is a plan like this suitable for?
Comments
LAMP components, in case of major Linux distributions are installed via package manager (yum, apt etc).
Is there no system administrator able to install those via command-line? System looks fine for LAMP.
That's what I thought when I signed up. I am installing LAMP using apt. I posted here about the problems: http://lowendtalk.com/discussion/29371/direvps-server-constant-fatal-failed-to-fork#latest Seems that the problem is a lack of sufficient available resources.
Raise a ticket with them about your issues.
You also could have continued your previous thread - http://lowendtalk.com/discussion/29371/direvps-server-constant-fatal-failed-to-fork
apache in it's default config likes eating memory. Consider using nginx instead. Also the mysql server config might need tuning.
When using apache i like having at least 1GB of memory. More is better.
Thanks wych, I'm not expecting support for £7.50 per year but I did submit a ticket yesterday anyway. In my post here I'm asking what those specs are good for whereas in the other topic I'm asking for help with the failed to fork issue. I think they are sufficiently different issues despite being about the same plan. Do you dissagree?
Could it be an OS or template issue? Cause I think 512 MB RAM is more than enough for a non-heavily used LAMP stack.
I did reinstall the server OS and the problems are consistent.
So in answer to my question this server should in fact be fine for a lamp stack. Thanks All.
It could run the lamp stack, but not with the default configurations of the packages (mysql and apache).
Apache sure is hungry when it comes to RAM, but OP shouldn't be running into a problem when installing it for the sole reason of having 512MB RAM. There's no reason the default Apache configuration can't run with that much RAM on a test installation.
Anyway, yes, Nginx is the way to go.
Thanks rds100. OK wych you are right. I shouldn't have split the topic!
Message them about the error you got with the bean counter. That's host node config related, something you can't fix.
Dont message them saying can't fork due to error. Give them the details you gave in that thread.
That box should be able to hold a simple lamp stack.
I agree, for low resources systems Apache and MySQL in default configuration are resource gobblers.
However, I doubt that the mentioned error should occur. Severe resource restriction in effect. Let's know what provider will respond.
Good luck!
So what's currently running on the VPS? Can you show us a process list? ps axuww
yes iceTwy using apt I've installed webmin and am trying to install LAMP but can't get it to install without problems relating to failed to fork errors
root 1 0.0 0.3 24148 1984 ? Ss Jun17 0:00 init
root 2 0.0 0.0 0 0 ? S Jun17 0:00 [kthreadd/4880]
root 3 0.0 0.0 0 0 ? S Jun17 0:00 [khelper/4880]
101 152 0.0 0.2 23892 1116 ? Ss Jun17 0:00 dbus-daemon --system --fork --activation=upstart
root 256 0.0 0.1 15140 576 ? S Jun17 0:00 upstart-socket-bridge --daemon
root 262 0.0 0.1 19064 892 ? Ss Jun17 0:00 cron
syslog 377 0.0 0.1 12704 776 ? Ss Jun17 0:00 /sbin/syslogd -u syslog
root 418 0.0 0.1 12704 700 tty1 Ss+ Jun17 0:00 /sbin/getty 38400 console
root 420 0.0 0.1 12704 704 tty2 Ss+ Jun17 0:00 /sbin/getty 38400 tty2
root 1952 0.0 0.2 74180 1200 ? Ss Jun17 0:01 /usr/sbin/apache2 -k start
www-data 1955 0.0 0.1 73912 528 ? S Jun17 0:00 /usr/sbin/apache2 -k start
www-data 1958 0.0 0.3 549664 1912 ? Sl Jun17 0:00 /usr/sbin/apache2 -k start
root 3791 0.0 0.1 60588 868 ? Ss Jun17 0:01 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 3792 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3793 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3794 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3795 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
root 5851 0.0 0.6 83564 3412 ? Ss Jun17 0:01 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 18687 0.0 0.4 49988 2548 ? Ss Jun17 0:00 /usr/sbin/sshd -D
root 22093 0.0 0.0 17184 452 ? S Jun17 0:00 upstart-udev-bridge --daemon
root 22095 0.0 0.1 21708 752 ? Ss Jun17 0:00 /sbin/udevd --daemon
root 24922 0.2 0.6 71312 3532 ? Ss 13:20 0:00 sshd: adrian [priv]
adrian 24934 0.0 0.3 71312 1788 ? S 13:20 0:00 sshd: adrian@pts/0
adrian 24935 0.0 0.4 19628 2120 pts/0 Ss 13:20 0:00 -bash
root 24945 0.5 0.3 37836 1832 pts/0 S+ 13:20 0:00 sudo ps axuww
root 24946 0.0 0.2 16828 1248 pts/0 R+ 13:20 0:00 ps axuww
Nice formatting.
use < pre > pasted text < /pre > to make it more readable, please
@wych said:
root 1 0.0 0.3 24148 1984 ? Ss Jun17 0:00 init
root 2 0.0 0.0 0 0 ? S Jun17 0:00 [kthreadd/4880]
root 3 0.0 0.0 0 0 ? S Jun17 0:00 [khelper/4880]
101 152 0.0 0.2 23892 1116 ? Ss Jun17 0:00 dbus-daemon --system --fork --activation=upstart
root 256 0.0 0.1 15140 576 ? S Jun17 0:00 upstart-socket-bridge --daemon
root 262 0.0 0.1 19064 892 ? Ss Jun17 0:00 cron
syslog 377 0.0 0.1 12704 776 ? Ss Jun17 0:00 /sbin/syslogd -u syslog
root 418 0.0 0.1 12704 700 tty1 Ss+ Jun17 0:00 /sbin/getty 38400 console
root 420 0.0 0.1 12704 704 tty2 Ss+ Jun17 0:00 /sbin/getty 38400 tty2
root 1952 0.0 0.2 74180 1200 ? Ss Jun17 0:01 /usr/sbin/apache2 -k start
www-data 1955 0.0 0.1 73912 528 ? S Jun17 0:00 /usr/sbin/apache2 -k start
www-data 1958 0.0 0.3 549664 1912 ? Sl Jun17 0:00 /usr/sbin/apache2 -k start
root 3791 0.0 0.1 60588 868 ? Ss Jun17 0:01 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 3792 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3793 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3794 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3795 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
root 5851 0.0 0.6 83564 3412 ? Ss Jun17 0:01 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 18687 0.0 0.4 49988 2548 ? Ss Jun17 0:00 /usr/sbin/sshd -D
root 22093 0.0 0.0 17184 452 ? S Jun17 0:00 upstart-udev-bridge --daemon
root 22095 0.0 0.1 21708 752 ? Ss Jun17 0:00 /sbin/udevd --daemon
root 24922 0.2 0.6 71312 3532 ? Ss 13:20 0:00 sshd: adrian [priv]
adrian 24934 0.0 0.3 71312 1788 ? S 13:20 0:00 sshd: adrian@pts/0
adrian 24935 0.0 0.4 19628 2120 pts/0 Ss 13:20 0:00 -bash
root 24945 0.5 0.3 37836 1832 pts/0 S+ 13:20 0:00 sudo ps axuww
root 24946 0.0 0.2 16828 1248 pts/0 R+ 13:20 0:00 ps axuww>
sorry, can't figure formatting out.
< pre > root 1 0.0 0.3 24148 1984 ? Ss Jun17 0:00 init
root 2 0.0 0.0 0 0 ? S Jun17 0:00 [kthreadd/4880]
root 3 0.0 0.0 0 0 ? S Jun17 0:00 [khelper/4880]
101 152 0.0 0.2 23892 1116 ? Ss Jun17 0:00 dbus-daemon --system --fork --activation=upstart
root 256 0.0 0.1 15140 576 ? S Jun17 0:00 upstart-socket-bridge --daemon
root 262 0.0 0.1 19064 892 ? Ss Jun17 0:00 cron
syslog 377 0.0 0.1 12704 776 ? Ss Jun17 0:00 /sbin/syslogd -u syslog
root 418 0.0 0.1 12704 700 tty1 Ss+ Jun17 0:00 /sbin/getty 38400 console
root 420 0.0 0.1 12704 704 tty2 Ss+ Jun17 0:00 /sbin/getty 38400 tty2
root 1952 0.0 0.2 74180 1200 ? Ss Jun17 0:01 /usr/sbin/apache2 -k start
www-data 1955 0.0 0.1 73912 528 ? S Jun17 0:00 /usr/sbin/apache2 -k start
www-data 1958 0.0 0.3 549664 1912 ? Sl Jun17 0:00 /usr/sbin/apache2 -k start
root 3791 0.0 0.1 60588 868 ? Ss Jun17 0:01 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 3792 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3793 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3794 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
www-data 3795 0.0 0.0 60588 432 ? S Jun17 0:00 php-fpm: pool www
root 5851 0.0 0.6 83564 3412 ? Ss Jun17 0:01 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 18687 0.0 0.4 49988 2548 ? Ss Jun17 0:00 /usr/sbin/sshd -D
root 22093 0.0 0.0 17184 452 ? S Jun17 0:00 upstart-udev-bridge --daemon
root 22095 0.0 0.1 21708 752 ? Ss Jun17 0:00 /sbin/udevd --daemon
root 24922 0.2 0.6 71312 3532 ? Ss 13:20 0:00 sshd: adrian [priv]
adrian 24934 0.0 0.3 71312 1788 ? S 13:20 0:00 sshd: adrian@pts/0
adrian 24935 0.0 0.4 19628 2120 pts/0 Ss 13:20 0:00 -bash
root 24945 0.5 0.3 37836 1832 pts/0 S+ 13:20 0:00 sudo ps axuww
root 24946 0.0 0.2 16828 1248 pts/0 R+ 13:20 0:00 ps axuww> < /pre >
didn't seem to work!
Ok, remove the space between "<" and "pre" and ">"
webmin installed?
yes
Yep, realised just after! Thanks. And previewing is a good idea too!!
And what does "top" show, especially for the first few lines that show the memory usage?
Also these "getty" processes shouldn't be there, the OS template is stupid.
Top printout
https://copy.com/DSDLx8EaOYlI
There is no good reason why 512mb would not install a LAMP stack. I install apache and MySQL on 512mb or less at least once a week. In their default configuration. If it's a fresh OS install and the system is clean, the host needs to address this.