Ok, I have changed MPM back to prefork, and I have changed my apache
configuration to:
<IfModule mpm_prefork_module>
LoadModule rivet_module modules/mod_rivet.so
RivetServerConf MpmBridge prefork
</IfModule>
<IfModule mpm_worker_module>
LoadModule rivet_module modules/mod_rivet.so
RivetServerConf MpmBridge worker
</IfModule>
<IfModule mpm_event_module>
Error "mod_rivet does not support the event mpm."
</IfModule>
And I think I am back to normal. And next time the OS changes the MPM, I
will get at least an error while loading apache...
Best regards,
George
Στις 23/1/2018 16:24, ο Georgios Petasis έγραψε:
I thought I was using worker, but now I see that Fedora 27 has
switched by default to event...
So, it is using event (which is a HUGE problem - tdbcmysql is NOT
multithreaded)
How can I check what mpm is rivet using?
George
Στις 23/1/2018 15:54, ο Massimo Manghi έγραψε:
what MPM (and bridge) are you running?
-- M
On 01/23/2018 01:56 PM, Georgios Petasis wrote:
Hi all,
I have recently updated my OS (from Fedora 26 -> 27), and I have
trouble getting my web apps online again.
Initially, tdbcmysql was failing, but I have solved that, it works
now. In the process, I have updated rivet to the latest version, 3.0.0.
After restarting apache, it seems to work for a while. But then,
after a while, I start getting an error in the apache log, that
tdbcmysql cannot connect to mysql (due to too many connections).
The problem I see, is that the global init script is called all the
time. I was expecting to be called once for each worker. My
configuration includes:
<IfModule prefork.c>
StartServers 1
MinSpareServers 2
MaxSpareServers 10
ServerLimit 18
MaxClients 18
MaxRequestsPerChild 200
</IfModule>
So, I don't expect more than 18 servers. However, after a while (1-2
minutes) the number of clients connected to mysql exceeds 151.
How can I debug this? If I start the server with "httpd -X" the
problem does not show up.
Best,
George
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org