I have been doing some googling and not finding the information I am looking for...
If I have two sites, both with their own SSL certificates, hosted on separate boxes..
So it appears that every night at around midnight some server from China attempts to access my drupal site. From the looks of the logs it keeps making the same request every 61 seconds (so as to avoid being flagged by the firewall probably).
The site is a simple penny auction site.
The site runs on:
MySQL
PHP
At any given time:
an auction can have 100 - 2000 concurrent users.
With a server running Apache and PHP via mod_fcgid, I'd like to log all requests handled by PHP into a separate file so that I can get a better idea of which requests are going through PHP versus being handled directly through the filesystem.
This is a site with some pretty complex rewrite rules in .htaccess (Wordpress with W3 Total Cache), which translates cached PHP requests into static file re
We have a service configured that must go down once a week for maintenance as it is dependent on the ERP system which goes down.
After scratching my head trying to figure out why my site was responding so slowly even though the server resources are fine, I finally checked the Apache status and found:
78 requests/sec - 0.7 MB/second - 8.5 kB/request
256 requests currently being processed, 0 idle workers
It appears that my apache is literally maxed out with connections.
I have a hardware firewall between the internet and an Ubuntu 8.04 LTS system.
I am seeing requests come out of the Ubuntu system that are port 53 UDP packets (DNS requests) going to many different IP addresses (not just my registered DNS server).
I'm doing some research into how I can collect and graph useful statistics from apache per vhost:
Bandwidth Usage
Number of requests
Errors
Busy workers
Free workers
Queued/Waiting requests
Bonus points for solutions including average performance for:
Request time
Requests / second
Requests per keep alive connection
All of the above overall rather than per vhost
I've been spoiled by awesom
Two dedicated separate servers running with identical configuration of hardware (Dual E5-2620 32GB) in similar environment (CentOS 6.3, Apache+PHP+MySQL) serving similar tasks, but behaving in different way of processing Apache web server - CPU usage 17x times bigger in server which has lower requests.
CPU Usage: u2.03 s1.05 cu316.97 cs0 - 4.35% CPU load
11.9 requests/sec - 5.3 kB/second - 4