All Questions

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

Slowdown in Apache with HTTP/2 when Requesting Small Thumbnails (60KB) via Reverse Proxy to HTTP/1.1 Backend

I am currently running an Apache server with HTTP/2 enabled as a reverse proxy for my web application. I have noticed a significant slowdown when requesting a large number of small thumbnails (each ...
xhighway999's user avatar
0 votes
0 answers
42 views

How to optimise javascript delivery on wordpress / apache / AWS?

I'm down the rabbit-hole of website speed optimization. I have a site that's getting terrible marks from all of the usual suspects (PageSpeed and GT Metrics, specifically; it looks OK on Pingdom tools)...
philolegein's user avatar
0 votes
1 answer
27 views

can http clients configure if they want persistent or non-persistent connections with the http server?

I want to understand, if depending on how client configures the http connection, the server can behave in non-persistent manner or persistent manner, so in effect some clients can connect in ...
BioLogic's user avatar
0 votes
2 answers
489 views

Does http protocol standard support long polling?

I recently read about long-polling concept which can be used with http. I want to understand, if any http protocol standard itself supports long-polling concept, so that depending on how client ...
BioLogic's user avatar
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
0 votes
0 answers
71 views

1gb vs 10gb uplink in terms of TTFB

I am about to setup a new dedicated server, I have the option of 1gb vs 10gb uplink with a considerable price difference. I do only have 10 domains on this sever and traffic is not huge. However, on ...
TAPIO's user avatar
  • 1
26 votes
4 answers
7k views

Is it reasonable to use NFS on a production web server?

Can NFS be reasonably used on production servers as a means of connecting a compute server to a storage server, assuming the connection is over a LAN 1Gbe or 10Gbe connection? There's obviously some ...
Makoto's user avatar
  • 371
6 votes
2 answers
2k views

Why are concurrent downloads faster

Many download managers like this, this and this support downloading a file over multiple parallel connections, one per thread. The concept is that each connection will download one part of the file ...
Anmol Singh Jaggi's user avatar
0 votes
2 answers
946 views

Slow initial connection to database (php / mssql)

Our webserver and database server are on a local network and the webserver uses an IP address to connect to the database. $con = new \PDO('sqlsrv:Server=10.200.2.1\sql2017;Database=dbname, $user, $...
Hugo Delsing's user avatar
0 votes
0 answers
186 views

partition ssd + hdd disk on ubuntu server running plesk

i have a new server with 256 SSD and 4TB SATA HDD, with the following logical volumes mounted # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 223.4G 0 disk ├─sda1 ...
A. Dabak's user avatar
  • 101
2 votes
1 answer
76 views

Scaling up / reorganising VPS infrastructure for SMB

I work for a digital agency, where we design, build and host websites for our (local) clients. Currently, we have approx. 80-90 sites scattered on 11 VPS instances. 99% of those sites is WordPress ...
Tomaski's user avatar
  • 123
0 votes
1 answer
5k views

Nginx performance drops significantly when I enable https (slower 30 times than http only) & 12 times slower than Apache https

I have an Angular website with static assets of around 1.5 mb and gzipped it is around 400 kb, I have nginx as my webserver & reverse proxy to the API server, when I test nginx with Apache ...
Ahmed Elkoussy's user avatar
-1 votes
2 answers
1k views

How to backtrace slowness of a shared hosting web server

I have a shared hosting plan (godaddy), and time to time I suffer slowness problem. When this happens, I try to login to cpanel to double check if the problem is me or the server, and it also takes 1-...
HOY's user avatar
  • 63
0 votes
1 answer
677 views

Website disk space and loading speed

I was wondering if the loading speed of my website is affected by my disk space. For example, my current used disk space is 5GB and most of my files are videos which users can only download. If my ...
joepr's user avatar
  • 11
0 votes
0 answers
10 views

What do I scale up on a virtual server to take load off the CPU while uploading big files? [duplicate]

I have a small photography portfolio website running on Ubuntu. It's a Digital Ocean droplet with the following parameters: 512RAM memory 1 vCPU 20GB SSD disk 1TB transfer This setup is sufficient ...
lesssugar's user avatar
  • 121
0 votes
1 answer
1k views

Reduce latency between USA users from EU server [closed]

I'm in a pickle. I had thought my server was in Canada, but turns out it is in France. I don't have the time for a server migration right now (it's the end goal as 75% if the visitors are USA). Using ...
Dan Hastings's user avatar
1 vote
1 answer
350 views

Diagnosing slow/timing-out web application

I'm seeing average load times of load average: 12.41, 11.94, 11.59 on a linux-based machine serving a web application. It has 16 cores, so the load average isn't unmanageably high. However, this web ...
Hassan Baig's user avatar
  • 2,365
0 votes
1 answer
155 views

Apache increasingly eats resources until restarted

My apache2 (Ubuntu 12.04) over some (variable) period of time comes to unusual system resources utilization. I'm positive that I don't have that amount of traffic and dos/ddos are pretty much out of ...
Miloš Đakonović's user avatar
-1 votes
2 answers
928 views

What will happen to a server when it overloads the request limit?

I was searching about the capacity of a web server in terms of how it can handle heavy traffic of server request, http request, even database queries or whatever you call them. I understand that a web ...
timmack's user avatar
  • 111
1 vote
0 answers
391 views

HTTP/2 and SPDY running together in Apache

I have the latest Apache installed and currently support HTTP/2. Can I setup SPDY and run it together with HTTP/2? The goal is to also take advantage of the SPDY for browsers that do not support HTTP/...
jarvis's user avatar
  • 2,006
1 vote
1 answer
3k views

Nginx Stress Test with httperf - Large Data Transfer Differences from Apache Server

I'm running a simple httperf stress test on a quad-core Nginx server, pointed at an HTML/PHP document. Large connection rates quickly begin experiencing high connection and response times (see the ...
meridionaljet's user avatar
3 votes
1 answer
1k views

NetBSD web server performance

I am interesting in the difference web server performance between Linux, FreeBSD and NetBSD since I have heard that NetBSD and FreeBSD have the good TCP/IP implementation. As the result, I setup VMs ...
Ray Shih's user avatar
-2 votes
1 answer
44 views

Find a load on my Web Server [duplicate]

As requested, I am asking the question here. Is there a way to find a load on my web application server without a load / stress testing? I have deployed my application in the Apache Tomcat server. ...
Free Coder's user avatar
2 votes
2 answers
66 views

Performance tuning world wide?

I am working on a website that is used by people all over the world. Currently we have a web server that is in Oregon and a database sever that is in Chicago. When users from the US access the ...
Abe Miessler's user avatar
-2 votes
1 answer
53 views

How to check my site speed? [closed]

im the developer and in charge of a company's Wordpress based site our site started to run a lot slower recently and i am trying to figure it out for two weeks now! My main problem is that every ...
Joe's user avatar
  • 115
5 votes
0 answers
4k views

Why does chrome show a very long 'blocking' time (sometimes) when loading static files from Jetty 9

I'm seeing some strange behavior from Chrome when loading web resources from a Jetty 9.2.3 instance I'm setting up. In particular, I see some requests returning quickly, while others take a very long ...
Matt Sheppard's user avatar
0 votes
0 answers
176 views

Why is my server so slow to accept connections?

I've noticed that my server seems to be very slow to accept connections - i.e. when analyzing the load time using the Chrome event map, it shows that some tasks can spend multiple seconds waiting for ...
Sam Heather's user avatar
1 vote
0 answers
96 views

Is it worthwhile, for performance reasons, to surround Apache mod_rewrite checks with Directives like Location, DirectoryMatch, etc?

I currently have a number of Apache rewrite rules using mod_rewrite (Apache 2.2). When I turn on rewrite logging I see a number of evaluations of rewrite conditions for files that have no chance of ...
deezer's user avatar
  • 11
1 vote
1 answer
3k views

Identify Long Running or Slow PHP Scripts

I have web server that is getting around 25K visits a day up at yougetsignal.com. Sometimes the site feels a bit sluggish. I am hosting it on nginx with php5-fpm. Is there a way for me to see a list ...
Kirk Ouimet's user avatar
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
2 votes
1 answer
4k views

How to understand random 500 internal errors in Nginx?

Our server is showing a lot of 500 internal error pages for random requests. We know the app is working because our code is unit tested. The server setup is Nginx with Unicorn running a single Rails ...
Roman's user avatar
  • 139
-1 votes
2 answers
1k views

How Can I Maximize Apache Performance on my Server - Need Calculations Please [closed]

I have a Sun T5140 server with 8GB of memory and two 4-core T-Series CPU's (128 max threads). This server is a dedicated web server. Based on the premise that I'm willing to allocate 1/2 of the ...
ElasticThoughts's user avatar
1 vote
2 answers
113 views

Will including the CSS & JS in the HTML improve page load times and / or server performance?

Which of the two HTML snippets perform better? Including the CSS & JS in the HTML <html> <head> <style> <?php include("someStyle.css"); ?> </style> <...
Lord Loh.'s user avatar
  • 1,089
2 votes
2 answers
2k views

How to Check Download/Upload Speed to Web Server?

I have a web server in the US (MS Windows 2008). Chinese users are complaining of slow speeds and SQL command timeouts. Other Asian and European users are not.How do I check the speed (download/upload)...
Administrateur's user avatar
0 votes
2 answers
421 views

Load/stress testing methodology. What to expect and how to interpret results?

We have this new client for whom we're reviewing our server infrastructure. I know pretty well the web API because I've helped building it and now I'm on my own maintaining and pushing it forward, so ...
Arnaud's user avatar
  • 209
1 vote
6 answers
4k views

How to know if my nginx is in good health?

I am running a nginx on EC2 (m1.small) for SSL termination. I am using 2 workers on Ubuntu, with latest nginx (stable), the network throughput is around 2Mbps and system load average is around 2 to 3....
Howard's user avatar
  • 2,135
0 votes
2 answers
524 views

Can I use two machines to set up memcache server for a php web app?

I have a web server which hosts my PHP web app and my MySQL server. I would like to throw out one more machine there to use it for memcache/memcached. In order to use Memcache, should I have a ...
Alex's user avatar
  • 31
1 vote
1 answer
2k views

VM Tuning to enhance performance

vm.bdflush = 100 1200 128 512 15 5000 500 1884 2 vm.dirty_ratio = 20 vm.dirty_background_ratio = 10 vm.swappiness = 10 vm.min_free_kbytes = 300000 That means that the MOST dirty data that can be in ...
Tiffany Walker's user avatar
0 votes
1 answer
152 views

Rule of thumb in RAM estimate for static pages? [duplicate]

Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites I've seen tutorials saying they can run decent websites on 64MB RAM (Debian/Lighttpd/PHP/MySQL) however it's not ...
IMB's user avatar
  • 511
1 vote
1 answer
1k views

PHP/MySQL Performance Testing with Just PHP [closed]

I'm trying to diagnose a server where the website is loading very slowly, but unfortunately my client has only provided me with FTP access. I've got FTP access so I can upload PHP scripts, but can't ...
Mike Gifford's user avatar
9 votes
4 answers
76k views

How to achieve 500K requests per second on my webserver? [closed]

I recently gifted myself a new dedicated server and I am trying to squeeze maximum performance out of it, for fun and learning. I am trying to achieve maximum possible requests per second this server ...
Arpit Tambi's user avatar
1 vote
0 answers
185 views

Steps to analyze web server performance for only one Ip

We have a 2008 server, hosting 40 domains. All of our projects are developed in asp.net and using iis 7.5 in our server. Nearly 35 of these domains are sharing one IP and the other 5 is sharing ...
Kamil Ovacık's user avatar
0 votes
1 answer
330 views

Querying a web API vs local database during a traffic spike?

I wasn't sure whether this was best suited to SO or SF, I originally posted this on SO - Link to original - but it seems to me now that it probably is better suited to SF. Moderators please feel ...
Michelle's user avatar
  • 923
5 votes
4 answers
2k views

Is there an advantage to load balancing using multiple VMs all on the same hardware?

Some collegues are suggesting a web load balancing schema with multiple web servers (IIS7) on different virtual machines all running on the same hardware. Is this a truly advantageous setup? All ...
srmark's user avatar
  • 321
15 votes
3 answers
7k views

Determining a realistic measure of requests per second for a web server

I'm setting up a nginx stack and optimizing the configuration before going live. Running ab to stress test the machine, I was disappointed to see things topping out at 150 requests per second with a ...
Don's user avatar
  • 151
1 vote
1 answer
448 views

Block illegitimate traffic (hackers, scrapers, spammers) to your website

According to a recent report from ZDNet, 31% of traffic is illegitimate (hackers, scrapers, spammers). The challenge as a sysadmin is to find a way to block that traffic without blocking your real ...
Max's user avatar
  • 3,523
2 votes
1 answer
140 views

Considering no website/service is 100% up, how do systems measure web downtime with precision?

I think the title speaks for itself. But, to give an example: In a recent post, 37 signals show it's real downtime and compares with other web services. They get very few down time and probably most ...
lucasarruda's user avatar
3 votes
2 answers
2k views

ApacheTop like tool for Nginx for measuring hit contents?

Are there ApacheTop like tool for Nginx for measuring hit contents? I want to find out the most popular URL from the web server log (Nginx)
Howard's user avatar
  • 2,135
2 votes
2 answers
224 views

Website load speed around the world

I would like to test a small website's loading speed around the world. What are some relevant websites/tools that you find useful for this test?
Dragos's user avatar
  • 369
25 votes
8 answers
23k views

Should I completely turn off swap for linux webserver?

Recently my friend told me that it is a good idea to turn off swap on linux webservers with enough memory. My server has 12 GB and currently uses 4GB (not counting cache and buffers) under peak load. ...
Poma's user avatar
  • 1,299