How much RAM do I need exactly?
The question is, how much RAM do I need? Disk space is trivial, since I don't forsee getting more that a few gigs of space filled up in the first place. However, I'm really worried about RAM. How much do I need?
Thanks!
7 Replies
running a php powered site shouldn't take more than 100MB (depending on your exact setup, all depending on choice of web server, cache, DB, etc etc) so that leaves you with about 200 MB for your game server.
you probably have a test setup at home, no ?
so go and check how much resources it needs and then see if that fits into a Linode 360 if you subtract the memory needs for the web server.
$ free -m
total used free shared buffers cached
Mem: 360 338 21 0 6 246
-/+ buffers/cache: 85 274
Swap: 255 0 255
MySQL is probably the biggest chunk out of that 85MB. The system also runs sshd and Postfix, but these contribute minimally to memory usage. I don't think I've ever seen swap get touched.
Of course, your results may vary based on differences between phpBB and PunBB and on traffic load (this server sees ~10,000 pageviews/day and ~45,000 raw hits/day).
@batterytime:
In that case, if the 360 is not enough, I'll stick with my current plan: using my own personal computer as the game server. (which is really, really not what I want)
Apache, PHP, sshd, Postfix, Dovecot:
jed@lachryma:~$ free -m
total used free shared buffers cached
Mem: 349 171 177 0 28 98
-/+ buffers/cache: 44 304
Swap: 511 0 511
360 stretches.