We use APC ver 3.0.19 for accelerating PHP in SLES. I did download the source and built it manually. Works good, and it increases performance with about 5-10 times. That might do it so you can avoid using worker MPM.
_________________________________________________ Tore Agblad System programmer, Volvo IT certified IT Architect Volvo Information Technology Infrastructure Mainframe Design & Development, Linux servers Dept 4352 DA1S SE-405 08, Gothenburg Sweden Telephone: +46-31-3233569 E-mail: [email protected] http://www.volvo.com/volvoit/global/en-gb/ -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Mauro Souza Sent: den 31 augusti 2011 19:53 To: [email protected] Subject: Apache worker on SLES11 Hi guys! I have a client needing to support about 1000 clients on an Apache2 running on SLES11. Apache currently is using mpm-prefork, and supporting 100 active clients at max. They use PHP, mysql and postgres on the web site, and we are doing a PoC here. Apache is currently using about 60MB per instance, and even if I had not looked into the config file to disable a lot of unused modules in the default config, I think I cannot get the httpd memory usage down to 6MB. My idea was to configure Apache worker, use php-zts and fast-cgi, but I've just found that SLES11 doesn't have php-zts. On Novell's documentation (http://bit.ly/nKgBFl), I've found this: "WARNING: Using PHP Modules with MPMs Not all available PHP modules are thread-safe. Using the worker MPM with mod_php is strongly discouraged." The _strongly discouraged_ part of it is the problem. There's something I can do about it? Mauro http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
