All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
76 views

Performance for static files (HTML, CSS and JS) of PHP Server - CDN vs NGINX

Without going too much into detail to avoid that this question becomes opinion-based; so talking from a purely technical perspective: When you currently have a PHP-Apache setup, both PHP and Apache ...
DevelJoe's user avatar
  • 187
0 votes
0 answers
108 views

Slow server performance due to Google Bot and Ahrefs Bot

I have a VPS server with 64 CPU cores and 128 GB RAM running on Debian. I have noticed that Google Bot from IP address 66.249.66.0/24 and Ahrefs Bot from IP addresses 54.36.148.0/24 and 54.36.149.0/24 ...
Jakub Čuřík's user avatar
0 votes
1 answer
84 views

NGINX: At which point should a webserver with multiple websites on one process be separated?

Currently looking at rebuilding a webserver from running 10-20 websites on a single Apache server to a NGINX proxy setup with separate docker stacks for each website. However I noticed the current ...
Ben's user avatar
  • 105
0 votes
1 answer
70 views

VPS high traffic load

Hello everyone I am really new on this topic so most of my questions will be trivial. I buyed a VPS from godaddy which has 4 CPUs 8GB Ram and 200 GB HDD. I set up a one domain and upload my web site ...
Suat Karabacak's user avatar
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
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
77 views

Replaying HTTP requests from a log file, to load test a new server? [duplicate]

I have a HTTP server that serves images generated from a database. It has some level of caching built in, etc. It generates map tile images for javascript based web maps (a la Google Maps etc.) We're ...
Amandasaurus's user avatar
  • 31.7k
14 votes
4 answers
4k views

Load time impact of htaccess

There are in general two possibilities of handling stuff on Apache: make configurations for folders one by one using htaccess file to fully resign htaccess and put all the rules into the httpd.conf ...
Evgeniy's user avatar
  • 255
2 votes
1 answer
488 views

Move htaccess rules to apache configuration files

I'm running a website with Joomla on a dedicated server (Debian), and i've read that moving .htaccess rules to apache2 configuration files may result in a good performance improvement (Apache HTTP ...
Zikyi's user avatar
  • 21
0 votes
1 answer
64 views

Which memory settings to use for this MySQL server? [duplicate]

I've been looking in a lot of places so far but I couldn't find any articles about how much memory to allocate to MySQL based on server size. I am about to deploy a website on a relatively small ...
jonnybravo's user avatar
2 votes
0 answers
279 views

Logrotation performance

One question about logrotation on a dedicated webserver (64gb RAM) with apache and mysql. In high load hours (2k users online every moment) we are experiencing a strange behaviour. As an example, at ...
OmegaMy's user avatar
  • 31
1 vote
1 answer
2k views

Debugging slow server response time [closed]

I'm testing response time of my VPS server: curl -s -w %{time_total}\\n -o /dev/null http://www.example.com The values are typically round 300ms, Google suggests that it should be lower than 200. ...
Sfisioza's user avatar
  • 592
2 votes
3 answers
736 views

Apache - drawback to high number of httpd processes always running

Is there any issue with having a high number of spare httpd processes always running? I ran a test where I increased StartServers and MinSpareServers by 1,000 and measured the increase in memory ...
sa289's user avatar
  • 1,318
8 votes
1 answer
2k views

What do users see when Apache reaches MaxClients?

Occasionally, in my Apache error log, I will find: [error] server reached MaxClients setting, consider raising the MaxClients setting I've purposely lowered MaxClients in the past (to 60) due to ...
runningonplants's user avatar
1 vote
1 answer
164 views

Does Apache mod_status give any insight to tuning Apache config?

Does the Apache mod_status output give any insight to tuning Apache prefork config? For example, using Apache's mod_status, I figured out that My server gets 3 requests/sec average, the range is 2-...
runningonplants's user avatar
1 vote
1 answer
6k views

Apache CentOS Server very slow! Wrong configuration?

I have a problem with server overload on a Apache configuration 8gb of RAM 1and1.com Virtual Server. Server gets extremely slow once it reaches 100+ active users (according to google analytics) during ...
Norm's user avatar
  • 13
1 vote
1 answer
690 views

Website performance sluggish - High CPU and Disk Usage

Over the past couple of days my website's performance has been very sluggish, with queries taking a lot of time to execute. My CPU usage hit around 100% 4 times this week. Here is the output of top at ...
Yin Yang's user avatar
  • 273
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
4 votes
2 answers
118 views

Multiple websites on multiple servers - seperate mysql or not

I currently have 2 Debian servers (VPS with 4 GB memory) and am hosting a variety of websites of differing importance: some are production sites, while others are demo/staging/test sites. ...
Purplefish32's user avatar
0 votes
1 answer
44 views

How do I know website slowness is related to network or my server

I do know that my php pages generate in less than 0.1 seconds. And also I do know that apache max clients has not been ran out. And website is slowness is confirmed by testing from different ...
Mehdi Azizi's user avatar
1 vote
0 answers
1k views

apache performance static file

I have a fairly low-budget VPS (1GB RAM + 2 CPU's) to run a few (5 - 10) different small websites (both static and dynamic). These websites have (very) low traffic (average of 500 unique visits for ...
Chris's user avatar
  • 11
0 votes
1 answer
9k views

htcacheclean doesn't seem to be cleaning the cache [duplicate]

I'm running mod_cache with apache 2 on a fairly high traffic'd site. I've set the htcacheclean to run in demon mode every 10 minutes to keep the cache at 4GB. It's currently at 15GB and doesn't seem ...
Will's user avatar
  • 362
2 votes
2 answers
885 views

performance tuning vs understanding a memory leak?

I've read just about every blog post and serverfault answer relating to this, but have seen absolutely zero improvements to the server's CPU or Memory usage so I feel like I'm missing something. At ...
zack's user avatar
  • 121
2 votes
1 answer
2k views

mod_pagespeed own js and css render blocking

My mod_pagespeed gives a lower score because it's own js and css are render blocking. Given that the tool is designed to speed up, not slow down, I don't think this is desired behavior by design. Has ...
Vlad's user avatar
  • 61
0 votes
2 answers
188 views

How do I prevent a website on my server causing the whole server to crash [closed]

I have a server with 6GB of RAM and a 6-Core CPU. Number of websites hosted by the server is about 10, but sometimes 2 of them take 100% CPU and almost entire RAM which cause the whole server to crash ...
user16948's user avatar
  • 101
0 votes
2 answers
80 views

Apache Configuration not use server capabilities [closed]

I have a web server with 16 GB of RAM. The server has a good traffic and have pics of 300 simultaneous requests. Unfortunately when these peaks arrive queries fall into error or are very very slow. ...
user3226992's user avatar
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
1 vote
0 answers
2k views

Apache AB results: why does adding concurrency not increase requests processed per second?

So I've been trying to use apache ab to benchmark performance, but I'm having trouble understanding why I'm getting these results. FYI, its a PHP app using Zend Framework, mySQL database, and mostly ...
blacktie24's user avatar
0 votes
1 answer
180 views

Order that Apache handles .htaccess directives

I was working on a WordPress site yesterday, mostly in a Web Performance Optimization capacity (on shared hosting). At one point I noticed that my .htaccess file had redundant, possibly ...
adam-asdf's user avatar
  • 191
2 votes
2 answers
678 views

ipfw based firewall slows down Apache web server

I have an Apache web server running on a FreeBSD 8.3 machine. That machine has an ipfw firewall with these rules: root@aigamedev:~# ipfw -a list 00005 0 0 deny ip from 67.212.xxx.xxx to any ...
Matthias's user avatar
  • 302
0 votes
4 answers
588 views

Limit copy speed

Unfortunately we have a pretty bad HDD performance on one of our servers and as soon as we start bigger copy process it stops to deliver any Apache response, which is really bad. Is there a way to ...
Tobias's user avatar
  • 115
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
3 answers
4k views

slow website load and high memory usage

my site has been slowed down last couple of days ... some image doesn't show up ... i got 408 Request Time-out: Server timeout waiting for the HTTP request from the client couple of times which ...
max's user avatar
  • 187
6 votes
2 answers
69k views

Apache consuming too much CPU and memory

I'm having some troubles with CPU and memory usage with an Apache Web Server. We're running an Ubuntu Server 12.04 LTS on a Virtual Machine. Our server has following specs: 8GB RAM; 4 vCPUs (12ghz); ...
humungs's user avatar
  • 265
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
1 answer
391 views

Apache performance is really heavy [duplicate]

My company runs a heavy traffic site, about 150k daily. Each time after apache restarted, site load is very fast. The problem always comes after a couple of hours. Server config : Intel Core i3-...
Samuel Adam's user avatar
-2 votes
2 answers
84 views

How should I host a website with infrequent, planned load spikes? [closed]

I have a smallish site which I expect to have extremely high concurrent traffic for a few hours each month. I'm trying to work out what hosting solution will ensure the site never goes down. Here are ...
MakkyNZ's user avatar
  • 147
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
0 votes
2 answers
1k views

sudden high CPU, causing server to be unresponsive

I run a reasonably busy (700,000 page views/day, php/mysql) site that gets steady traffic (normally no spikes). The last two days, around peak usage time, and for about an hour, my site had suddenly ...
Sherif Buzz's user avatar
0 votes
1 answer
93 views

How can I prevent my server's background data processing tasks from slowing down the whole server?

Apologies for the inexpertly phrased question. I'm not quite sure how to put it. My Linux server: Serves web pages to users Does lots of data processing and gathering in the background I'd love ...
rastaboym's user avatar
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
1 vote
1 answer
426 views

Apache Logging for Performance

How can I log Apache's performance, i.e. how it takes to process a request? Similar to Tomcat's Valve concept, I'd like to add this logging on Apache to identify a bottleneck on my web app. I'm using ...
Kevin Meredith's user avatar
0 votes
1 answer
55 views

One site takes a long time to make a connection, other sites on server fine

On a CentOS server with multiple websites, one particular site takes a long time to respond to requests from some geographical areas, but not from other geographical areas. Other sites on the same ...
dotancohen's user avatar
  • 2,600
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
1 vote
1 answer
392 views

how to understand what Apache is busy with?

I have Apache on a Linux server, and a Python script inside it (Trac, to be more specific). With a minimum traffic it consumes 99% of CPU and load average is above 3.00. Is it possible to understand ...
yegor256's user avatar
  • 1,836
0 votes
1 answer
689 views

How to Troubleshoot intermittent high response times for PHP application

I have been stress testing my PHP application hosted on Linux and using Apache. I am using Apache JMeter for stress test. During the test the normal response times are below 100 milliseconds. But ...
Ruchit Rami's user avatar
1 vote
2 answers
799 views

How to diagnose Windows hangs - which resource is blocked?

We have a Windows 7 Pro machine running Apache/php/postgres processing Ajax requests under a constant load (several every second). Its also running various other applications, which perform lots of ...
Sam's user avatar
  • 159
2 votes
2 answers
3k views

Amazon EC2 Server running very slow

I have a c1.medium tier server running Ubuntu 12.04 on AWS EC2. We use it as a development server, hosting between 5-8 Drupal 7 sites on it. Recently the server has been performing very slowly and I'...
williamsowen's user avatar
  • 1,167
-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
2 3 4 5