Tagged Questions
0
votes
1answer
93 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 ...
-1
votes
2answers
158 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 ...
1
vote
2answers
63 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>
...
0
votes
1answer
107 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 ...
0
votes
2answers
135 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 ...
0
votes
6answers
503 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 ...
0
votes
2answers
75 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 ...
1
vote
1answer
197 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 ...
0
votes
1answer
62 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 ...
1
vote
1answer
111 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 ...
-7
votes
4answers
4k 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 ...
1
vote
0answers
86 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 ...
0
votes
1answer
94 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 ...
5
votes
4answers
383 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 ...
11
votes
3answers
625 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 ...
1
vote
1answer
231 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 ...
1
vote
1answer
85 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 ...
2
votes
1answer
364 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)
2
votes
2answers
111 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?
6
votes
8answers
4k 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.
...
2
votes
2answers
48 views
Web server response degrades even though it doesn't seem busy
I'm running Apache on a dedicated Windows 2008 server with a back-end process connected to Apache via FASTCGI. The back-end process is actually a game engine. Everything is working fine but I've ...
0
votes
2answers
119 views
How to troubleshoot many failed pageloads?
I've had a few cases in which the homepage of one of my sites wouldn't load in the browser. The site is running on django/fastcgi/nginx.
It was difficult to reproduce so, in an attempt to understand ...
2
votes
4answers
267 views
50,000 file in one directory, what is my best option?
I'm forced to have this directory structure
/var/www/$WEBSITE/$DIR1/$DIR2/$FILES
for each of those $FILES, there is approx 50,000 XHTML pages.
I'm running Cherokee, which has new front-end caching ...
0
votes
2answers
304 views
Ubuntu Apache server slows down when connected to the internet
I am using an Apache server running on Ubuntu to serve an in-house web application. When the server is only connected to the local network, it runs fast. When I let it accept incoming requests from ...
0
votes
2answers
204 views
Does a download server's speed determine the download speed of it's content?
If a server is hosting a download, will that server's speed determine the download speed on the side of the downloader or will that not matter since it's the downloader's own internet connection speed ...
0
votes
1answer
117 views
RHEL (CentOS, SL) process performance statistics
Is there any way to find out sometimes when the server load is high, what process and what activity cause that ?
I have a shared webserver and mailserver (HTTP, DNS, SMTP, IMAP, POP, FTP,...) and ...
3
votes
4answers
375 views
Best Way to Examine Apache Logs on Ubuntu Server?
I'm getting a lot of traffic that is crushing my tiny server. Is there something I can install that will allow me to examine my Apache traffic real-time? Ideally a web interface. I'd like to see what ...
3
votes
3answers
1k views
Why is my site intermittently slow to load, seemingly due to DNS issues?
I'm about to pull out my hair on this one. I have a rails app hosted on Heroku, using Zerigo Free for DNS. The app is available at:
smartvark.com (preferred)
www.smartvark.com (some users insist on ...
2
votes
3answers
547 views
Best way to do a web server performance comparison
I realise this is probably very basic stuff, but I'm interested to know what you guys would recommend as the best way to recommend server performance? I have just bought a managed dedicated server but ...
0
votes
2answers
196 views
Fastest Dynamic Webserver Build for 2011? [closed]
I am wondering what your favorite build is for a new dynamic website (of unknown traffic especially)?
After scouring the web, it seems that Apache with an Ngnix reverse proxy does not offer any ...
0
votes
1answer
279 views
Running game server and webserver on EC2
Hey guys, I have a webhost, and an EC2 server (to run a game server on).
The problem is that I want to access/modify the EC2's files with php admin programs.
I looked into a lot of options to just ...
1
vote
1answer
662 views
How to prevent the slow first load startup for a website?
I'm sure you've noticed that for many servers, the website loading time is quite long if you're the first visitor for a couple of hours. Do you have any idea why this is the case (is it just server ...
2
votes
4answers
119 views
How to best serve trans-oceanic users?
I have a web application (.NET served from iis6) which serves near real-time data to end users. Our servers are sitting in a data center in North America, but our Australian users are experiencing ...
2
votes
1answer
606 views
Site loads very slow if I use IP and works normal when I use Domain Name, Why?
I have a server and I'm using it as web server, I have a web site hosted in it
In a web browser when I access it using the IP address the site loads very slow, but when I access it using Domain Name ...
-4
votes
3answers
655 views
Looking for the fastest web server
I've heard the G-WAN beats all others hands down. Has anyone had any experience
with this server? I am worried about buffer overruns, since scripting seems to be
in C.
Thanks!
1
vote
2answers
322 views
Use a reverse proxy do record all incoming HTTP request, then execute it in a clone server for performance testing
A few weeks ago I went to a presentation where a guy said that in his company he used a reverse proxy that records all incoming http requests to the production server. Then he can execute them on ...
0
votes
2answers
300 views
Minimizing response time, maximizing requests/second
I'm testing out various Ruby on Rails hosting solutions, including nginx, apache, a couple of various ISPs and cloud computing systems, etc.
I'm noticing that, when there's only one or two ...
2
votes
4answers
214 views
What's the fastest way to server a single static webpage from a single server in memory?
Been dealing with growing demands for system resources on a website, and got me thinking:
What's the fastest way to server a single static webpage from a single server in memory?
Feel free to ask ...
0
votes
2answers
153 views
big difference in HTTP response time between US and UK clients
I am looking into a problem with some images hosted in the US, that some users get really slow load times. This image for example;
...
1
vote
1answer
486 views
Passenger + Nginx performance drops very quickly…?
So I have an Amazon EC2 small instance setup on Ubuntu with Ruby Enterprise Edition running on Passenger + Nginx. I set 25 Passenger instances and performance is dropping very quickly relative to the ...
0
votes
3answers
75 views
how to get a web page component loading speed report from a non-technical user
We have a portal app which pulls in components from a number of different web servers. Some of our US users are reporting very slow page loading times.
I would usually use the firefox/firebug and the ...
2
votes
1answer
539 views
Pros and Cons of Keep-Alive from Web Server Side
Keep-Alive connection feature in HTTP protocol is meant to reduce TCP connection hits to web server. It should be able to improve web server performance. However, I found that some web servers ...
1
vote
2answers
2k views
nginx better than apache for dynamic content? [duplicate]
Possible Duplicate:
Apache or NGINX for PHP?
Hi,
i have searched for this around the web and i can't find the right answer for my question.
basically i want to know if i can get better ...
1
vote
1answer
238 views
Internet Speed for Webserver
That should be kind of dumb question in comparison to all other questions here.
What minimum upload and download is required for a small home webserver with one webpage?
Or is there a schema that ...
1
vote
4answers
212 views
Is open ldap a good solution to a centralized way to authenticate users on a web site?
Is open ldap a good solution to a centralized way to authenticate users on a web site?
Was it build in the web in mind?
0
votes
2answers
684 views
Apache server overloaded at 30 requests/second, normal?
The ISP hosting a mostly static web site complains when certain users start to hammer the site at around 30 hits/second. The machine slows to a crawl, apparently. The files can be simple pages with ...
1
vote
2answers
1k views
How to use telnet and customized header to test server's performance?
I create a custom response header called "Duration" that records the time taken to generate the response. And I set this header to be returned only when the request header "Client" with the value of ...
0
votes
4answers
823 views
Hardware recommendation for a web 2.0 site using drupal [closed]
We are working in a new website (a typical web 2.0 website). We are going to
use drupal and mysql. We expect to have an estimated traffic of 2000 users per day (perhaps 200 - 300 new users per day).
...
8
votes
5answers
3k views
What purpose does an empty gif (1x1 pix) file serve?
I've seen a few random pages mention using empty gif images to somehow increase performance. I've also found the nginx has a module for just this purpose. What I can't figure out, is exactly how ...
8
votes
7answers
1k views
Good book for building high performance web sites?
Any recommendations for a book about building and running high performance, high-availability web sites on Linux?