1
vote
1answer
54 views

MySQL suddenly taking 2000 ms per request, instead of 200

UPDATE: finally remembered to look at munin, and it seems that one of the HDDs is the root of the problem after all, unless I'm totally reading this wrong. Here's the munin output: ...
0
votes
2answers
28 views

Distributed LAMP vs DB and Web Server same box

We have a very read heavy semantic web (RDF) application which is RHEL 5/Apache 2.2.3/Tomcat 6/Java 6 on one Server, and MySQL 5.1 on another. Apache and MySQL are backported Red Hat repo stuff, so ...
3
votes
1answer
166 views

IO related performance bottleneck on a LAMP server

I am administering a big LAMP server with some thousand users. About a week ago, things slowed down, and the only thing I see that the IO latency is increased dramatically. Users experience slow page ...
0
votes
0answers
89 views

Is it time to add a server [duplicate]

This question is about figuring out if horizontal scaling by adding servers is the next step or not. Here is the context: About 1400 concurrent users at peak time (between 11:00am-4:00pm) in Google ...
0
votes
1answer
432 views

Optimized LAMP/LEMP stack scripts

In the "let's try not to reinvent the wheel" perspective, I've been looking for a packaged LAMP (or LEMP) stack for some time now, not only the basic Mysql, Apache , PHP etc... but ideally stuff like ...
-1
votes
1answer
418 views

Server performance tuning [closed]

I have inherited system for which I need to tune performance as much as possible from hardware perspective. First of all I am a web developer, not a SysAdmin, I don't want to make any premature ...
1
vote
2answers
426 views

Increasing the concurrent user performance in LAMP application

We have a LAMP application where we have started to feel the performance pinch due to large number of concurrent users connecting to the application. I have looked at the individual parameters of ...
1
vote
5answers
238 views

What is the best way to compare the performance of different servers?

I've got a site with a LAMP stack and I'm looking at moving to a new hosting provider (currently on a dedicated server and looking to move to a cloud provider). What is the best/most reliable way to ...
0
votes
2answers
203 views

Why does a slow script cause my entire site to halt?

I have a PHP script that uses cURL to load a file from another server. The file is about 24MB. I understand why the script itself loading the file would take a bit to execute, however any request to ...
1
vote
5answers
3k views

Load average is high but resources are not fully used

As far as I can tell, the load average on my server (Ubuntu Linux 8.04.1) is way too high, and in practice I see it slows down or stops serving during peak hours. It's a fairly stock LAMP powering a ...
1
vote
1answer
768 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 ...
0
votes
1answer
222 views

Errorlog, accesslog, slow query log, execution time log, traffic and req per sec into one tool?

I'm searching for a tool designed for LAMP server that combines server Error log, Access log, slow query log, takes time of execution of PHP scripts,traffic and req per sec statistics (for example ...
4
votes
3answers
898 views

EC2: Regular performance issues without obvious resource contention

We are running LAMP+memcached on an Ubuntu 9.10 x64 xlarge Amazon EC2 instance. This server handles a few hundred requests per second, of which about 60% are static and the remainder all interact with ...
21
votes
5answers
20k views

Can a pool of memcache daemons be used to share sessions more efficiently?

We are moving from a 1 webserver setup to a two webserver setup and I need to start sharing PHP sessions between the two load balanced machines. We already have memcached installed (and started) and ...
1
vote
3answers
1k views

Apache server is spawning more and more processes, maxing out RAM and dying

We have a LAMP setup that had been working pretty well for half a year when the Apache server (MySQL servers are not on this box) just started to die. It seems to have started to spawn more and more ...
3
votes
2answers
2k views

How can I tell which page is creating a high-CPU-load httpd process?

I have a LAMP server (CentOS-based MediaTemple (DV) Extreme with 2GB RAM) running a customized Wordpress+bbPress combination . At about 30k pageviews per day the server is starting to groan. It ...
1
vote
1answer
104 views

When to scale? Measurements and metrics on the LAMP stack

What are the biggest signs that a ( LAMP ) server is working too hard? Are there any metrics you take into consideration before beefing up your box or scaling out?
3
votes
8answers
2k views

Scaling a LAMP stack

Once you move beyond 100k hits/month, what would people in this community say is the biggest hurdle? My situ: Tons of static media (audio/video/images) being served off of S3/CDN, but being stored ...