Hello, whats your pool config? Opcache type? other caches? if restarting php-fpm helps, then maybe you shall try pm.max_requests = 50 for pool config? or maybe even lower value to auto-restart php processby Sylvia - Php-fpm Mailing List - English
Hi. Maybe you need Tengine, its a fork of NGINX http://tengine.taobao.org/ ~GLby Sylvia - Nginx Mailing List - English
opcache memory pool is shared between all poolsby Sylvia - Php-fpm Mailing List - English
Hello. Doesnt robots.txt "Crawl-Delay" directive satisfy your needs? Normal spiders should obey robots.txt, if they dont - they can be banned.by Sylvia - Nginx Mailing List - English
Hi. You can try to run a diagnostics for problem discovery and recommendations https://www.ssllabs.com/ssltest/by Sylvia - Nginx Mailing List - English
hello. try to check with slowlog enabled request_slowlog_timeout = 15s slowlog = /var/log/php-slow.log this will trace php code that is executed longer than timeout.by Sylvia - Php-fpm Mailing List - English
Hi. If you compile nginx yourself, its not necessary to update system libraries You can use openssl 1.0.1 source and use --with-openssl=/var/tmp/openssl-1.0.1e switch to configure options, where folder is the path where you unpacked the source, nginx will configure and compile openssl as static library while building nginx and then will link it into nginx ~GLby Sylvia - Nginx Mailing List - English
Hello. You can use php-fpm's access_log for logging execution, memory, execution times, etc Something like this for pool's settings will go: access.log = /var/log/php-acc-$pool.log access.format = "%R %u %n %t %s %f %{mili}d %{kilo}M %C%% \"%m %r%Q%q\""by Sylvia - Php-fpm Mailing List - English
download, put file into target machine install/upgrade with dpkg -i <packagefile>by Sylvia - Nginx Mailing List - English
Hello. It works like this: 1. accept tcp connection 2. establish ssl session a) presenting first certificate b) optional: present 2nd certificate for desired virtual host via SNI extension 3. NPN (next protocol negotiation), enabling SPDY ------- 4. requesting content i dont think there is a way to use spdy per location, only per (virtual) server.by Sylvia - Nginx Mailing List - English
regarding recompile question: SPDY is supported with OpenSSL 1.0.1 so if your distro using earlier version, SPDY will not be supported, you can check "nginx -V" if SPDY been enabled. When recompiling you can use openssl source package and link it statically to nginx if needed --with-http_spdy_module --with-openssl=/path/to/unpacked/source/openssl-1.0.1eby Sylvia - Nginx Mailing List - English
>use unix socket instead can alternatively use password auth for tcp, however on a single machine unix socket with proper permissions will be better. but ... even a chroot in php-fpm cant prevent from script path smashing and variable stealing if you use opcode cache/variable cache, since a large amount of data is shared between all instances of php :/by Sylvia - Php-fpm Mailing List - English
hi. nginx.conf: client_max_body_size 42m; php.ini: memory_limit = 64M post_max_size = 40M upload_max_filesize = 32M it works fine for me with that settings. I havent speficied any timeout settings you used. Have you edited php.ini for php-fpm? If not - default upload file size is 2Mby Sylvia - Nginx Mailing List - English
Hi fpm workers share APC cache between them, memory is added to RES and SHR, looking at the usage it seems you have about 128 Mb (maybe a bit more) APC dedicated for opcode and variable caching. If you are affraid that APC is leaking RAM - try flushing its cache from apc control panel and see, you can set pm.max_requests to some reasonable value to make fpm workers restart after serving max requby Sylvia - Php-fpm Mailing List - English
hi. if ($http_cookie ~* "cookie1_|cookie2" ) { блокируете ... }by Sylvia - Nginx Mailing List - Russian
Hi. Are you using Wp-Super-Cache or similar plugin? Check either - 1) disable caching for is_feed 2) Don’t cache pages with GET parameters. (?x=y at the end of a url)by Sylvia - Nginx Mailing List - English
You should NOT use cgi.fix_pathinfo=1 due to security reasons, unless you absolutely sure that your nginx.conf rules will prohibit execution of non existant files such as guest uploaded mycoolavatar.gif/hack.php , where mycoolavatar.gif may contain PHP code which will be executed by php. As for PHPMyAdmin - i dont use any special config for it for nginx+php-fpm, it just works outta tha box )by Sylvia - Php-fpm Mailing List - English
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 providby Sylvia - Nginx Mailing List - English
You shall try php-fpm with ondemand pools, PHP 5.4 support this directive, having a shared pool for different users is not secure.by Sylvia - Nginx Mailing List - English
http://wordpress.org/extend/plugins/nginx-compatibility/ You need this plugin, as WP disables permalinks when there is no Apache's mod_rewrite.by Sylvia - Nginx Mailing List - English
с GCC 4.6.x (x86) -O3 -flto -march=native -mfpmath=sse -fomit-frame-pointer в принципе, если на целевой машине памяти не много, то можно -O2 , на производительности сильно не сказываетсяby Sylvia - Php-fpm Mailing List - Russian
PHP-FPM does not need a separate patch for 5.3 , its included into main PHP distribution config file has been changed from XML to more traditional php.ini-like formatby Sylvia - Php-fpm Mailing List - English
http://wordpress.org/extend/plugins/nginx-compatibility/ try installing this plugin when WP detects nginx and "not compilant" SAPI it assumes that rewrite is impossible and turns it off, this plugins works around that problem. (but do not use it with Apache if you move your WP somewhere else later) ~ cheersby Sylvia - Nginx Mailing List - English
FYI: last version of APC (3.1.9) fixed some memory leaks with FastCGI, I have no issues with php-fpm 5.3.8 and APC 3.1.9 another recomendation - switch to PHP 5.3 if you can, 5.2 branch is not supported anymore, and php-fpm SAPI is now bundled into main PHP (5.3), works fine, just pay attention that config file is not XML anymore.by Sylvia - Nginx Mailing List - English
just to save you time, i'll list what i have in chroot, ssmtp or msmtp set up as mailer for php you can use SMTP settings for php mail() as alternative, or mini_sendmail from ACME Software File list: ./etc/nsswitch.conf ./etc/group ./etc/ssmtp.log ./etc/passwd ./etc/services ./etc/protocols ./etc/resolv.conf ./etc/localtime ./etc/host.conf ./etc/hosts ./etc/networks ./usr/bin/msmby Sylvia - Php-fpm Mailing List - English
You will need basic filesystem layout in chroot: in /etc group host.conf hosts localtime networks nsswitch.conf passwd protocols resolv.conf services notably for resolving: nsswitch.conf resolv.conf and appropriate libraries in lib notably : libnss_dns and libnss_filesby Sylvia - Php-fpm Mailing List - English
I think can give it a try even with 700 hosts, if you have a large swap space and large amount of RAM, it will go, php-fpm processes will not consume that much, they are nicely swappable out of RAM, and they share good amount of memory between processes, dont forget about throwing away unnecessary extensions, it is real to get about 5 Mb per php-fpm fork in active state, and about 200-300 Kb whenby Sylvia - Php-fpm Mailing List - English
1) if you press "1" in top , then it will show load per core, not all-cpu 2) OS taskscheduler must pin php-fpm forks equally to all cores, unless there is something that changes default affinity mask (taskset in launch script for example) 3) finally, forum load is not equal, someone can do cpu loading op (such as searching), while others just view pages (low cpu use) please do bettby Sylvia - Php-fpm Mailing List - English
I'd suggest you to compile APC without mmap, use SHM instead ./configure --enable-apc --disable-apc-mmap --enable-apc-memprotect APC 3.1.7 works fine, not leaking anything with php-fpm 5.3.x apc.enabled = "1" apc.shm_size = "16M" apc.shm_segments = "4" apc.ttl = "90" apc.user_ttl = "300" apc.gc_ttl = "600" apc.cacby Sylvia - Php-fpm Mailing List - English