Welcome! Log In Create A New Profile

Advanced

Re: Is it possible to run a shared php-pool while keeping security?

September 15, 2012 05:24AM
It will need to spawn the pool, if you're on ultra-cheap-ultra-low-powered vps, this can be slow, because of slow cpu, low ram and very small disk cache portion which belongs to your vps, on a dedicated machine with 2 GB ram i dont notice any delays with spawning fpm pools on demand. Anyway i dont see much options for you with 128 Megs, even better configs can be slow, depending on the vps provider and hypervisor they use.

Additional suggestion to you - remove PHP extensions which are not needed

extension=hash.so
extension=session.so
extension=dom.so
extension=xml.so
extension=mysql.so
extension=mbstring.so
extension=zlib.so
extension=gd.so
extension=curl.so
extension=json.so
;extension=bcmath.so
extension=exif.so
extension=mcrypt.so
extension=simplexml.so
;extension=pdo_mysql.so
extension=sysvmsg.so
extension=tokenizer.so
extension=ctype.so
extension=mysqli.so
extension=iconv.so
extension=gmp.so
extension=openssl.so
extension=gettext.so
extension=zip.so

anything except that list is most likely just hogging your RAM )

Make sure to install a PHP opcode cache (not less than 32M), it will hog its own piece of RAM but will decrease RAM consumption for processing scripts, i.e. Wordpress 28 Mb to 4 Mb, eaccelerator still can swap to disk precompiled scripts, therefore (at my look) it will be the best choice (you will need master branch from GIT for PHP 5.4)
Subject Author Posted

Is it possible to run a shared php-pool while keeping security?

zsero September 14, 2012 12:55PM

Re: Is it possible to run a shared php-pool while keeping security?

Sylvia September 14, 2012 01:36PM

Re: Is it possible to run a shared php-pool while keeping security?

zsero September 14, 2012 04:18PM

Re: Is it possible to run a shared php-pool while keeping security?

Sylvia September 15, 2012 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready