Re: [Tiki-devel] PHP-FMP multiple php version, virtualmin and resources

Bsfez Tiki via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Joe from Virtualmin staff completed the answers:


Postfix may be useful for sending email from apps or system notifications.

Dovecot and SpamAssassin do not need to be running on a system that is not receiving or processing mail.

So I (we) know what we can get ride of.

B

> On 11 May 2021, at 14:39 , Jonny Bradley via TikiWiki-devel <[email protected]> wrote:
> 
> Thanks Bernard
> 
> There also is a minimal install option which i think excludes the mail server, spam-assassin etc
> 
>    https://www.virtualmin.com/documentation/installation/automated#toc-full-install-vs-minimal-install-oBwnbmEV
> 
> (don't we need postfix to send notification emails out?)
> 
> jonny
> 
> 
>> On 11 May 2021, at 12:32, Bsfez Tiki <[email protected]> wrote:
>> 
>> Back with answers from virtualmin forum;
>> 
>> We need to keep alive only what we need. We can shutdown, shutdown and keep down or purge:
>> 
>>> For all of my servers, I usually go with the “apt purge” approach but if you are unsure, you can just go with the Webmin > System > Bootup and Shutdown > Tick the phpXX-fpm you want to disable> Disable Now and On Boot approach as well.
>>> 
>>> Only difference is that the Bootup and Shutdown approach won’t delete any files and dependencies of the disabled fpm version and you can re-enable them at any time without having to reinstall the extension and it’s dependencies again.
>>> 
>> 
>> —
>> 
>> By the way I checked other things like mail stuff (I don’t use mail on most of my servers)
>> 
>>> Dovecot and Postfix are installed and running on the server whether you enable them on your virtual server or not.
>>> 
>>> You can disable them in Webmin/System/Boot Up and Shutdown
>>> 
>>> Simply shut them down and uncheck the “start on startup” and they’re disabled.
>>> 
>> B
>> 
>> PS: I need to check Tiki sending mail after I shut them down to be sure….
>> 
>> 
>> 
>>> On 10 May 2021, at 14:25 , Jonny Bradley via TikiWiki-devel <[email protected]> wrote:
>>> 
>>> Have wondered the same, and i have 7.0 and 7.1 lying around doing nothing too :p
>>> 
>>> jb
>>> 
>>> 
>>>> On 10 May 2021, at 09:46, Bsfez Tiki via TikiWiki-devel <[email protected]> wrote:
>>>> 
>>>> Hello devs,
>>>> 
>>>> This is not directly related to Tiki but we are a few now using Tiki, Debian, MariaDB and Virtualmin so may be others have ideas and it may also help more people.
>>>> 
>>>> Since a discussion we had during a meeting (TRM I think) I switch from PHP-CGI to PHP-FMP and performance were largely improved.
>>>> Also, with Virtualmin you can run several PHP version + Virtualmin installs/update the version it needs.
>>>> 
>>>> Now I check a server and I see a lot of the memory is used by several PHP-FMP process and that I have a lot of PHP servers running.
>>>> PHP-FMP 7.2.x
>>>> PHP-FMP 7.3.x
>>>> PHP-FMP 7.4.x
>>>> PHP-FMP 8.x
>>>> 
>>>> All this on a server I have now a single Tiki22 running… while I need to keep the PHP version Virtualmin it seems I can spare some resources.
>>>> I think that I could keep alive 7.4 (for the domain) and 8.x (for virtualmin).
>>>> 
>>>> Is shutting down at bootup the other php services safe ?
>>>> (IE: php7.2-fpm, php7.2-fpm.service, etc) at Webmin => Bootup and Shutdown
>>>> 
>>>> Does anyone has experience with this ?
>>>> 
>>>> Bernard
>>>> _______________________________________________
>>>> TikiWiki-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> TikiWiki-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>> 
> 
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.