Questions tagged [optimization]

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

A system may be optimized so that it executes more rapidly, or is capable of operating with less memory storage or other resources, or draw less power. The optimized system will typically only be optimal in one application or for one audience. For example, one might reduce the amount of time a task takes to perform at the price of making it consume more memory.

339 questions
1
vote
1 answer

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 50 users online. The VPS uses WHM/cPanel What I'd…
Aleix
  • 119
  • 2
1
vote
1 answer

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 often while I'm asleep. Assuming this is legitimate…
Jack
  • 11
  • 1
1
vote
3 answers

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 reasonable time? What stats can be collected, and…
1
vote
2 answers

Mysql 5.5 Defragmentation not reducing the fragmentation percent

We are running OPTIMIZE TABLE , but not seeing any fragmentation reduction. They are as high as 120% to 200%. Am calculating the fragmentation % using this: Data_Free / (Data_Length + Index_Length) My tables are using INNODB engine and …
1
vote
1 answer

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+). Software versions: Server version: Apache/2.2.16…
Jevgeni Smirnov
  • 492
  • 1
  • 6
  • 22
1
vote
3 answers

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 downloads it in the same folder and then gives it…
Jim
  • 410
  • 4
  • 14
1
vote
2 answers

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 trouble getting Apache's memory usage down. Part of my…
John Gardeniers
  • 27,458
  • 12
  • 55
  • 109
1
vote
1 answer

do you need to reboot after tweaking linux tcp settings?

I'm wondering if you need to reboot if you make changes to settings related to linux tcp such as tcp_window_scaling.
incognito2
  • 935
  • 4
  • 13
  • 17
1
vote
2 answers

Using CommVault to backup a NAS without NDMP

We have CommVault Simpana 9.0.0 build 84 currently installed and configured on our backup server that is equipped with both a magnetic array and a tape library. I am trying to find a way to backup one of our Buffalo TeraStation TS-RX400TL NAS…
unauthorized
  • 35
  • 2
  • 7
1
vote
2 answers

Optmizing tape media usage for CommVault Simpana 9

My employer has CommVault Simpana 9.0.0 build 84 currently installed and configured on our backup server that is equipped with both a magnetic array and a tape library. It may be a newbie question, but it seems as if the system refuses to copy to…
unauthorized
  • 35
  • 2
  • 7
1
vote
2 answers

Mysql Optimization - table_open_cache, query_cache

I have already optimize many times my Mysql server but now I want to have your advices. mysqltuner: -------- General Statistics -------------------------------------------------- [--] Skipped version check for MySQLTuner script [OK] Currently…
scraly
  • 11
  • 1
  • 1
  • 3
1
vote
1 answer

Addressing slow to connect time issues on NGINX

I intermittently perform 3rd party speed tests using http://tools.pingdom.com on my server. Recently, I have started to see long yellow bars for some of the static content on my sites, like images and CSS files (my understanding is yellow bars…
Professor Frink
  • 529
  • 4
  • 7
  • 15
1
vote
2 answers

How to enable /dev/shm RAM disk for MySQL?

How to enable /dev/shm RAM disk for MySQL? (temp dir in /dev/shm) $ vi /etc/fstab tmpfs /dev/shm tmpfs defaults,size=512m 0 0 $ mount -o remount /dev/shm Is this correct? Now what? ...... ...... ...... Server info: VPS (Xen) 1.5GB RAM
Randomprogrammer
1
vote
3 answers

Apache rewrite rule (that already works) optimization : any good advice?

Here's my goal : I have 9 websites running (names changed of course) : we.com we.fr doo.com doo.fr fpp.com ke.com wpp.com wgg.com t-y-u.fr I wanted for each website : a directory to put a rotating log file. Done. update awstats for each on a 24 h…
Olivier Pons
  • 622
  • 1
  • 5
  • 22
1
vote
1 answer

Random Lag in Apache before serving files

I've been trying to troubleshoot some random lag that happens in less than 3% of requests I'm sending to my server. I wrote a testing script that uses PHP's file_get_contents on a seperate server and uses timestamps all over the place to time how…
Andrew
  • 245
  • 3
  • 8