0
votes
0answers
29 views

How to correctly recompile PHP?

Using Ubuntu Server 14.04 x64 / PHP 5.5.9-1ubuntu4 (cli) w/ FPM / MySQL InnoDB version 5.5.35 Incredibly frustrated with what was supposed to be a minor issue. Basically, I'm being forced to ...
0
votes
0answers
37 views

User Uploaded Images– Blank Post – Connection reset by peer / FastCGI: incomplete headers

To give a little background, I have a website that permits users to upload images. WordPress is used as a content management system and the posts are immediately published with the image inserted as ...
1
vote
2answers
124 views

tune up performance nginx php-fpm mysql

I am running a nginx+php-fpm+mysql on virtual server with 8 cores and 16G ram My aplication is a simple API provider server, which returns JSONs generated from mysql database on requests. Datasets are ...
1
vote
0answers
26 views

PHP-FPM slowlog and Mysql lost connection

I was having an issue with PHP-FPM and mysql. When I needed to process an input file that would generate several selects/inserts/updates for each line, it would stop after approximately 60s with ...
1
vote
1answer
214 views

Constantly have to reload PHP-FPM

We have a fairly heavily loaded server running nginx and PHP-FPM. We have 6 websites on this server, running PHP-FPM and nginx. Software is all vBulletin 3.8 and Wordpress. Databases are on a separate ...
0
votes
1answer
228 views

Nginx + php-fcgi website loads 4-5 seconds, slow issue

My website started loading for like 4-5 seconds (in peak hours) - it is almost not usable. Traffic: 40MB/s out, 6MB/s in. (almost 95% of out is downloading files 0.5-2GB large). Over 100 simultaneous ...
0
votes
0answers
36 views

Pinpointing PHP performance problems after upgrade

I have done an upgrade of my server from debian 6 to 7.2, along with moving from PHP 5.4 with APC to PHP 5.5 with OpCache and APCu (both running as php-fpm). MySQL and Apache are still the same ...
2
votes
3answers
229 views

Caching PHP pages, Varnish, nginx, other?

I have a web application running on a low end box (1gb RAM), serving a mixture of static and dynamic (php) pages. These PHP pages are querying a MYSQL database which does not change often at all - ...
1
vote
3answers
860 views

PHP5-FPM /var/run/php5-fpm/ directory not found

Today I rebooted my server and PHP5-FPM failed the start due to /var/run/php5-fpm/ not being found. The /var/run/ is cleared on reboot and most services recreate their /var/run/ directories on ...
1
vote
2answers
202 views

Memory adjustments for magento with php5-fpm , Nginx, APC, Mysql

I am using magento with php5-fpm , Nginx, APC, and Varnish. When there is varnish hit, the load time is very good. But on varnish miss, the site takes toomuch time to load. I have seen through htop ...
0
votes
1answer
208 views

OpenVZ with VSwap causes php-fpm/mySQL errors on nginx

I'm running into a rather nasty issue, and hope that anyone here can help me with a possible solution as I'm pretty much brickwalling right now. The situation: I have an OpenVZ VPS that is ...
3
votes
3answers
2k views

NGINX + PHP-FPM + MYSQL - High CPU, Low RAM

All of a sudden our server started to act really weird, extremely high CPU usage and low RAM usage. I've never seen this before and I'm not sure what to do. I feel like if I could get the system to ...
0
votes
1answer
680 views

Install php-fpm + php-mysql + MariaDB on Centos from repos

I try to take CentOS 6.4 x64 and install nginx w/ php-fpm on it (and that's easy part, no problem at all), then add php-mysql package and MariaDB as a mysql drop-in replacement. And here I face the ...
3
votes
0answers
264 views

php-fpm crashing because of to many mysql processes

I have 2 frontend nginx servers going to 4 backend php-fpm servers which all run Wordpress. The php-fpm servers all connect to one MySQL server and I was checking some stats earlier each php-fpm ...
2
votes
1answer
270 views

Linux Nginx + php-fpm + cron + mysqld = always out of memory

I don't get it. I have a VPS with Nginx and php-fpm and MySQL. Should be very lightweight. No Apache, right? When I reboot, it is very lightweight. ~ 50/481 MB MEM usage. Very acceptable IMO. And ...
0
votes
1answer
255 views

Ubuntu 12.04 php5-fpm stopped recognizing MySQL

So this morning I used aptitude to install a few security updates. Seemed innocent enough until stuff stopped working. Somewhere along the way, a few packages got dropped, I guess. Now PHP ...
1
vote
3answers
1k views

webserver horrible slow, sometimes incredible fast

i am running a small community ( 6000+ Members ) on a non-virtual 64-bit ubuntu 11.04 system. I am not a Linux-pro, not even advanced, i just tried to setup a webserver, which does nothing special ...
1
vote
1answer
4k views

MySQL, php-fpm, APC, Varnish and Nginx optimization for WordPress/W3 Total Cache?

I'm setting up my first VPS and it seems to be working well. Installed Nginx, php-fpm (as a unix socket), APC, Varnish and MySQL on Ubuntu 12.04 server with OnApp, and everything works and is damm ...
1
vote
3answers
516 views

MySQL Execution Time Spikes

I am having issues with MySQL all of the sudden today. Details: OS: CentOS release 5.7 Server type: Parallels virtuozzo container running on mediatemple DV 4.0 package Average total memory usage: ...
1
vote
1answer
2k views

Using NGINX + PHP-FPM + MySQL and persistent connection

Can I use persistent connection when using combination of NGINX + PHP-FPM?
0
votes
2answers
518 views

why are there so many connections in MySQL?

We're using Nginx + PHP in fastcgi mode, and using PHP-FPM as cgi process manager. In our scripts we use PDO to connect MySQL and definitely NOT in persistent mode. But recently we found we still ...