All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
99 views

Apache creates ~3x as many threads as MaxRequestWorkers

I'm hosting a non-profit community wiki for the upcoming video game Baldur's Gate 3. Since it looks like the game is likely to have millions of players, we started worrying about server capacity. I'm ...
TaylanKammer's user avatar
1 vote
0 answers
470 views

MAMP Websites taking more than 20-25 secs to load, but sometimes

I'm using MAMP Pro on my Mac (Monterrey) and since a couple weeks I've been having a strange problem. After several tests I've been unable to find out where the problem is, but this is what happens. ...
Arturo's user avatar
  • 11
0 votes
0 answers
206 views

Poor server performance on Linux Ubuntu 20.04 with PHP-FPM, MySQL, and Redis Server installed

My client’s server has recently started having performance issues. The single website hosted on the server loads very slowly. It is built with WordPress using a custom theme. There are a minimum ...
Mike Hermary's user avatar
0 votes
1 answer
2k views

WordPress with Nginx + PHP-FPM sometimes slow where slowlog pointing to wp-config.php (PHP 8.1)

I have a recent WordPress 6 installation with MariaDB and PHP 8 FPM running on Docker. Sometimes, request on the frontend have a slow response time on the main HTML document. In this example, one of ...
Lion's user avatar
  • 506
0 votes
1 answer
1k views

Why is my Laravel App having 3+ seconds TTFB in Production?

I've looked around but can't find a definitive answer on if things like Images affect TTFB which would be my best guess as to why my site is taking so long to load in production. After the page is ...
dan178's user avatar
  • 113
0 votes
0 answers
827 views

PHP+Nginx response time too much

I'm running a php-fpm server behind an nginx reverse proxy which is simply serving phpinfo to benchmark the response time. The response time (using postman) for the phpinfo page is around 150ms which ...
Ryan's user avatar
  • 1
0 votes
1 answer
50 views

Server settings to improved Wordpress backend speed

You know how it is, caching plugins only make the front-end move faster but when you're logged in and browsing the wp-admin section, the Wordpress site grinds to a halt. I'm trying to increase some ...
user5248's user avatar
  • 103
-1 votes
1 answer
256 views

PHP performance improvement for 32GB RAM

I have two EC2 instances. One with 1GB RAM and 1vCPU and the second with 32GB RAM and 12vCPU. I am running a script on cron job but I still have the same performance in both. I tried changing ...
Karthik Malla's user avatar
0 votes
0 answers
587 views

Apache+mod_php so slow

I have a problem setting up my Apache server with mod_php. I have a website whose index.php page is generated in ~200ms. But Apache serves it in about 1.5sec. Why is this slowdown taking place? If ...
Max Cruer's user avatar
0 votes
0 answers
239 views

What could cause processes to not be active

Running linux and executing a bunch of PHP scripts. I noticed that our CPU usage was pretty low but many processes were sleeping, so started investigating. AWS EC2 with an S3 bucket. I can't seem to ...
D.Mill's user avatar
  • 379
0 votes
1 answer
62 views

Tools for testing all aspects of service speed

We have some strange issues on our CentOS LAMP server where there are occasional severe 4-30 second delays in service despite the server being relatively low load at the time. Is there any tool for ...
cronoklee's user avatar
  • 135
0 votes
1 answer
1k views

Very bad ImageMagick resizing performance after upgrade from PHP 5.5 to Docker + PHP 7.4

I’m upgrading some system from PHP 5.5 (installed directly on AWS EC2), to PHP 7.4 in Docker (running on AWS EC2 using Docker Compose). The performance for image resizing using ImageMagick has ...
Jonathan's user avatar
  • 401
3 votes
1 answer
4k views

Pages load only when you restart php-fpm

So here's more context in a GIF Notice how pages do not load on link clicks, but as soon as you run service php7.2-fpm restart it instantly loads the page and like that with every page. What is ...
user3108268's user avatar
-2 votes
1 answer
72 views

Buy new VPS just for Mysql or upgrade current one and keep the whole stack on the same server [duplicate]

This is not a question about capacity planning, its about mysql performance over local network vs on the same virtual machine (where it needs to share cpu with other processes) I have a wordpress+...
Nocte 1337's user avatar
0 votes
0 answers
27 views

Server response take time when same User open 2 same links

I am providing API service, My Site response is Fast, but when user open 2 same links at same time, then the server open the request and holds it from 20-50 seconds... Using WHM-Apache, mySQL. ...
asad app's user avatar
  • 101
1 vote
1 answer
72 views

Why is upload way faster and more alternating in speed than download on local machine

I am writing a speed test to determine browser-server connection speed (js+php but I don't think it matters). I send a bunch of data-packages in different sizes and measure the time they need to reach ...
Paflow's user avatar
  • 183
3 votes
2 answers
4k views

php-fpm: why do I have a process memory usage higher than memory_limit

I know that there are a lot of related subjects, but I did not found my answer. I have a dedicated server with 32Go of RAM (but I want php-fpm to use only 12Go max), and I have a php-fpm (7.2.13) ...
HawkLiking's user avatar
1 vote
0 answers
2k views

PHP-FPM - performance tuning and CPU usage

I have a web application written in Laravel / PHP that is in the early stages and generally serves about 500 - 600 reqs/min. We use Maria DB and Redis for caching and everything is on AWS. For ...
djt's user avatar
  • 111
-1 votes
1 answer
1k views

Can my server handle 12,000 database requests per-minute? [duplicate]

First of all, Apologies if this is a silly question. I've never really had to manage servers and databases, on a "large-scale", that is. ANYWAY, on to the question. I am trying to figure out if our ...
Joe's user avatar
  • 1
0 votes
1 answer
834 views

Apache-PHP slow page in one virtual host causes performance degradation or timeout on other

I have multiple PHP applications running under different virtual host on an Apache server. Each application uses MySQL as backend. Each application uses different MySQL servers in the same data center....
Rohith's user avatar
  • 101
0 votes
1 answer
491 views

Why does WordPress on 3 load balanced EC2 servers run out of memory/fpm child processes and crash?

The problem: 30-40 minutes after pointing the DNS from our old server towards our new server, all available memory gets used up and our (3) load balanced EC2 instances crash. To make matters worse, ...
rugbert's user avatar
  • 93
0 votes
1 answer
3k views

Slow TTFB in a single WordPress site in a Nginx environment on DigitalOcean (20$)

On an all default Ubuntu 16.04 Nginx environment hosted on a 20$ DigitalOcean droplet I have only one WordPress site with a small amount of data: About 10 webpages, 10 images (around 100kb each), and ...
Arcticooling's user avatar
0 votes
1 answer
9k views

PHP loads slow on nginx server

I have a php application with 815k monthly unique users which loads pretty fast on my dev machine ( around 600 ms for the home page ), and used to load fast on the production server. I am not a ...
Kamal 's user avatar
  • 121
0 votes
1 answer
5k views

Is it advised to close MySQL connection after every query

I have some sort of web crawler with PHP, which crawls the web and stores information about the pages in the database, now the thing is, loading pages takes a lot of time, and on top of that my script ...
AL-Kateb's user avatar
  • 333
2 votes
3 answers
582 views

Debugging MySQL performance issues

I work on a WordPress site that gets roughly 100K page views per day. We use Varnish for a caching layer. Recently, we've been running into a problem where, seemingly at random, MySQL performance ...
DiscoInfiltrator's user avatar
1 vote
0 answers
920 views

Outbound requests from PHP 7 (but not PHP 5) are very slow

I have both PHP 7.0 and PHP 5.6 installed on my server (it's a dedicated server with plenty of resources), and outbound requests are very slow when made through PHP 7, but not when made through PHP 5. ...
JackW's user avatar
  • 261
2 votes
1 answer
1k views

php window 4~5 times slower in windows than linux

I have a site deployed to both Windows server 2012 and ubuntu 14.04 and there is a significant performance difference. The code base and DB data is exactly the same. Windows environment Windows ...
Brian Lai's user avatar
1 vote
0 answers
619 views

Redis Performance Tanks as Number of Nodes Increases

Strange problem. We have 6 nodes behind a loadbalancer. They are high-spec VPSes running Ubuntu. On a separate node we run Redis. Further nodes run MySQL. The whole LAMP setup hosts Magento. ...
JayMcTee's user avatar
  • 3,941
3 votes
3 answers
528 views

Disk I/O and load average peaks once every hour

We have updated our server from Debian Wheezy to Jessie and from php5.6 to php7.0, but now we have a disk I/O and load average peak exactly every hour. The exact time depends on the system start time. ...
dima_mak's user avatar
  • 125
1 vote
0 answers
333 views

httpd processes cpu spike to 100%+ every xx seconds

My first post, unfortunately due to an issue on my dedicated (Linux Centos 6) server running some personal and one commercial website. Server version: Apache/2.4.18 (Unix) Server built: Mar 7 2016 ...
Krispy Brown's user avatar
0 votes
1 answer
107 views

Managing sudden peak in traffic for event ticketing system

I am going to be managing an event ticketing system for a specific event. I think we will probably be expecting generally low traffic, although there's likely to be a few sudden peaks of traffic (to ...
Andrew's user avatar
  • 1
5 votes
1 answer
6k views

php-fpm and nginx @ high CPU usage?

My server is with DigitalOcean with the following plan: 2 Core Processor 2 GB Memory My website is receiving thousands of visitors, however, both CPU cores are @ 100%: The issue seems to be with ...
user5865490's user avatar
-1 votes
1 answer
129 views

Synchronize Staging Server and Live Server [closed]

We have staging and live server at our office. Where Live code and DB changes are far more advanced than staging one.This application developed under php and DB is mysql. Earlier we used to work in ...
Siddeshwar Vanga's user avatar
-1 votes
1 answer
922 views

Compiling nginx and php

Im about to set up a basic web server based on ubuntu server 14.04 x64 with an online shop section, the server will also consist mysql, mail, and maybe other servers as well until it runs smoothly. ...
Tailor's user avatar
  • 3
0 votes
1 answer
746 views

Is it safe and efficient to install HHVM on top Apache server with nginx as reversed proxy?

I've been trying to optimize my VPS for WordPress performance, and today, I decided to take it to a new level: I'm thinking about installing HHVM. Server status: My server runs Apache, and I have ...
user3622260's user avatar
6 votes
2 answers
912 views

Odd performance fluctation with php-fpm and nginx

I'm running a load test against a web service. It's a php application running on php-fpm and nginx, with fastcgi. There is a MySQL backend being used for small reads only. Invariably, I'm seeing a ...
Cera's user avatar
  • 553
0 votes
1 answer
764 views

Is there anyway to find what php scripts consume more resources

I want to easily find load cause, Is there a way to display resource usage for php scripts like this. Cpu: index.php 30% something.php 10% ... memory: index.php 50% something.php 10% ..
Mehdi Azizi's user avatar
0 votes
3 answers
859 views

Trying to find bottleneck... 60k onsite visitors

I know this will be hard, but I'm willing to try the Q&A route. I have a Wordpress site that currently has 60,000 visitors on the site at once. I'm using an EC2 m3.xlarge, php/php-fpm 5.5.10, ...
Tallboy's user avatar
  • 179
0 votes
2 answers
643 views

How to tell which script is slowing down the server the most?

As it happens often to coders, I had to take over someone else's code for this company, the server runs on Amazon Cloud (i2.xlarge) running ubuntu-saucy-13.10-amd64-server. (the guy left) The ...
Drace's user avatar
  • 175
0 votes
1 answer
120 views

Website is slow without https

As you can see, http://coinad.com/ is slow, and https://coinad.com/ is fast. I've upgraded the server, reviewed the code, optimized the tables and anything seems to work. This is driving me mentally ...
user2536244's user avatar
4 votes
4 answers
9k views

How to troubleshoot performance issues of PHP, MySQL and generic I/O

I have a WordPress based website running on a shared hosting. Its response time is very decent (around 2s to retrieve the HTML page and 5s to load all the resources). I was planning to move it to a ...
2 votes
2 answers
2k views

With PHP installed, Apache is (comparatively) slow at serving static content?

First some background on how I installed PHP, Apache, and some Apache modules: # apt-get -y install php5 php-pear libapache2-mod-php5 php-apc php5-mysql php5-mcrypt php5-xmlrpc php5-curl php5-imagick ...
its_me's user avatar
  • 225
0 votes
2 answers
2k views

Windows Server 2008 R2 running PHP poor performance

At work we have a Windows Server 2008 R2 setup as webserver. We have IIS installed and with the Web Platform Installer we have installed PHP. The problem now is, the performance of the server is ...
Crinsane's user avatar
0 votes
0 answers
139 views

PHP POST and file upload size limit for 500 bytes [closed]

I have a weird problem, I try to post contents or upload files by php to my server (I have access to the server settings). After submitting the form it sleeps for a while then shows a page loading ...
Ahmad's user avatar
  • 227
3 votes
1 answer
3k views

Too many apache processes in D state

Please see the following screenshot. There are too many apache processes all in D(disk sleep) state with very high ram usage. Is there a way to know what's causing these processes to stay in D state ...
hpn's user avatar
  • 165
0 votes
1 answer
83 views

Any possible side effect to use APC on shared host? [closed]

I'm using a shared host for a CMS site. This shared host has an option to use "APC". I just tried this option on a test site as it can be enabled just by one click on my account page of the shared ...
Sona7's user avatar
  • 9
0 votes
1 answer
126 views

SSL secured account section, Subdirectory vs Subdomain [closed]

I'm currently running Drupal on an nginx server, and I also have a separate user account system running on account.domain.com. I purchased a wildcard SSL certificate to protect the login form, but the ...
Bob's user avatar
  • 123
7 votes
1 answer
4k views

Does APC really improve performance with PHP 5.3+

According to a Linux Adminstrator over at Hostgator: With PHP 5.3 having APC installed is not needed as PHP 5.3 already has improvements that APC does resolve in it. Is that statement actually ...
Ch-C's user avatar
  • 73
2 votes
3 answers
777 views

How do I improve the performance of my Drupal site with a lot of concurrent users?

I have a Drupal site that may receive a very high hit rate on launch. We've rented a very beefy server for the initial launch, after which we'll downscale. The server has a Xeon E5-2670 8 core ...
George's user avatar
  • 123
1 vote
4 answers
488 views

Web server response time variability

I have Apache2 Web server and tiny PHP script <?php echo '1' When refreshing page the waiting time value in Google Developers Tools can vary from 24-26 ms to 300-350 or somtimes it is even more ...
zavg's user avatar
  • 123