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

0
votes
0answers
12 views

How to allocate more resources to Node.JS process?

I'm not a (very good) back-end developer so understanding processes and memory are a little about my pay grade. I'm currently building an app using the MEAN stack. I have a separate Express server ...
0
votes
0answers
10 views

ExpressJS + MongoDB: Better to make one API call with 10,000 objects, or 10,000 individual API calls? [duplicate]

I'm building an app that relies on a web scraper built in Node/Express, which operating on the same localhost as my front-facing Node/Express app. I'm trying to optimise as much as possible and I'm ...
0
votes
1answer
15 views

Optimizing mysql and apache ovh vps [duplicate]

My website is 100% mysql php so it gets slowdown and sometimes server shutdown. I'm using VPS Classic: The best cheap VPS - $2.99/month - OVH (VPS Classic 4 - 4 vCores and 8GB RAM). I want some ...
0
votes
1answer
37 views

MySQL Optimization for write-heavy DB, single connection [on hold]

I have a cloud machine with 1 core CPU, 1GB RAM and 24GB SSD. It is running CentOS 6.5, mysql 5.1.73 with default my.cnf. I have a PHP job that runs and fetches data from some other websites, ...
1
vote
0answers
40 views

Nginx performance when running multiple instances on the same machine

I'm trying to understand the performance impact of having multiple nginx instances (masters) running on the same machine, rather than having them all load into a single instance using different server ...
0
votes
0answers
46 views

Performance Issue on Centos Server

I hava VPS from OVH (has 2 GB of RAM, dual core 2.8 Ghz wth 2MB cache, 25 GB RAID 10) with Zpanel 10.1.1 and currently there are 6 websites running on it (2 phpbb3, 3 wordpress and one other script). ...
0
votes
1answer
37 views

whats the best practice to do a long query like deletion of big chunks in mysql

On production servers I need sometime to delete a few 100,000s of rows . The query is optimized but deleting at once will cause servers freeze so I do it manually in chunks deleting for example 5000 ...
3
votes
0answers
53 views

Optimal server stack for Wordpress [closed]

There are numerous tutorials/articles(some even with benchmarks) on how to create an optimized stack to run Wordpress(or any dynamic site, for that matter). The site doesn't get frequently ...
0
votes
0answers
115 views

Cron Job Crashes the Server?

Can a CURL Cron Job fired every minute crash a server, or it's a problem with the code? I had a shared hosting that worked great, then I added a cron job with enters, using CURL, to a specific URL ...
0
votes
1answer
89 views

NGINX and failed (12: Cannot allocate memory)

could someone be so nice and explain me how to solve this problem? in log nginx print: 2015/06/24 11:12:19 [alert] 2151#0: mmap(MAP_ANON|MAP_SHARED, 33554432) failed (12: Cannot allocate memory) ...
-2
votes
1answer
55 views

Mysql Optimization For VPS [closed]

I've a bit in a problem optimizing my VPS's (Linux / Cpanel) mysql settings. I don'n know much about Mysql and I'm using this VPS for about 50 different websites. They all had below 100 visitors ...
5
votes
1answer
117 views

redhat tuning for single application with few TCP clients [closed]

I know linux is built for multi-user / concurrent-process, but in corporate level, many of them are used for single (but big application) to support internal service, of which serving only very few ...
0
votes
0answers
55 views

Optimizing Performance for a Reverse Proxy Apache Server Hosted on a Virtual Machine

I am relatively new to web hosting, and I'd like to learn how to go about optimizing a server setup. Let me start off by describing my setup. I have an apache server, which sits on a vmware virtual ...
3
votes
4answers
295 views

What is a core, and will purchasing more cores for my VPS speed up page load times?

I recently purchased a premium WordPres plugin called Hide my WP. I planned on using this plugin for my nonprofit organization's website, which is a multisite WordPress installation with an SSL. ...
3
votes
4answers
333 views

MySQL taking too much CPU

Below is my .cnf file and if I see my CPU consumption 99.99% of it my the mysqld commands. The MySQL server is connected from remote machines that update data in it frequently, but I make sure that ...
-1
votes
1answer
61 views

Tracking the slow - how to list all processes related to web-server?

I wanted to ask people in this community about administration of the Debian based web server - its a dedicated server, hosting a single website. From time to time the web site is slowing down, on ...
2
votes
2answers
526 views

RAID 10 Stripe Size for XenServer

Below is our current server configuration. In a few weeks I will be simulating a disaster recovery by installing 5 new disks (1 hot spare) and restoring all VMs from the backups. Will I gain anything ...
0
votes
0answers
13 views

Setup Server for Optimization [duplicate]

I've got my first Dedicated server and I would like some help with the Optimization of it. I am thinking of going a bit different than the regular setup and I'd like your feedback. Before we start, ...
2
votes
2answers
173 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.] ...
0
votes
3answers
2k 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
2k 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, ...
2
votes
2answers
838 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
108 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 ...
0
votes
1answer
532 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
160 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
175 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
173 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
450 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
380 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 ...
9
votes
3answers
8k 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
167 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
251 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
323 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 ...
0
votes
2answers
108 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 ...
0
votes
1answer
106 views

Remotely automate optimization of mysql database

I am not a mysql or sql expert by any means, and not too savy on FreeBSD, either. We have a server that regularly needs one table to have data deleted < a time frame that leaves only 1 month of ...
-3
votes
1answer
50 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
531 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
588 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
204 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 ...
2
votes
1answer
5k 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 ...
3
votes
2answers
4k 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
4answers
759 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 ...
2
votes
1answer
82 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
206 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
180 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
1answer
178 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 ...
2
votes
0answers
477 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 ...
1
vote
1answer
187 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
196 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 ...
-1
votes
1answer
144 views

What will be the best mysql settings for 3gb server? [duplicate]

I have a 3GB server with the below settings. The issue I am facing is when I pull some records through the admin panel of my site, sometimes it works well, but most of the times it process very slow. ...