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?

link|improve this 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 – Eli Aug 25 '11 at 20:15
feedback

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

This question is unlikely to ever 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. See the FAQ for guidance on how to improve it.

1 Answer

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.).

link|improve this answer
feedback

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