Monitoring Apache Connections

Feb 22, 2008

whats the easiest way to monitor the number of apache connections?

View 9 Replies


ADVERTISEMENT

How Many Connections Apache Can Go Up To

Sep 15, 2008

Just logged in my cPanel, and Apache Server Status shows

Parent Server Generation: 7
Server uptime: 2 hours 52 minutes 5 seconds
Total accesses: 701666 - Total Traffic: 63.7 GB
CPU Usage: u1610.22 s255.4 cu0 cs0 - 18.1% CPU load
68 requests/sec - 6.3 MB/second - 95.2 kB/request
400 requests currently being processed, 0 idle workers

I told customer service and said my website (a big forum) have 4000 people now, I felt very slow, could the slowness caused by this max apache connection setting?

I got reply: "400 seems to be as high as Apache can go. Your httpd.conf settings currently show 500 max connections enabled. If Apache is stopping at 400 then this is it's hard limit for maximum connections. Also If it was able to go even higher you would eventually run into memory issues on the server that would cause the server to crash."

Can anyone tells me if "400 requests currently being processed, 0 idle workers " is a problem or could it be the cause of the slowness. I imagin if more people request connection, and apache can't deal with that much, it has to let those request wait in the queue, therefore caused slowness or time-out.

The seem server could deal with 8000 people online before, no any problem at all and speed was quite fast. I don't know what i should do now.

View 14 Replies View Related

Max Apache Connections

Jan 19, 2007

is a way to understand whats the bext max apache settings for me?

Maybe to look over httpd-status requests currently being processed and the number of idle servers or the number of strokes?

Or probably the best way is to use some benchmark application but then i am not sure how to test my config?

View 4 Replies View Related

Too Many Apache Connections

Sep 24, 2007

I currently have a dedicated server with the following specs:

Celeron 2.6ghz
2gb ram
100mbit connection

the cpu load is always under 0.7, and I always have at least 400mb of free ram.

The site takes about 5-10 seconds to load a test page with just a single word on it. When I type netstat -n | grep :80 | wc -l
I get around 1100-1200 connections. I get about 130k page views per day.

My site is about 95% static html, it has about 150 images per page. How can I speed up my site?

Here are my apache httpd.conf settings:
Timeout - 100
KeepAlive - on
KeepAliveTimeout - 12
StartServers - 48
MinSpareServers - 32
MaxSpareServers - 64
MaxClients - 1500
MaxRequestsPerChild - 1000000

View 6 Replies View Related

Monitoring The Apache Server

Jan 16, 2007

i have set up an apache server on the redhat CentOS 4.2.my apache server is running very slow. will u pls tell me which parameters do i need to check for this problem? which parameters do we check for monitering the apache server?

View 0 Replies View Related

Weird Single IP Uses Up All Apache Connections

Jul 11, 2009

Our web server encounter a problem lately, that an IP address in India repetitively sent requests that uses up all connections available in Apache. All connections appear to be in W state. The connections are not terminated by Apache even though timeout has been set to lower 30 seconds. Similarly, MySQL connections also are not dropped until Apache is restarted.

View 7 Replies View Related

Maximum Number Of Apache Connections

Feb 24, 2007

I would like to know what is the maximum number of Apache connections a Server can handle? Does this depends on the Config of the Server? Is it Possible for a server to handle more than 2500 Active Apache connections without timeout / connection failure / slowness?

View 6 Replies View Related

Apache Won't Terminate Connections, We're About To Give Up!

Apr 19, 2007

I've got an older "Super Server P4" series server @ ThePlanet - it's been a great box for years. We recently upgraded php4 to php5 and did a mysql upgrade as well. Ever since, randomly, without warning, Apache stops terminating connections, so the max connections fills up, and httpd won't respond. Apache doesn't stop running, it just max's out and stops accepting new connections, so customers assume the server is "down", although email/FTP work fine.

The server never crashes, the loads stay down, but httpd just fills up and won't accept more connections. We can't increase max connections (we actually DECRESED IT), because they'll just keep piling up, never terminating, and then ultimately, it will crash the box.

My admin has worked for nearly 2 weeks trying to figure it out, and Scott (AtomicRocketTurtle) and his team have been evaluating it for about a week - it's happened 3x in 2 days ... last night, httpd quit responding for about 7+ hours and since we didn't have httpd monitoring, we never knew until the office opened this AM and I had two very angry customers. Scott suspects it may be some rogue application that triggers it that didn't affect it prior to the php5/mysql upgrades.

Both Scott and Parm, my admin, have about thrown in the towel and are recommending we retire the server and migrate to a new box.

It's older - much older .. I'm pasting specs below, RHEL3, Plesk 7.5 .. but just wonder, before retiring an old server that was RUNNING GREAT prior to the upgrade, maybe someone has seen this happen before?

If so - PLEASE LET US KNOW before I spend the $$$ on a new box.

Current box's specs:

CPU GenuineIntel, Intel(R) Pentium(R) 4 CPU 2.80GHz
Version psa v7.5.4_build75060118.18 os_RedHat el3
OS Linux 2.4.21-47.0.1.ELsmp
RAM: 1GB, with 2GB swap
apache 1.3.31
bind 9.2.4-20.EL3
coldfusion Component was not installed
coldfusion-support 7.3-2.96.128
courier-imap 3.0.8-rhel3.build75050824.12
drweb 4.32.2-rh7_psa
drweb-qmail 4.32-rhel3.build75050824.12
frontpage 5.0.2.2634
httpd 2.0.46-61.ent
jdk 1.4.2
logrotate 3.7
mailman 2.1.5.1-25.rhel3.7
mod_perl 1.99_09-10.ent
mod_python 3.0.3-5.ent
mysql 4.1.21-2.rhel3.art
perl-Apache-ASP 2.57-rhel3.build75050824.12
php 5.0.4-13.rhel3.art
phpmyadmin 2.5.3
phppgadmin 2.4.2
postgresql 7.3.6-7
postgresql-server 7.3.18-1
proftpd 1.2.9
psa 7.5.4-rhel3.build75050824.12
psa-agent 1.3.2-2_psa7.1
psa-api-rpc 7.5.4-rhel3.build75050930.11
psa-bu 7.5.4-rhel3.build75050926.17
psa-horde 3.0.5-rhel3.build75050824.12
psa-imp 4.0.3-rhel3.build75050824.12
psa-logrotate 3.7-rhel3.build75050824.12
psa-manual-custom-skin-guide 7.5.4-rhel3.build75050824.12
psa-migration-manager 7.5.4-rhel3.build75050930.11
psa-proftpd 1.2.10-rhel3.build75050824.12
psa-qmail 1.03-rhel3.build75050824.12
psa-qmail-rblsmtpd 0.70-rhel3.build75050824.12
psa-spamassassin Component was not installed
psa-tomcat-configurator 7.5.4-rhel3.build75050824.12
psa-turba 2.0.3-rhel3.build75050926.17
qmail 1.03
rblsmtpd 0.70
samba 3.0.9-1.3E.12
spamassassin 3.1.3-1
SSHTerm 0.2.2-rhel3.build75050824.12
stunnel 4.04-4
tomcat 4.1.24-full.2jpp
webalizer 2.01_10-15.ent

View 4 Replies View Related

How To Set Max Number Of Connections In Apache (on Windows 7)

Apr 11, 2013

I am trying to figure out how Apache is working on windows 7 - so far so good - but how do I set restrictions and limitations on bandwidth usage and max number of IP-connections?

View 1 Replies View Related

Apache :: TCP Connections Getting Restarted (2.4.6-x86 Server)

Oct 29, 2013

Webserver is restarted all TCP connections randomly. we are not able to get any error into errorlog file.

Webserver close all TCP connection and start created new TCP connection for new request.

AcceptFilter http none
AcceptFilter https none

Also, conf file is saying that
Defaults Values are:
EnableMMAP On
EnableSendfile Off

Not sure what's wrong with server.

We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).

Also, we are using mod_jk module for connecting to tomcat server "tomcat-connectors-1.2.37-windows-i386-httpd-2.4.x.zip".

View 4 Replies View Related

Apachetop Or Other 'live' Monitoring Of Apache

Jan 28, 2008

What's the best way to monitor apache in as close to a live manner as possible. I am hoping to get something similar to Top that would show the current number connections, maybe the URL being hit and other stats of that nature.

I know I can use mod_status (either via WHM Apache Status) or outside of it, but that has to be constantly refreshed (manually or automatically) and creates GET /whm-server-status?refresh=60 HTTP/1.1 entries that kind of skew the stats, depending on how often you refresh.

Is apachetop a solid choice? Any downsides?

Is there a better tool to have a 'live' view of apache's activities?

View 6 Replies View Related

Apache :: Network Log File Monitoring

Oct 28, 2013

Apache 2.2.22...I have apache installed on a raspberrypi computer running Debian for an ARM processor. There is no screen attached to this computer so configuration is by ssh or webmin.

Is there any log monitoring program that can view apache's log file via a network.At the moment I have to copy it from my raspberrypi to my laptop then read it.

View 2 Replies View Related

Check Which Account Apache Max Out The Number Of Connections

Nov 13, 2008

I am facing to this trouble: apache max out the number of connections. When viewing status, all I get here

Code:

SrvPIDAccMCPU SSReqConnChildSlotClientVHostRequest
0-028240/6/65R 0.1414290.00.020.32 ??..reading..
1-028170/17/65R 0.111510.00.030.22 ??..reading..
2-028350/3/57R 0.20112210.00.000.24 ??..reading..
3-027570/33/62R 1.431412930.00.130.21 ??..reading..
4-026430/75/75R 2.12153190.00.310.31 ??..reading..
5-026440/52/52R 2.061610.00.240.24 ??..reading..
6-028180/13/60R 0.621600.00.070.22 ??..reading..
7-026490/63/63R 2.84143070.00.370.37 ??..reading..
8-028190/7/43R 0.271610.00.020.27 ??..reading..
9-028080/27/76R 0.361410.00.040.29 ??..reading..
10-026750/50/52R 2.9617630.00.260.26 ??..reading..
11-027720/23/49R 3.641600.00.100.19 ??..reading..
12-026620/64/64R 2.201520.00.290.29 ??..reading..
13-027730/25/64R 1.121500.00.140.19 ??..reading..

which account on server is the reason please? I am on CentOS box with DirectAdmin.

View 2 Replies View Related

Rule To Limit Apache (port 80) Connections From 1 IP To 15

Apr 12, 2007

any good rule to limit Apache (port 80) connections from 1 IP to 15 with iptables/csf?

And total connections to the box to 100?

View 6 Replies View Related

DOS Attack Over Apache, Full Of READING Connections

Feb 5, 2007

As you can see my apache is full of Reading connections..... they are filling up my server dening legitimate users to browse trought the websites hosted there... I think this is what is happening to me:
http://mail-archives.apache.org/mod_...l.gmail.com%3E

Im using apache 1.3.3.7 on RHES 3 with latest patches and kernel.

930 requests currently being processed, 6 idle servers
RRRRRRRRWRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRR
RRRRRRRRRWRRRWRRRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR_RRRRRRRRRRRRR_RRRRRRR
RRRRRRRRRRRRRRRRRRRRRRWRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
R_WRRRRRRRRRRRRRRRRRRRRWWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRR
RRRRRRRRRRRRRWRR_RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR_
RRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRR_RRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRR
RRRRRRRRRRWRRRRRRRRRRRRRRRRRRRRRRRRRR.RRR.......................

1-044940/40/40R 0.33340.00.060.06 ??..reading..
2-044950/55/55R 0.47330.00.110.11 ??..reading..
3-044960/35/35R 0.31330.00.050.05 ??..reading..
4-044970/38/38R 0.13210.00.090.09 ??..reading..
5-045410/40/40R 0.16360.00.130.13 ??..reading..
6-046190/28/28R 0.12110.00.030.03 ??..reading..
7-046220/34/34R 0.35320.00.100.10 ??..reading..
8-051640/34/34R 0.135100.00.300.30 ??..reading..

Also, here is the top output of the top command:

top - 12:46:21 up 10 min, 1 user, load average: 1.40, 2.03, 1.06
Tasks: 1063 total, 2 running, 1060 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.9% us, 1.6% sy, 0.0% ni, 93.1% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 2073516k total, 2001984k used, 71532k free, 42384k buffers
Swap: 2048276k total, 0k used, 2048276k free, 178096k cached

Server seems to be fine, but total tasks are always between 1060 and 1124... thats very rare too..

how to avoid this attack?

View 14 Replies View Related

Limit Apache (thread) Connections Per Request

Jan 9, 2007

I've been having trouble the past few days with someone who's been "attacking" my site so to speak by continuously downloading very large files with as many connections as (he) can open. I operate a large downloads site for computer games, this person has selected the largest files (like 400-500MB). Not sure of the real intent other than to clog up my bandwidth capacity. Also he appears to be using proxies since as soon as I ban one, another shows up seeminly from China.

Anyway, I have mod_bw and I've limited the number of connections in the downloads area to 2. While that works ok, his tool uses threads like a download manager would and he's using up 30-40 child threads for his 2 file downloads.

So 2 questions,

Is there anyway to not only limit file downloads to 2, but limit the number of connections per request? Many of my visitors do use download managers and I'd like for them to continue using them but use a reasonable number of threads like 6 or 8, but not 30.

Also, is there a way to restrict access to someone using a proxy?

View 2 Replies View Related

Get The Number Of Current Connections In Apache Server?

Apr 7, 2014

I am interested to know number of current connections in my Apache server
Server version: Apache/2.2.15 (UNIX)
OS : Solaris 5.10

View 5 Replies View Related

How Do I Fix "excessive Apache Connections"

May 2, 2008

I just received an email saying

We were forced to suspend your account due to excessive apache connections causing ftp to go down. Here is a snapshot of the activity:

242-0 22189 0/57/57 W 1.24 10 0 0.0 0.09 0.09 xxxxxx xxxxxx.com
243-0 22194 0/1/1 W 0.01 0 0 0.0 0.00 0.00 xxxxxxx xxxxxx.com GET
244-0 22214 0/4/4 W 0.15 4 0 0.0 0.03 0.03 xxxxxx xxxxx.com GET
And when I was on the phone with the support, they told me my site had opened up 400 apache connections + using the GET command and was causing FTP slow downs.

It just happens so that a file I posted made its way to a popular forum and all the sudden, everyone was downloading the file.

What is the best way to correct this problem? and GET? Isn't that a FTP Command? but people were downloading via [url]

View 2 Replies View Related

Ip Connections

Dec 22, 2008

Sometimes my server surcharge load average increase at 60 , and all my configuration are OK

when i type :

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
i have : ...

View 8 Replies View Related

Too Many Connections

Dec 21, 2008

I tried to update a plugin at my blog its a wordpress blog, as soon as the update was started that site on the server stopped working, (later on i closed the upgradation window), after few minutes website start working automatically, Now in my opinion I think that update process is still running in background thats why connections are creating continuously to that website IP.

[root@server ~]# netstat -alpn | grep :80 | awk '{print $4}' | cut -d: -f1 |sort |uniq -c
1001 serverIPhere
its even touching 1500, I tried to contact my server support but unfortunately they can investigate the issue, instead they told me to check with the following command.

netstat -plan |grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c

which is not an answer to my question. Can anybody please tell me why those connections are making to that website's IP? I don't think its a Ddos attack, because it was just started when i updated the plugin.

View 10 Replies View Related

VPS Connections/sec

May 19, 2008

Could someone comment on the kind of load a VPS service can handle? If I were to run an HTTP server how many connection/sec would be realistic.

View 3 Replies View Related

How Many Connections At Once

Mar 6, 2007

How many simulteanous connections to the site do alot of webhosting company usually allow with shared hosting packages. I was wondering because4 some companies say pay $$ a month get 300gb of bandwith a month. Can they limit the bandwith by limiting your simulteanous connections? I am asking because I just found out my host only allows 50 per hosting package that is on a shared server. To me that seems to be very little.

View 1 Replies View Related

DNS Tcp Connections

Apr 19, 2007

WARNING: One or more of your DNS servers does not accept TCP connections. Although rarely used, TCP connections are occasionally used instead of UDP connections. When firewalls block the TCP DNS connections, it can cause hard-to-diagnose problems. The problem servers are:

Error [No response to TCP packets].

APF is installed on the server, how do I allow TCP DNS connections? I already added port 53 to ingress/egress for TCP and UDP.

View 7 Replies View Related

How Many Connections Per IP Is Too Many

Dec 20, 2007

I run this a few times a day:

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

and get outputs like (just the bottom here, IPs removed):

8 IP #1
8 IP #2
8 . . .etc
8
9
9
9
9
9
10
10
11
12
13
14
15
18
19
25
26
32
32
91

The server runs gallery2, how many connections does an IP need just to browse the gallery? I'd like to block wget etc, but don't want to hurt search engine optimization (SEO). Is there a compromise, like limiting IPs to 5 connections, so the site still gets crawled, just slower?

DDoS deflate is installed: [url]

which permabans IPs with 150+ connections

Also what are the commands to block and unblock these IPs,

View 2 Replies View Related

Cpu Monitoring

Jan 18, 2008

way to monitor my servers cpu load, but more importantly is there a way to monitor which php scripts are using the most resources? i have searched around and haven't found much information. i use fedora, apache, mysql just so you know.

View 4 Replies View Related

Monitoring

Jun 24, 2007

external monitoring services for http, ftp, mail, uptime, ping, etc; preferably with some reporting options.

I have been using uppanel.com but am looking for a service with more regular checks and no limitations.

View 9 Replies View Related

VPS Monitoring

Sep 22, 2007

to monitor our VPS's customers, not our up time but our VPS customer sites resource usage.

Maybe a mixture between TOP/PS and WHM|Server Status|Apache Status
Summarized by domain in a period of time.

Our VPS is going blackzone many times/day and I need to find in real time the actual offending site or application.

I need something that tell me in plain english:
- Site XXX is taking all your VPS resources
- Application XXX is just bombing your VPS
- Close port XXX because your're under hacking

View 12 Replies View Related

Firewall TCP Out Connections

Oct 29, 2008

Firewall TCP Out Connections

My server started lagging up and I processed my configserver firewall logs and founds tons of TCP out connections. How can I track down which user was making these connections, if possible?

View 12 Replies View Related

Max Concurrent Connections

Apr 21, 2009

i have a vps, and im current use lighttpd, but i want move to litespeed Standard. And i see they limit Max Concurrent Connections =150 on standard version.

but what is Max Concurrent Connections? where can i find it.

and is it the number connection via port 80 (netstat -nt | grep :80 | wc -l)?

View 3 Replies View Related

Cable Connections

May 6, 2009

Has anyone worked with the cable companies on internet connections for hosting? Eg. Comcast, TW.

I worked with a sales rep for Comcast a few years ago on a solution for our offices. He worked out a line that would give us 3+mbits up speed for less then the price of a T1.

It also included a dedicated line to our offices. Would using a cable line be a bad idea for a hosting connection?

View 4 Replies View Related

Over 400 Connections From Bots

Mar 16, 2008

Most of them are from Google and Yahoo...

Server is being heavily loaded beause of this.

I guess blocking crawlers is not the most brilliant

View 6 Replies View Related







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