Apache :: CentOS - Measuring Performance Of Server

Feb 25, 2015

I have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.

Average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output

ab -n 10000 http://127.0.0.1/1.php

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35

With Concurrent connections

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms when total request is 1000 only.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

How to configure the Apache so the request time decreas to low ms ???

In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.

View 1 Replies


ADVERTISEMENT

Poor Performance Of SuperMicro PDSMi And CentOS

Jan 4, 2007

I've got some hardware based on SuperMicro PDSMi and trying to run CentOS 4.4 on it.

It all installs fine however Disk Performance is extremely poor:

hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 12 MB in 3.30 seconds = 3.64 MB/sec

hdparm shows the hard drive is running in funny mode:

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 20023/255/63, sectors = 164696555520, start = 0

And strange thing DMA can't be enabled:

hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

View 8 Replies View Related

Apache Performance

Jun 14, 2008

my server load is max 1,it wont cross more than 1 but for 2 days iam getting 20 or more,but this load is extents for 1 or 2 min only after that it become normal to 0.58 around 1,in top i can able to see lotz apachi process when the load increase,

View 3 Replies View Related

Performance: Apache 2 Prefork Vs Apache 1.3

Jan 12, 2008

I'm building a new server for a predominantly php5/mysql5 website and was wondering which version of apache to put on. I know there are some issues with PHP and Apache in MPM, but what's the performance comparison between Apache 1.3 and Apache 2 Prefork?

View 4 Replies View Related

Measuring Power Comsumption Of New Servers

Apr 9, 2008

We are taking out a quarter cabinet with 2.5amps from a colo company in the UK. I am just trying to figure out our expected usage figures for a few servers we are looking at putting in there. I'm not an electrician and i am struggling with all this amps, watts and volts stuff!

We are looking at running the following setup:
2 x PE2950 III with 1 Quad-Core Xeon E5410
8gb RAM
2 x146GB SAS (15.000 rpm) 3.5-inch Hard Drive 2 S 4 x 73GB SAS (15,000rpm) 3.5 inch Hard Drive 4 S in each server

2 x PE1950 III with 2 x Quad-Core Xeon CPUs X5450 3.0GHz/2x6MB 1333FSB 8GB 677MHz FBD (4x2GB dual rank DIMMs) 1 S 4 x 73GB SAS (10,000rpm) 2.5in Hard Drive in each server

if we will be able to run the above setup with 2.5amps?

View 1 Replies View Related

Measuring Bandwidth Without Control Panel

Jan 3, 2008

I have DirectAdmin on my server but my customers have no need for it. My customers have no need to create databases, new email accounts, new users etc. etc. so I don't see the advantage of having this on my server.

Is not having Directadmin worth the extra performance and administrative chores?

Is there any way to measure and limit bandwidth on a shared hosting server without using a control panel?

How much resources does DirectAdmin use?

I heard it is not as much as CPanel but doesn't it slow down the server a little?

View 2 Replies View Related

Performance » Deciding On Apache Modules To Use

Jul 30, 2008

what modules I should use in my httpd.conf file. Here's the modules that I currently have enabled / disabled. The site is running specifically off PHP. There is no need for CGI, ASP, or any other languages (to my knowledge). The negotiation module is enabled,. It does not need to be to my knowledge.

However, when I disabled it Apache would not restart. Could someone give some details as to which directives need to be disabled for negotiation to be disabled. Also, does anyone know if negotiation is essential. It is not to my knowledge. Suggestions and comments are much appreciated. Thank you in advance for your hard work and experience being as it's not costing me anything. I will do my best to return the favor.

LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so
# LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
# LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
# LoadModule cgi_module modules/mod_cgi.so
LoadModule logio_module /usr/lib/httpd/modules/mod_logio.so

View 0 Replies View Related

Measuring TCP Retransmits As A Symptom Of Packet Loss

Jul 6, 2008

a tool that can measure how much packet loss we are having on a given server by looking at the packets being sent from it. I.e, something than looks at all TCP/80 connections and measures how many packets and bytes are being retransmitted vs actual packets and bytes sent.

This documents explains it:

[url]

We need this to measure network performance of different hosts where we have dedicated servers. This would be a good way of measuring performance with the actual data of our users.

Does anyone know of such tool? I.e, something that can say

2532 packets/second - 132 retransmits/second (4.8%)
25.43Mbps/sec total traffic - 24.84 Mbps/sec actual data sent - 0.59Mbps retransmits

Even better if it can then break it out on IP prefixes. like

192.0/16: 0.2% retransmits
192.1/16: 3.2% retransmits
192.2.16: 0.3% retransmits
192.3/16: 22.5% retransmits
192.4/16: 0.3% retransmits

This would be a good indicator of connectivity between the host where the tests are ran and other specific hosts.

View 2 Replies View Related

WHM And VM Vps Control Bandwidth Measuring - Huge Difference

Jul 16, 2007

I have VPS account that is controlled my VM management, and VPS runs with WHM/cPanel.

When I login to VM control, it shows that I spent 9.5 Gb of traffic this month. When I check bandwidth in WHM it says 1.2 Gb!

Now, what do you think, which one is correct, and why there is so big difference?

View 1 Replies View Related

How Big Can Apache Access Log File Be Withouth Degrading The Performance Of A VPS

Nov 18, 2007

How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB RAM?

I want to have it as big as it gets withouth seriously degrading the performance...

View 1 Replies View Related

How Big Can Apache Access Log File Be Withouth Degrading The Performance Of A VPS

Nov 18, 2007

How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB dedicated RAM?

I want to have it as big as it gets withouth seriously degrading the performance...

View 3 Replies View Related

Apache :: Enabling Output Buffering And Zlib / How To Check Performance

May 22, 2014

Should I enable output buffering and zlib compression in PHP configuration editor to increase performance?

In global php.ini I have:

output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =

View 1 Replies View Related

Downgrade CentOS 5's Apache 2 To Apache 1.3

Jan 3, 2008

I've been searching around with google regarding how to downgrade the Apache 2.2 which comes with CentOS 5 to Apache 1.3.39.

View 2 Replies View Related

JaguarPC Performance VS. LiquidWeb Performance

Jul 13, 2007

I am using dreamhost host 3 of my web sites and 1 blog. Dreamhost is great, offers alot space and bandwidth.

but I think they are oversellling their space, sometimes it gets really slow. (overselling ? ok, I dont really know, but sometimes its really slow, and most my asian readers said need to refresh to load the page. I am wondering if theres a way to check if they are overselling or not.)

I am thinking about buying vps, even tho, I still got 5 month left with dreamhost.

I found 2 vps companies are highly recommanded on this forum, JaguarPC and LiquidWeb.

theres already a post compared both companies in terms of price and service. I say I will pick JagarPc, cuz, its basic plan just 20 USD, and htey got promotion now, its even cheaper. and basic Liquidweb vps plan is 60 bucks.

I am wondering why Jagarpc is so cheap , are they overselling? how can we check if they are overselling.

I found a few posts saying how good jaguarPc is. and they are not overselling, but those members just signed up this month, and only have 1-3 posts. I cannot really trust those new members.

Can someone share their experience with JaguarPC? compare JaguarPc performance and liquidweb performance. antoher question is switch from dreamhost to JaguarPC basic vPS plan, will performance gets better?

last question: VPS account allows 3 IP, 3ip = 3 domains? if not, how many domains can I have?

View 14 Replies View Related

VPS Performance / Server

Apr 12, 2009

We are getting into VPS hosting and wanted to get some opinions and feedback as we're quite unsure on what to expect as for performance and how many clients we can generally keep on a box.

For now we've bought 3 dell R710 with dual Xeon L5520, 72GB ram and 8 x 2.5" SAS drives.

We are thinking of a base offering of 512 megabytes of ram and
was hoping to get about 40-50 onto a server.

With 40 there should be -plenty- free ram and plenty drivecache.

Then a next offering of 1 gig ram and next one of 2 gigs.

Even if we do the biggest 2 gig offering with 25 on a server we should have free ram to spare.

The software would be virtuozzo.

Any thoughts on this, am I expecting too much, or am I being fairly realistic?

View 6 Replies View Related

Server Performance Optimization

May 7, 2009

Hi"Optimization of computing resources has long been an important management issue. One of its aspects concerns server scalability and the question of whether an organization should scale-up or scale out.Assume that the computing performance of the servers can be measured by variable 0 <=p, that their total cost is given by "c" and the relationship between server performance and cost is defined by c=&#945;p^&#946;"

a. What is the cost-performance elasticity(&#1106;), precisely?

b. What would be the range of values for &#1106; that would be expected by moore's law and what are its implications?

c. What would be the range of values for &#1106; that would lead managers to scale-out? Draw a graph and throughly explain the implications.

View 8 Replies View Related

Worldwide Server Performance

May 2, 2009

We are a web-based Yacht Charter company, with offices scattered around the world:
www.boatbookings.com

Currently, both our web site and our back-office business management system are hosted on a single server in the UK, with an automatic fail-over to a server in Dallas, TX, USA.

The problem we are having is that our sales office in Singapore is having really slow response times and this is very frustrating for them.

Using an application called "JustPing" we see that response times From Singapore are much slower than other parts of the world. (the cities closer to London are fastest, the ones further away are slowest)
JustPing Results

Is there anyway to improve this or is hosting our applications on multiple servers the only way to improve performance. What's the best cost-effective method of multiple server hosting?

(Incidentally, if I JutPing Google, response times are fantastic worldwide, but we know they're hosted on many, very large servers)

View 3 Replies View Related

Litespeed Server Performance

Sep 29, 2009

I was just playing around with litespeed and I thought I would switch back to apache for a few min to see how the server reacts. The load with litespeed was 1.00 - 3.00. I switched to apache the load jumped to 28.00 - 35.00. Its amazing how litespeed is handling connections.

View 14 Replies View Related

Web Server Performance Testing

Jun 15, 2008

Is there a site which will enable me to enter url of my website and it will simulate visitors from multiple locations. It needs to open the page completely, and run for example 10 minutes. Two things I found are host-tracker, but it just gets headers from multiple locations, and does it only once. Another thing is Paessler software which can test exactly what I want (number of visitors for some period of time with full page download) but it must be run from one (my) PC, so I can not test bandwidth from multiple locations. I need combination of these two, anyone knows for something like that on the net?

View 5 Replies View Related

Monitoring Server Performance

Aug 17, 2008

My dedicated server is sometimes sluggishly slow. I would like to get a grasp of its performance during a day, to get a better understanding of what's going on.

Therefore I am looking for a server performance monitoring service. All service I found so far were simply monitoring uptime (server is down / server is up). I need something more - a service that checks every 30 seconds or so the loading time of the main page.

Then it would allow me to download the data in CSV or draw a response time graph.

View 2 Replies View Related

How To Monitor My Web Server's Performance

Jan 8, 2007

I've recently found (last 6 weeks) that the performance of my client's websites on my trusted host's servers isn't how it used to be and/or how it should be. The download seems to take way much longer than before. So far it hasn't resulted in a significant drop in average pageviews per unique visitor but it might do if things continue. The host claims a number of attacks on the mailserver and an unusually high load at one point in time. Above all it's just annoying - isn't reliable server performance what can be expected from a reputable host?

Here's the question: what's the best way of monitoring online how the web and mail servers are performing so that I can take this report to my host and urge them to take (more) action? Ideally I'd like to compare this with a seperate web server that I use for another client. I don't mind spending a little bit of money but high subscription fees are not in my budget.

View 4 Replies View Related

Centos 5.2 Apache Vuln

May 23, 2009

i installed httpd from yum and all ok.When i check my site via acunetix vulnerability scanner says Apache version older than 2.2.8.So it is vulnerable.

I must upgrade httpd to newer version but i cant.

Yum update says that httpd 2.2.3 is latest but ITS NOT.

View 4 Replies View Related

JBOSS With Apache On CentOS

Oct 24, 2008

I want to install following S/W on CentOS --->

a. Apache 2.2.9 with SSL

b. JBoss 4.2.3

c. JDK 5.0 update 16

d. Postgres 8.2.10

Are they work properly on the CentOS server?

View 13 Replies View Related

Improve Performance- Web Server, SSH Server, And Mail Server

May 8, 2007

I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.

What I've got running:

Apache2, PHP5, MySQL5, Dovecot, Postfix

One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.

Changing the server software is not an option - Only optimization.

Quote:

Originally Posted by httpd.conf

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache

Quote:

Originally Posted by my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

View 8 Replies View Related

Load On Server Decreasing Server Performance

Oct 11, 2008

We have CentOS 4 and WHM 11 on server .

Now-a-days server is having too much load due to http and in access logs we see following message :
========================================
127.0.0.1 - - [11/Oct/2008:01:40:02 -0700] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [11/Oct/2008:01:40:03 -0700] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [11/Oct/2008:01:40:02 -0700] "OPTIONS * HTTP/1.0" 200 -=============================================

And due to this there is load on server. We are not able to understand why this is happening and how to stop this. So please suggest with some solution.

View 7 Replies View Related

Does VT Improve The Performance Of VMWare Server

May 4, 2009

The newer Pentium 4 3.0 GHz processors had so called 'VT'-support. That's something every regular processor has nowadays.

I currently run a Pentium 4 3.0 GHz server without VT. Will there be a drastic performance boost if I use a Pentium 4 3.0 GHz with VT?

What is VT anyways? I only know that Xen requires it if you wish to host a Windows Virtual Machine on a Xen Linux Server.

View 1 Replies View Related

Methods To Test Server Performance

Nov 2, 2008

I have LAMP -server running and I was wondering how to test it's performance.
So is there any good tools for that? I'm interest how many http queries my server could handle etc.

View 1 Replies View Related

Centos: Upgrading To Latest Php, Apache, Etc.

Dec 5, 2008

I'm using centos 5.2. To my surprise this only comes with php 5.1.6 and apache 2.0

I want the latest versions, php 5.2.7, apache 2.2.10, mysql 5.1 -- Are there any repositories for this available? (Or however I can upgrade with yum)

View 9 Replies View Related

Multi Server Setup For DB Backup Performance

Jan 8, 2009

I am working on a busy and popular website which has a large amount of database activity - and requires hourly backups of all database data.

At the moment the site is hosted on two servers - one for the front end web server, one for the database.

Both servers are running a RAID HDD system which allows quick swaps of faulty HDDs without data loss.
An hourly full backup of database tables is running which is killing the server when it runs.

ISP has suggested installing a third server to run as a slave to the existing DB server, and hence always hold a duplicated of the live database.

I have a feeling however that this is basically just like having RAID mirroring, but on a different machine - so to solve the problem of a potential dodgy SQL statement wiping out ALL copies of the live database, we'd STILL need hourly backups to run, and hence would still see the major system speed drop each hour at the time of backup.

View 4 Replies View Related

High Server Load And Slow Performance

Mar 11, 2009

I am currently hosting my website on one server with the specs:

2.8ghz Dual Quad-Core processor + 8 gigs of ram + two 500 hard drives with a 50 mbps unmetered bandwidth package.

My current problem lies in high server loads and very slow server performance throughout the day.

I am considering migrating over to The Planet onto server with the specs:

3.0ghz Dual Quad-Core + 18 gigs of ram + two 50gb hard drives with 2TB of monthly bandwidth transfer.

In an attempt to have great bandwidth pricing and server performance, I plan on downgrading my current server with my current host to a lowe-end server and keeping it only to host my VIDEO and MUSIC files with the 50mbps unmetered package. The Planet will then host my database and all other web related files on their new server.

Is this a good idea as an attempt to save money in bandwidth costs and eliminating my server lag issues?

I was offered a setup of a separate web and database server at my current host but from what I have read, no one touches the performance and reliability The Planet has to offer.

View 6 Replies View Related

Windows 2000 Advanced Server Performance

Nov 27, 2007

I have a Windows 2000 Advanced Server where there's a performance issue with some of the .asp pages that retrieve data from Access databases, (I know Access databases aren't ideal for data). These pages will just get stuck/freeze, and then either suddenly spring back to life, or give a script timeout error 0113.

The largest Access database I've seen is 136MB (is that way too large?)

I will probably move some of the large Access databases onto a different server but before I do:

- Are there any tools you can recommend to diagnose exactly what files / databases are causing the problem. I don't think the Win 2000 performance monitor tools even work.

- Can anyone explain more about the technicalities behind this issue. I expect it has something to do with processes, threads, memory, Access drivers being loaded into memory etc etc. Can anyone tell me what they know to put me in the picture better?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved