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

5
votes
2answers
573 views

How can I handle big traffic spikes on my dedicated server?

I have an E-Commerce site, which gains a sudden peak of very high traffic when I turn on different ads campaigns. From this moment on, my current dedicated server (Hostgator, 4GB Memoray, 100mbps ...
2
votes
1answer
122 views

Would software RAID0'ing SSDs help or hinder maximization of useful CPU work throughput?

My question is in the title... here is some background: [OS is Linux.] [UPDATE: The contents of this RAID0 is redundant (sync'd from SCM). I am not worried about the increased risk of data loss.] ...
2
votes
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 ...
-1
votes
0answers
13 views

How to optimize Tomcat for small JSON payloads

I'm currently running an API which returns < 1kb JSON & XML messages from a GET Request. Secondarily it also accepts ~3MB data files via a Put request about once a week. I'm running Tomcat ...
1
vote
1answer
856 views

Centos MySQL optimization 4gb ram

I am using Centos 6 64bit on vps with 4gb ram. 1 wordpress website and 2 wallpapers script websites. Wordrpess have 10k visits daily. Site is slow. My.cnf # Example mysql config file for large ...
2
votes
1answer
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. ...
1
vote
2answers
621 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 ...
0
votes
3answers
54 views

Evaluating the CPU I/O wait on Linux

Doing a top to check the io wait, I get these figures: Cpu(s): 6.7%us, 1.4%sy, 1.2%ni, 85.5%id, 5.0%wa, 0.0%hi, 0.3%si, 0.0%st Looking at these figures (%us ~= %wa), do they mean that: ...
0
votes
0answers
111 views

Apache Worker MPM / PHP-FPM Tuning

I have a VPS running CentOS 6.5, Apache 2.2, PHP-FPM v5.4 and MySQL 5.5. I take advantage of APC and Memcache. The VPS has 8 cores and 8GB RAM. I'm running a medium volume site (15,000 users / day, ...
5
votes
2answers
3k views

Optimizing MySQL for small VPS

I'm trying to optimize my MySQL config for a verrry small VPS. The VPS is also running NGINX/PHP-FPM and Magento; all with a limit of 250MB of RAM. This is an output of MySQL Tuner... -------- ...
2
votes
2answers
187 views

Possibility of WAN Optimization for SSH traffic

While I do understand that SSH by itself is a very low bandwidth utilizing protocol, it is sometimes choking up bandwidth during peak hours in our office environment. I want to know if at all it is ...
1
vote
0answers
62 views

How to use an origin-pull CDN with external CNAMEs?

I have a particular issue that I'm struggling with regarding setting up a CDN. To describe our situation: We are running an ASP.NET based CMS(DotNetNuke), configured with two different web heads on ...
25
votes
8answers
18k views

Why rsync is faster than NFS?

Few days ago I noticed something rather odd (at least for me). I ran rsync copying the same data and deleting it afterwards to NFS mount, called /nfs_mount/TEST. This /nfs_mount/TEST is ...
14
votes
2answers
11k views

How to determine the best byte size for the dd command

I know that doing a dd if=/dev/hda of=/dev/hdb does a deep hard drive copy. I've heard that people have been able to speed up the process by increasing the number of bytes that are read and written at ...
2
votes
1answer
764 views

XDEBUG/PHP doesn't dump profile even when set up properly?

I installed xdebug from source, but also tried my package manager (separately) and they both are loaded correctly (verified by restarting Apache and seeing the xdebug copyright info in phpinfo()) but ...
0
votes
0answers
141 views

Tuning Apache KeepAlive Timeout for HTTPS

My website forces HTTPS everywhere and has an average first load time of 3-5 seconds. Thanks to caching, repeat load time is 0.8 seconds. The SSL negotiation takes 150-300ms on my server, so I want ...
0
votes
1answer
85 views

Why this server is so slow?

I hired a VPS in DigitalOcean, it's hosted in Amsterdam, I'm in Turkey. But server is responding slowly and page is freezing/lagging even at ajax POST-GET request.(there is a basic browser game in ...
1
vote
2answers
761 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 ...
1
vote
2answers
104 views

My Vps is too Fragile

I am using digitalocean $5 plan. 1 cpu , 512mb ram , mysql + apache , nginx + centos 6.5 + cpanel installed. 2 wordpress site on that. But if I reload page of one of my sites, cpu usage increasing ...
0
votes
0answers
24 views

Will pfctl -sr show ordered rules when using -o profile?

When I enable the -o profile option with pf will pfctl -sr show me the new order of the rules?
2
votes
1answer
2k views

Nginx “ssl_stapling” ignored, no OCSP responder URL in the certificate

I'm trying to setup OCSP stapling on Nginx because I ran a test and it suggested the idea and well, you know. https://sslcheck.globalsign.com/en_GB/sslcheck?host=aj2jewellers.co.uk#176.58.103.165 ...
0
votes
0answers
85 views

PHP-FPM showing 34 worker process despite adjusting configuration

I recently asked this question and I got an answer about how I should limit php-fpm from running 34 worker process, considering that I get on average 20 visits for one light website. So, I ...
1
vote
3answers
236 views

What is the Ideal value for Worker Processes in Nginx Config?

I have 31GB RAM 8 Core Web Server with current load of 3k per min. Currently worker_processes parameter in nginx config is 4 which as per my understanding means only 4 cores would be used. But when I ...
2
votes
1answer
210 views

Slow disks but lots of RAM - optimization tips?

I have a Windows Server 2012 with rather slow hard-drives BUT with a lot of RAM and I can't change that (it's an Amazon EC2 actually). What can I do to optimize performance? I have 16 GB of physical ...
7
votes
3answers
3k views

Maximizing rsync performance and throughput - directly-connected gigabit servers

I have two Dell R515 servers running CentOS 6.5, with one of the broadcom NICs in each directly attached to the other. I use the direct link to push backups from the main server in the pair to the ...
0
votes
1answer
112 views

How to speed up Outlook 2007 / Exchange 2003 mail searches?

Our current setup is the Outlook 2007 client connected to an Exchange 2003 server. We run the client on 2K3 terminal servers and have disabled PST files. There is quite a large volume of emails stored ...
0
votes
0answers
174 views

samba over NFS large file

For several months we encounter problems delays : we have a server ( os: ubuntu server 12.04 ) with samba and ldap service . Our clients are on Mac, Windows and Linux client ubuntu . Huwaei NAS ...
0
votes
2answers
205 views

Optimize images on CentOS server [closed]

I have a huge directory of images on a CentOS server (~65gb). The images are predominantly jpeg's but theres some png's and a couple of gif's. Here's the annoying and weird part - the images are all ...
1
vote
2answers
524 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 ...
2
votes
4answers
520 views

Network Latency over WAN

Let me take a minute to explain the background of the challenge I am facing. My company has offices in US and Asia. The users work on large CAD files. The office in US has NAS (Network Attached ...
14
votes
6answers
501 views

First days online : how not to kill your site

Suppose you have this fancy new site, with lots of data (like big images), and you're about to put it online. If you do "too much" publicity, during the first days, the site will be overwhelmed with ...
0
votes
2answers
81 views

MySql table optimization causing more problems than it solves

I have a heavily accessed table corresponding to user's private messages, with over 10 M rows. When I run the user deletion process, obsolete messages are deleted from the table, typically more than ...
2
votes
1answer
1k views

Tuning MySQL of 1.3 G DB, 8GB Ram, High IO Wait

I am having MySQL database of size 1.3 GB on 8 core virtual machine, 8 GB of memory and I am having troubles optimizing the configuration. There is a lot of small rows and lot of joins going on. I've ...
1
vote
1answer
140 views

MySQL occasional non-responsive only on one database

I have an issue that occasionally (once or twice a week, not necessarily during peak hours) that queries on a certain db (the db of the largest of my sites) suddenly stop responding for about an hour. ...
-3
votes
1answer
45 views

Choosing between which HTTP, DB, Optimization tools on a VPS server [closed]

I am finally moving from a Shared hosting to a VPS hosting on Digital Ocean. Since now I have control of what I can install, I would like to know which of these are preferred to install. Web Server ...
1
vote
1answer
359 views

Directadmin Apache server finetuning advice

I currently have a dedicated server from which I provide shared hosting for some clients of mine. Server specs AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ 4GB DDR RAM 1x Seagate ...
1
vote
2answers
334 views

mysql configurations for best performance

I have a huge magazine on dedicated server(1 website only on the server), all time the server have big load, "top" tool show me that the user "mysql" make this load: PID USER PR NI VIRT ...
0
votes
2answers
144 views

Centos 6 webserver - best use of spare memory [closed]

Just after any quick easy suggestions about where I should try tweaking my web server to use some of the spare memory and reduce CPU usage. Sorry if I'm a bit vague, but this isn't really my area. I ...
3
votes
4answers
437 views

Optimize Apache performance

I'm looking for ways to optimize our current web server hosted in-house. I'm trying to supply as much relevant information below. Please let me know if you would require additional information in ...
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 ...
3
votes
2answers
2k views

PHP + Apache long wait time

I've run into a bit of a brick wall with troubleshooting my dedicated websever. Recently, my website spiked with the amount of request/per second and it crashed. The box original had 8GB of RAM, 8 ...
2
votes
1answer
65 views

Linux Kernel setup: is it good idea to enable everything in Cryptographic API?

There are several implementations for some algorithms, which use CPU instructions which may or may not be available on current system. Is it good idea to just enable (in kernel, not as modules) all of ...
0
votes
1answer
115 views

Centos help optimize Apache and kernel

I am looking for tips/articles on how to optimize CentOS for production use I will have 2 servers 1 web server where haproxy will also running Haproxy will be in front of apache and will be proxying ...
1
vote
1answer
129 views

Drop caches in Linux

I have an embedded Geode-based application server with 512MB RAM and I'm about to try to maximize free memory during applications workload, which uses MySQL database 5.5 with InnoDB quite ...
0
votes
3answers
11k 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. ...
5
votes
6answers
567 views

Capacity Optimization / Deduplication Options for Primary Storage

I'm exploring options for making more efficient use of our primary storage. Our current NAS is an HP ProLiant DL380 G5 with an HP Storageworks MSA20, and one other disk shelf which I'm not sure what ...
0
votes
1answer
123 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 ...
1
vote
0answers
371 views

High latency on domain with CDN

High latency on domain with CDN I have problems with latency on my server, these are the tests I made with blitz.io Latency album http://imgur.com/a/bCmwo I would uploaded images here but it ...
-3
votes
1answer
134 views

Can postgres go faster? [closed]

My question is simply: have i missed any configuration settings that might make postgres achieve better read throughput? Background I'm modeling a very simple twitter program. My schema has only 3 ...
3
votes
2answers
201 views

What's the optimal server configuration for fastest inserting in a MySql database in this scenario? [closed]

I have a MyISAM table partitioned by range with 90 partitions representing the last 90 days. I expect this table to receive somewhere between 500 million to 1 billion records before i start rotating ...