> Am 10.12.2024 um 21:09 schrieb Implausibility <open...@hottub.ca>:
> 
> I'm wonder if there's a way to estimate if the server I have will meet the 
> needs of these sites -- the stack I'm using is vanilla 7.6 plus MySQL, Nginx, 
> PHP8.3+FPM, and OpenSMTPd.  The hardware is two-cores of Intel CPU @ 3Ghz, 
> 4GB RAM, and about 50GB of SSD.  It's shared architecture, so I know I'm at 
> the mercy of other users, although these are *supposed* to be guaranteed to 
> be available to me at all times.

For a low-traffic site that should be fine.

The actual disk footprint depends on your needs of course. Only you know what 
those are. How big are your DocumenRoot directories, databases and mailboxes?

It may make sense to partition the disk manually so that e.g. MySQL (MariaDB?) 
and the webserver have enough space in /var and OpenSMTPd has enough space in 
/var/mail and /home. Just make sure /usr/local is big enough for all your 
installed ports with some space to spare and I have done well with a swap 
partition equal to the RAM size. Also make sure you have enough reserve space 
to comfortable do future OpenBSD upgrades. I made that mistake on one of my 
test VMs which is still stuck at 7.4 because sysupgrade + pkg_add -u fails due 
to disk space limitations. I needed to recreate that VM using a bigger virtual 
disk. (Good thing my hypervisor allows for Snapshots ;-)


HTH
Mike

Reply via email to