Optimization is the process of modifying a system to make some aspect of it work more efficiently or use fewer resources.

learn more… | top users | synonyms

1
vote
1answer
277 views

Monitoring outgoing bandwidth of application

I currently have a VPS that is consuming a ton of outgoing bandwidth and I am trying to drill down to where this may be coming from. Does anyone know of a logical way to go about finding out which ...
1
vote
0answers
42 views

Apache + mysql + varnish eating all server memory with low very traffic [duplicate]

Possible Duplicate: Why does Red Hat Linux report less free memory on the system than is actually available? I've just installed Varnish in front of Apache2 to run a Magento ecommerce. Now ...
0
votes
1answer
191 views

WAN Optimization for Small Office/Home Office

I have been reading up on WAN optimization for the last while, mostly out of interest of speeding up my own internet connections, but also to speed up the office internet connection. At home, I have 2 ...
0
votes
3answers
356 views

What's the difference of running ab locally and remotely?

I was benchmarking my site with apache ab and I noticed that the response time had big differences when running ab on the server and running ab on a client box remotely. So what's the biggest ...
1
vote
0answers
117 views

Nginx for a site allowing downloads

My friend have a site that allows users to download files.However the moment one guy start downloading server load change from 0.00 to 3.50 in a matter of minutes.Nginx and php-fpm reach D state and ...
1
vote
3answers
91 views

Lots of files being used by blank web page. What are they?

I am trying to optimise a website and I was using the network waterfall facility in Google Chrome. When I looked at the results there were lots of files which I didnt recognise. I first thought they ...
1
vote
1answer
552 views

How can I lower MySQL single-page reads?

My innodb buffer pool size is 8GB and my database is 6GB in size but I see this: Innodb_buffer_pool_reads 263.5k - The number of logical reads that InnoDB could not satisfy from buffer pool and had ...
0
votes
1answer
70 views

Mysql proxy in comparison with two database connection

We have a situation in which we have master salve databases, we write in master and read from slave. in application we defined two connections one for write and other for read. I came to know know ...
0
votes
1answer
78 views

In cloud environment is it better to get two separate instance for mysql and php-app or get one large instance

We are using cloud environment for our web-apps, i need an expert opinion on hosting our applications. our application built on php & mysql, i want to know which is the most efficient and/or cost ...
1
vote
2answers
482 views

Best way to optimize (loss-less) thousands of jpgs in a windows folder structure?

Using Smush.it or Firebug's built-in image optimizer I realize we can reduce the file size of all of our web jpgs. By quite much actually. As we have hundreds of thousands of images, is there any way ...
1
vote
1answer
67 views

Balancing bandwidth allocation for nfsd

I am using NFS shares to transfer image files using clonezilla onto multiple lab machines, I am currently only imaging one or two machines at a time as a testing protocol but whenever I run more than ...
1
vote
1answer
2k views

Apache prefork optimization - Choosing the right `MaxRequestsPerChild` value

I'm trying to optimize our web servers to handle as much connections as possible. I read a many posts and the Apache notes. I'm trying to understand which value should I choose for ...
1
vote
1answer
1k views

How do i set a cronjob to use less CPU

I'm managing a server witch host several ruby on rails websites. I need a cron job for every website that does : send emails (notifications) create thumbnails Unfortunatly, every time the cron is ...
1
vote
2answers
398 views

Optimize Apache - should I use APC / nginx?

I've read many posts regarding Apache optimization. While reading, two names repeated over and over again, nginx and php-apc. I've tried to understand which of them might be helpful for me, but i ...
0
votes
3answers
8k views

Optimal MySQL my.cnf setting for large Magento site on a dedicated server

Our dedicated server is running a large Magento store with a MySQL database approximately 250MB in size. The server spec is listed as having 5 Xeon 2Ghz processors (4MB cache) and 12GB of memory. ...
1
vote
1answer
292 views

How can I optimize system resource usage for many different gunicorn powered Django sites with low traffic?

My server is a Linode with 768MB of RAM. It is home to around 8 small, low traffic Django sites powered by Nginx, Supervisor, and Gunicorn. Currently, each site has its own Linux user account, with ...
-2
votes
1answer
518 views

What webserver to use for a hentai website? Nginx or Apache? [closed]

I got a Linode VPS with 768MB. On another server (Speedysparrow), also with 768MB, i have Nginx running and it's awesome, as you can see here: http://www.ubuntubrsc.com/. This website, with the setup ...
1
vote
2answers
494 views

gzip compression increases performance, then eventually increases response time from server

Here is my current server scenario. I'm running on a Rackspace Cloud instance (16GB of RAM), using cPanel/WHM on a CentOS 5.5 install. I'm currently running about 10 Magento sites, all varying in ...
22
votes
7answers
5k views

Options to efficiently synchronize 1 million files with remote servers?

At a company I work for we have such a thing called "playlists" which are small files ~100-300 bytes each. There's about a million of them. About 100,000 of them get changed every hour. These ...
1
vote
1answer
134 views

Check VPS resource consumption of a website

I've got a website (I'd say poorly optimized as it's my own code and I've never optimized a website before) and now that it's getting more visits the server load increases to up to 4-5 when there are ...
2
votes
2answers
709 views

Is there guidance to optimise W2008R2 threading performance?

I want to make sure that my W2008R2 box has least possible interrupts and context switches on the CPU threads. I have 4 cores / 8 HT threads CPU. I am running a single application which uses only ...
1
vote
0answers
106 views

Why does this one file not respect .htaccess' cache-control header?

Testing performance improvements, I added an .htaccess file with the following directives to my /assets folder (where I store a few images of various types). <FilesMatch ...
1
vote
1answer
189 views

Apache/PHP Elastic Beanstalk - Track Which Request is CPU Intensive

At certain seemingly random parts of the day, my CPU usage will spike up from ~10% on 1 m1.large to 70% on 4 large servers. This all happens within 20 minutes and stays this way for a few hours and ...
0
votes
1answer
191 views

Configuring nginx and PHP5-FPM

I have a VPS with 1 CPU Core, when I was searching around for some nice documentation on configuring nginx and php5-fpm I constantly came across stuff like "I have a dual core CPU so I will limit this ...
2
votes
1answer
107 views

How would you configure a dedicated static media HTTP server?

Now that more websites are switching to a set-up with nginx in the front and Apache in the back (or a different webserver doing a better job at serving static media than Apache), I was wondering the ...
5
votes
2answers
1k views

How do I optimize TCP stack for HTTP server?

I have a HTTP server that serves only two kinds of page: about 10 KB and about 16 KB (both compressed, other files are from CDN). As the latency is quite high (ping takes more than 300 ms), I want to ...
1
vote
3answers
1k views

Strategy to optimize raid cache

HP SmartArray have "Accelerator Ratio: XX% Read / YY% Write", that configures how much cache ram dedicated for read, and how much for write. Is there way to find best proportion on alive server in ...
4
votes
2answers
774 views

Disk I/O utilization up to 100% after tuning InnoDB-related MySQL configuration

I have added following lines to "my.conf": query_cache_size=128M innodb_buffer_pool_size=512M innodb_flush_method=O_DIRECT After that Disk utilization started raising, reached 100% and holds ...
3
votes
4answers
798 views

Optimizing apache server load

We have an issue with a dedicated server load. We have 16 processors with 4 core @ 2.40GHz, if I understood correctly cat /proc/cpuinfo output. Unfortunately, I don't have access to free -m or ...
2
votes
2answers
489 views

Nginx+apache2 ubuntu server crashed with several hundreds of visitors

I have Linode 768mb RAM server on Linode. And i have Wordpress blog. On my server installed ubuntu, nginx as frontend and apache2 as backend. And i have APC and memcache modules. Sometimes site is ...
9
votes
2answers
2k views

Linux Slow Start: Changing ip route does not have any effect on initial window

I changed the tcp initial window in my machine to 10 as shown below [user@site etc]$ sudo ip route change default via 17.255.209.1 dev eth0 proto static initcwnd 10 And changed ...
2
votes
1answer
1k views

Finding out TCP Initial Window segment size in linux

I run Centos [user ~]$ cat /etc/redhat-release CentOS release 6.2 (Final) With kernel 3.0.4-x86_64-linode21 How do I check the TCP initial window size in my OS? I need to verify that the IW is ...
1
vote
1answer
1k views

Optimizing Web Server(apache2+nginx+memcached+eaccelerator) for high-loaded heavy application

I have a server with (Apache2 + nginx as reverse proxy, memcached cache and eaccelerator). The application is Magento - it is very heavy, due to high modularity and a lot of php files(5000-10000+). ...
0
votes
2answers
602 views

MySQL InnoDB database 'hangs'

I have a problem with a MySql server causing it to freeze all the time. In phpMyAdmin when this happens I can see in "Show Processlist" are lots of processes for User "unauthenticated user" with ...
0
votes
0answers
379 views

How do I make mediawiki take less memory and run faster?

I am running MediaWiki on dreamhost for two websites. The first gets about 50,000 page views a day, the second gets 12,000. Dreamhost is using mediawiki version 1.16.4 and shows no interest in ...
4
votes
2answers
290 views

Cron job for database repair and optimization

I would like to repair + optimize my MySQL database once a week! How could I do this?
1
vote
2answers
3k views

Optimize php-fpm and varnish for a powerfull server

My setup is: Intel® Core™ i7-2600 and RAM 16 GB DDR3 RAM varnish+nginx+php-fpm+apc for a not very heavy WordPress blog with W3 Total Cache and CDN My problem is that after 55 hits per second ...
0
votes
1answer
339 views

Optimizing Apache2

I have a powerful dedicated server: Intel® Xeon® X3440 Quadcore 4x 2.1 GHz Ram: 16 GB. I run on this server just 1 social network website with max 700 users online. Usually server load is ~0.10-0.30 ...
3
votes
3answers
245 views

How exactly does virtualization help reduce IT infrastructure cost? [closed]

I keep hearing a lot about virtualization and a lot of claims that it helps reduce IT infrastructure costs. How exactly is the latter achieved? Is the benefit coming from running several virtual ...
6
votes
3answers
3k views

Can I optimize these APC settings more?

I would like to optimize APC some more but I am not sure where I could do something. First here is the screenshot after one week of running with the current configuration: I have now the following ...
0
votes
1answer
249 views

VDS Memory Optimization

I am new one for rent a server. I choose a CentOS VDS width 2G memory. After apache+mysql+php install and setting, My server cost 750MB and 1297MB free (I use free -m to see it) And then I run one ...
2
votes
1answer
273 views

squid : faster internet but not responsive

I configured my gateway server with squid proxy for my LAN, everything work normally, the browsing maybe faster because of the cache. but it seems not as responsive as without squid, because when ...
1
vote
3answers
257 views

Optimization advices to server a lot of small files

I have nginx+php-fpm+apc setup. No DB. In data folder i have a simple php script that when called with filename parameter checks if the file exists, if it does then it gives it away, if not then it ...
0
votes
1answer
114 views

Maxing out shmpages

We've got a Media Temple dv install (running dv 3.5) that keeps hitting its hard limit. Currently, it's using 68,124 of 68950 hard limit. They've been less than helpful in helping us diagnosing this, ...
0
votes
2answers
925 views

How to reduce ping between server over the world?

I have some servers in France and in Hong Kong. Ping is quick to google.com, < 10ms in france, and < 30ms in HK. But ping between these servers is greater than 250ms. This is very slow and very ...
0
votes
1answer
154 views

Where server power is lost? [closed]

I have server with 2x2 GHz core but php works very slow on it, I am write syntetic test for($i=0;$i<10000000;$i++) { $x = sqrt($i); } generate ~ 30 sec but on local machine with 2x2Ghz ...
1
vote
2answers
687 views

Apache script for low memory installation

I've been working on improving memory usage on our Centos 5.5 VDS, which now has 512MB of RAM. I've been able to use a tuneup script to greatly improve the MySQL config but am having a bit more ...
2
votes
2answers
226 views

How does a SSL Accelerator work, esp in regard to TLS Session IDs?

There is a theory that the TLS Session ID might mitigate the BEAST attack, and one of the comments at the IETF mention that SSL Accelerators may alter this ID. Can someone explain to me (or tell me ...
0
votes
1answer
132 views

optimize apache for just one client

So I set up apache2 to serve web service. The only consumer of it (and the whole server) will be .net web application. Firstly, is it correct to assume that this way apache will only see one client? ...
2
votes
0answers
1k views

Config NGINX to GZip Font Files? ( Different gzip_types for different directories)

SOLUTION: It turns out it is not my config / NGINX faults - my DNS provider, cloudflare, is preventing the fonts from being GZipped for some reason I'm using NGINX with GZIP_Static module installed. ...