Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm gonna get a new vps, I'm gonna probably need 1 TB of bandwidth, around 20GB - 25GB of disk space - it's a php-mysql website, the php script itself is about 300kb but there will be many videos on the site.

I'm not gonna install a cpanel or any hosting panel coz they use a lot of ram, I'm gonna have a centos vps, with ffmpeg, lamp, BIND, vsftpd, and some libraries which may be needed with ffmpeg

how to estimate the ram usage so i can get the best vps for my needs? I already know from where I'm gonna get my vps, I don't know which one to choose yet

and I would like you to teach me how to estimate ram usage. Thank you in advance

one more thing, is it good if i choose Lighttpd or Nginx instead of apache? coz apache uses a lot of ram, but then do i need to modify my script or not to work with them?

share|improve this question

closed as too localized by mailq, Ben Pilbrow, Shane Madden, Sven, Zoredache Aug 25 '11 at 19:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What exactly are you going to be doing with ffmpeg? Manipulating a media file is almost certainly going to be resource intensive. – Zoredache Aug 25 '11 at 19:53
FYI. The easiest way to estimate it, is to try it on a test box and see what happens. – Zoredache Aug 25 '11 at 19:54
@Zoredache ffmpeg is ffmpeg lol :D i use it to convert video files to flv :D – Lynob Aug 25 '11 at 20:15
up vote 1 down vote accepted

Test it in a local VM. Memory usage is more or less independent of file sizes (especially on the size of the program files), instead it depends on how it's used (number of concurrent connections, database queries, RAM usage per user of your PHP scripts etc.).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.