0
votes
1answer
53 views

PHP Settings [pm.max_children, pm.start_servers, pm.min_spare_servers and pm.max_spare_servers]

In the midst of transferring a website from a GoDaddy shared server to an EC2 instance. Handling the traffic, which during peak times on a typical day is around 300 active visitors, has been ...
0
votes
0answers
59 views

tuning apache for low ram low traffic server

I have a low end VPS server with 512megs of ram to host downloads of files (~10-25megs each). what is a good configuration for the following parameters in apache. I expect no more than 10 human users ...
-1
votes
0answers
67 views

How to improve server performace? [closed]

Scenario After an integration of our product with a site that have a "decent" number of request, development team of that site ask me to prove that our server can handle traffic generated from that ...
0
votes
2answers
550 views

LAMP -> CPU usage of Apache processes too high

I have a LAMP system with CentOS 6.4, Apache 2.2.15, MySQL 5.5.32 and PHP 5.3.26 with APC 3.1.10 using a Drupal CMS (https) on a virtual machine with 4 CPUs and 6 GB RAM. My problem is the CPU usage ...
0
votes
1answer
101 views

How do I go about finding the bottleneck in a slow web based chat application

I am working on a one-to-one chat application running in production. It uses StropheJS to connect to Ejabberd server over BOSH (using ejabberd's default connection manager). The main problem we are ...
2
votes
1answer
215 views

Apache high CPU usage, setting a overload limit

On a ubuntu server, I run a LAMP environment with APC, and fast-cgi as php mod, to host 2 wordpress sites, and both sites have Wordpress Total Cache (W3TC) plugin configured. The server's specs are: ...
0
votes
1answer
170 views

Why am I getting a Sudden Drop in throughput and sluggishness with no CPU increase

Occasionally, during random parts of the day, I get a 10 minute period of extreme sluggishness where my requests are taking 50-1000 times longer then they normally do. Note: I am on Apache/2.2.16 ...
1
vote
1answer
2k views

Apache HTTPD configuration for high load [duplicate]

Good day, I want to be able to serve at least 7000 (preferably 10k) concurrent requests from my Apache Httpd. I have configured my httpd.conf with MPM worker with the following setup ServerLimit ...
0
votes
1answer
183 views

503 error Varnish cache when eAccelerator is started

I have a Magento installation running on x-large Amazon server. I have Varnish, memcached and eAccelerator installed on the server. At first everything was working fine, but then at some point it ...
2
votes
1answer
68 views

Server hanging when serving random file on page load

I'm optimising a website, and the problem I'm facing with now is server related. During page load, there are about 40-50 requests sent to server (depending on the page), and in every case, server ...
11
votes
7answers
9k views

Apache Tomcat chokes after 300 connections

We have an apache webserver in front of Tomcat hosted on EC2, instance type is extra large with 34GB memory. Our application deals with lot of external webservices and we have a very lousy external ...
1
vote
2answers
339 views

Apache2 on linux - how to track down performance trouble

I am stuck on this topic for a while now: How can I get more details on where response time burns. My Problem is the extreme variance in response times. Sometimes it takes the server 5 or 10 seconds ...
3
votes
1answer
855 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)
4
votes
2answers
543 views

ratelimit POST requests

Im running a large wordpress multiuser site. I have a varnish cache infront of the wordpress application server. As it make no sense to cache POST requests, i am vulnerable to DOS using lots of POST´s ...
0
votes
2answers
2k views

How can I configure Apache to use more of my CPU?

Apache threads are stacking up on one of my web servers (300-500 simultaneous requests, some taking 3-8s to process!), but CPU usage is very low (~10%). Page load time is slowing way down as a ...
-3
votes
1answer
115 views

Apache optimization needed [closed]

What is the best values for "worker" if you have very very high traffic? Like 500M page views per day? I want to test my server with that much traffic but how can i setup to handle that much traffic ...
1
vote
1answer
940 views

NGinx vs Varnish as a reverse proxy in front of Apache w/php [closed]

I am using apache with mod_php to serve content. Mostly the content is fetched form memcache over the network. All of my images, css and js are already on a cdn What are the pros and cons of putting ...
2
votes
2answers
1k views

Apache with prefork model using 1000 MB memory per process

I am currently working on a site which uses Apache running on the prefork memory model. The following is the configuration from httpd.conf <IfModule prefork.c> StartServers 30 ...
0
votes
1answer
318 views

Trim out useless apache modules

I'm running a shared hosting environment with about 100 sites - I just took a peek at all the modules apache is loading/using, some of these I don't know what they are or do or if they are useful at ...
0
votes
3answers
1k views

How to speed up apache

We have a server with 8Cores, 16GB of RAM and RAID 0 SAS 10K drives. Our goal is to use this to serve a fairly simple php application quickly. We have tested all other components and we think we have ...
1
vote
2answers
444 views

Troubling AB benchmarking result?

I'm a real noob when it comes to sys admin. I'm running an app on an EC2 MicroInstance. Before I launch publicly, I want to make sure that I hit a minimum level of performance. I'm trying out some ...
1
vote
0answers
423 views

server benchmarking with apache benchmark

We are testing one of our production server with ab and what we found is apr_socket_recv: Connection timed out (110) Total of 176 requests completed after some time above output.That means the ...
0
votes
1answer
3k views

What is bottleneck of my Apache server?

$netstat -anp | grep :80 | grep TIME_WAIT | wc -l 840 $netstat -anp |grep :80 | grep ESTABLISHED | wc -l 50 memory usage : 850MB / 1000MB apache2.conf contains.. <IfModule ...
2
votes
2answers
311 views

dedicated apache httpd server configuration and performance tuning

I have the following dedicated box that I only install apache httpd server on, what parameters in httpd.conf should I tune to achieve max performance? cat /proc/cpuinfo shows 8 processors(only ...
0
votes
0answers
500 views

Nginx Slower than Apache?

I've just setup 2x identical Rackspace Cloud instances and am doing some comparisons and benchmarks to compare Apache and Nginx. I'm testing with a 3.4k png file and initially 512MB server instances ...
8
votes
5answers
10k views

Performance Tuning a High-Load Apache Server

I am looking to understand some server performance problems I am seeing with a (for us) heavily loaded web server. The environment is as follows: Debian Lenny (all stable packages + patched to ...
1
vote
3answers
563 views

How to measure req/sec by analyzing apache logs

I want to measure the justify stress-test result on production env. How to measure req/sec by analyzing apache logs? apache2.2 LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" ...
1
vote
1answer
666 views

performance wise htaccess

hese's the my htaccess template, i wonder if anything could be added to increase website performance.. # Defaults AddDefaultCharset UTF-8 DefaultLanguage en-US ServerSignature Off FileETag None ...
1
vote
2answers
3k views

switching to worker mpm for apache 2 on ubuntu

How to switch from prefork mpm to worker mpm on ubuntu server? how to roll back if there is any problem? root@myserver:~# apache2ctl -l Compiled in modules: core.c mod_log_config.c mod_logio.c ...
1
vote
2answers
876 views

Apache Config for High Page View, Long Session Users - KeepAlive and MaxRequest variables

I am currently running a web app that sees several (~15) users logging in once each day, and then leaving the web app open where it automatically refreshes with new content every 5 minutes. Each user ...
1
vote
1answer
428 views

Specific apache + mysql settings for a light-weight site

I have a small website with a Joomla and a Moodle set up. It seems that both of these are very slow. The server (CentOS release 5.5 (Final)) is a virtual dedicated server with about 2GB of ram. I ...
0
votes
1answer
495 views

Webserver: Performance impact when storing session files on /dev/shm

I have a website runing on a typical setup: Linux, Apache, PHP, MySQL. However, what's not typical about it, is that it's getting tons of traffic (400,000+ visits a day) and so, efficiency is becoming ...
0
votes
2answers
790 views

Webalizer causing high CPU load

We use webalizer to generate reports on our Apache access logs - it is useful in conjunction with Google Analytics. The problem is that webalizer uses ALOT of CPU when running. If I run top I can see ...
2
votes
1answer
1k views

Very long (>300s) request processing time on Apache Server serving static content from particular IP's

We are running an Apache 2.2 server for a very large web site. Over the past few months we have been having some users reporting slow response times, while others (including our resources, both on ...
0
votes
1answer
888 views

apache and ajp performance

I have an apache sitting in front of two tomcat app servers(one on the same physical server, the other on a different one) that does time consuming work(0.5 sec to 10sec per request). The apache http ...
7
votes
3answers
4k views

What are your tricks for optimizing your Subversion configuration?

For a Linux or Windows system, what tricks do you do to optimize your Subversion server? The following are my current tricks for a Linux system serving over Apache with HTTPS and backed by Active ...
1
vote
1answer
743 views

Virtual server freeze (apache ?)

I rent a small virtual server at 1und1.de. (Link, but German only) (2GB RAM dynamic, 512MB at least, 20 GB HDD) I choose to run a Ubuntu 8.04 LTS as operating system (64 Bit). I installed apache2 + ...