V
V
VK2017-01-03 22:58:04
PHP
VK, 2017-01-03 22:58:04

How much RAM does a VPS need?

Friends, there is a VPS with 256Mb of RAM. It's currently running Debian 8.0 x86_64 and OpenVPN, the panel shows:
120.2 MB of 256 MB Used / 135.8 MB Free
Will I have enough RAM if I install apache + php + mysql?
The load on the server is supposed to be scanty - a bot in php for telegram.
If absolutely necessary, you can abandon mysql and store data in files.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Eugene Volf, 2017-01-03
@VladimirKokarev

Will the remaining RAM be enough if I install apache + php + mysql?

In order for it to start - I think it's enough.
Why do you need Apache or even a web server? Run the script from the console. You can try PHP's built-in web server .
With a strong need, and in its absence too, you can abandon MySQL and store data in SQlite3 .
PS
panel shows: 120.2 MB of 256 MB Used / 135.8 MB Free
The only thing that confuses me is how and why you managed to screw the panel onto a server with 256MB of RAM :)) But... this is basically irrelevant, just thinking out loud.

N
nllm, 2017-01-03
@nllm

Why apache? Install nginx + php-fpm

H
hostwell, 2017-01-04
@hostwell

Enough, 100%, with a small number of requests to the web server

Z
zooks, 2017-01-04
@zooks

Of course it depends on the configuration. But the minimum you need to take is 512 MB.
Normal requirements - from 1024 MB. Apache eats memory, so it can be thrown out in favor of nginx + php-fpm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question