Le 17/03/2015 11:06, Sven Schwedas a ?crit :> Not really an option : :-) > total used free shared buffers cached > Mem: 496 470 25 0 58 82 > > That's why I'm targetting the chroot > You won't be able to run a usable file server *and* DC on this little > resources anyway. That's barely enough to run either? >I'm sucessfully running a fileserver on it, just wanting to avoid issues in case of network link outage. DC overhead shouldn't be that huge since it is only used uppon session opening (we can upgrade memory though)
On 2015-03-17 11:13, S?bastien Le Ray wrote:> Le 17/03/2015 11:06, Sven Schwedas a ?crit : >> Not really an option : :-) >> total used free shared buffers cached >> Mem: 496 470 25 0 58 82 >> >> That's why I'm targetting the chroot >> You won't be able to run a usable file server *and* DC on this little >> resources anyway. That's barely enough to run either? >> > > I'm sucessfully running a fileserver on it, just wanting to avoid issues > in case of network link outage.So your users, which cannot connect due to network link outage, won't be prevented from logging in? Sounds like a splendid idea.> DC overhead shouldn't be that huge since it is only used uppon session > opening (we can upgrade memory though)Upgrade the memory and put DC and file server into separate VMs. It'll save you a lot of headaches. -- Mit freundlichen Gr??en, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167 http://software.tao.at -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150317/7b82a372/attachment.pgp>
Le 17/03/2015 11:25, Sven Schwedas a ?crit :> On 2015-03-17 11:13, S?bastien Le Ray wrote: > >> I'm sucessfully running a fileserver on it, just wanting to avoid issues >> in case of network link outage. > So your users, which cannot connect due to network link outage, won't be > prevented from logging in? Sounds like a splendid idea.My users will be able to open a session during network outage and access to files stored locally in the agency. Yes it seems a good idea to have people being able to work while connection with main site is down.> >> DC overhead shouldn't be that huge since it is only used uppon session >> opening (we can upgrade memory though) > Upgrade the memory and put DC and file server into separate VMs. It'll > save you a lot of headaches.The server isn't able to support virtualization. Now my question is about issues caused by running two samba instances on the same box using a chroot. If you don't know what these issues are, simply don't answer to the mail
On Tue, 17 Mar 2015, S?bastien Le Ray wrote:> Le 17/03/2015 11:06, Sven Schwedas a ?crit : >> Not really an option : :-) >> total used free shared buffers cached >> Mem: 496 470 25 0 58 82 >> > I'm sucessfully running a fileserver on it, just wanting to avoid issues in > case of network link outage. > DC overhead shouldn't be that huge since it is only used uppon session > opening (we can upgrade memory though)I upgraded one of my DCs from 2GB of ram to 8GB because it was occasionally running out of RAM and crashing, which was not a problem I saw on my other DCs with more RAM. That was earlier in 4.1.x, so it's possible memory usage has improved somewhat, but I wouldn't count on it running reasonably in 512MB. Looking at my DCs, they are running 13 "samba" (not smbd) processes which are around 40MB RSS each. This is clearly not going to work well in 512MB of RAM, especially with anything else (such as smbd) running on the machine. That's not including a DNS server, as I use BIND DLZ (which is using another 80MB RSS. Beyond that, the reason running a DC on a fileserver is considered harmful is just because of the built in winbind on DCs in 4.0/4.1. I believe this should be fixed in 4.2. Also, you can run sssd instead of winbind, which will avoid the problem. So it should be doable if you upgrade the memory, but I wouldn't even attempt it without at least 1GB of RAM, preferably more.