I'm wondering what kind of web server load that people are dealing with when it comes to their web (Apache, IIS, Lighttpd, nginx, etc.) server.
What information I'm curious about: How many raw accesses your web server is dealing with in a given month, and what kind of hardware you have to serve those accesses?
If you have multiple servers, pick the one that has the most accesses in a month.
My results:
My server gets ~2,500,000 accesses a month (about 1 per second) on Apache. The server is a AMD Athlon 64 3800+, 1GB RAM. Hardware handles those requests with no problems.
a log file analysis program that can tell me the exact time an ip address accesses my server and how many times that particular ip address hits the server.
Does anybody know of a package that supports this, or is it even possible?
Is there some way to trigger a script or send an email if someone from a specified IP or IP range (e.g. 125.125.125.%) accesses an account, or any URL on the server? Perhaps by placing something within .htaccess or httpd.conf or something of that nature.
For instance, an email "$IP is visiting the URI $REQUEST_URI" would be sent, or a PHP script that sends the email would be triggered (though in that case, I'd need some way to tell the script the IP and URI).
And in a related matter, is there any way (perhaps some existing software) to filter the access logs of an account to find all requests by a certain IP address?
Samba accesses can be restricted to certain IP / ranges through the access tab in the Plesk Samba extension screen.This builds the /etc/samba/ smb. conf.include file with entered information.All well and good so far.
This file contains the standard 'do not modify...' text, so making manual changes directly here is undesirable. In Plesk are some Linux commands such as /usr/local/psa/bin/php_handler through which permitted changes can be made from the command line.
Is there a similar command included which would allow a shell script to make changes in a supported manner like the /usr/local/psa/bin/php_handler file does? any changes the script makes can be seen in the Plesk Panel and unless admin changes them through the panel will be persistent.
With my hosting account I have access to both memcache and xcache at the same time which at this point I am utilizing both but I have to decide which plugin for wordpress I would like to install since they are both have the same file name and would need to be installed in the same directory.
Currently I am running the memcache plugin and not the xcache because my host says it will perform better under higher load being that memcache is installed on a separate server with 16GB of RAM.
They feel using the xcache plugin would really on be beneficial during times of little strain on the server but not during heavy load.
so what do you think? Like I said both caching systems are installed and running but which plugin should I make wordpress utilize? memcache or xcache?
FYI - I do have times when I have 600 to 800 concurrent connections
If anyone is familiar with memcache... I could really use your help.
I've installed memcache, added the extension to php.ini and it's all showing up when I do phpinfo...
However, when I try to run memcache, I always get that I cannot connect and when I try 'memcached' or 'memcache' from the command line, it always says it can not recognize it.
would I be able to install any additional php modules NOT listed in Cpanel (example memcache, ffmpeg, etc.) on a Cpanel server? If possible, how do I do it?
I am just reading a bit about the memcache module. Does anyone have an opinion if this is suitable for installation on a regular shared hosting server?
i am using seperate server for sql .But my httpd server failed many time when i checked maximum number of httpd connection then my sql server using too many connection what is the reason of this problem . Is my sql server using as a slave in a ddos attack or sql server need http connection?
i have creat my new user and upload his files on it. but when i try this link:
http://ip/~user
i have this error and my friend say that your httpd have problem. but its my new server. how can i solve it ?
404 Not Found
The server can not find the requested page:
ip/~user (port 80)
Please forward this error screen to 69.197.166.71's WebMaster. Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 Server at 69.197.166.71 Port 80
I have 1764 pid started by httpd daemon. I think for some reason the httpd pid is not closing for me. How do i make sure that all of the httpd pid are closing.
I know that there are a lot of posts about this but... i have a problem w my apache... it was working fine until today... i get this e-mail from WHM whenever httpd fails... and its pretty often:
Quote:
httpd failed @ Mon Aug 18 16:23:13 2008. A restart was attempted automagically.
Failure Reason: Timeout while trying to connect to service
I wanna know how to check in the error log the entries of just today. because when i put "cat error_log" i start receiving things from last week and this is happening today...
i've tried /scripts/rebuildhttpdconf and then restarted, but still the same.
I just got apache installed on my box and the process is running. However when I enter my ip address on firefox, nothing loads up and I get a timeout error.
I did a Graceful Server Reboot, but it seems httpd service not running yet,
I got this error after try to restart Apache..
" Restarting Apache Web Server Waiting for httpd to restart..............finished. httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 3319 httpd has failed, please contact the sysadmin. "
and my Log:
[root@XXXXX ~]# tail -f /usr/local/apache/logs/error_log Failed to start up concurrent users module! [Sat Jul 25 20:39:51 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/loca l/apache/bin/suexec) [Sat Jul 25 20:39:52 2009] [warn] pid file /usr/local/apache/logs/httpd.pid over written -- Unclean shutdown of previous Apache run? [Sat Jul 25 20:39:52 2009] [crit] (28)No space left on device: Unable to create or access scoreboard (anonymous shared memory failure) shmget() failed: No space left on device ....
I just stop httpd service for server maintainance , and disable its monitoring from whm services, but after some time it again start even i disable httpd monitoring and service.
I moved a domain of mine from one of my CentOS servers on my SoHo LAN, to one of my CentOS cPanel/WHM servers. Since the SoHo machine had been handling this domain's mail for almost 2 years (300+ mb of mail), I decided to continue running it from home.
The Apache daemon was stopped on said SoHo box following DNS propagation to the cPanel machine, but Apache was automatically started again after having to reboot the SoHo server. Before I got a chance to kill Apache, I got some weird entries showin' up in the access_logs.
I ask simply because I don't recall seeing a "CONNECT" entry in my logs before, and I've been at this for awhile. That or I've just not paid any attention. And what's with the SSL port?
I guess I'm just a little confused as to what was trying to be accomplished here...it hasn't returned since.
right ive got a server thats getting battered at the moment by lots of apache processes, ive moved sql off to a seperate box (with private lan so thats fine) but now i need to optimize/replace apache with something less intensive on resources, only problem is im using plesk on this server so i am not sure if i can change the webserver app?
Trying to troubleshoot an exploit where the code redirecting people to exploit sites is not in the website. I think a module is being loaded dynamically, but I am not seeing the entry point in the access logs. I restart httpd and the problem goes away temporarily.
Anyone see anything fishy?
================== HTTPD MODULES ================== [root@xxx ~]# httpd -L <Directory (core.c) Container for directives affecting resources located in the specified directories Allowed in *.conf only outside <Directory>, <Files> or <Location> <Location (core.c) Container for directives affecting resources accessed through the specified URL paths Allowed in *.conf only outside <Directory>, <Files> or <Location> <VirtualHost (core.c) Container to map directives to a particular virtual host, takes one or more host addresses Allowed in *.conf only outside <Directory>, <Files> or <Location> <Files (core.c) Container for directives affecting files matching specified patterns Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <Limit (core.c) Container for authentication directives when accessed using specified HTTP methods Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <LimitExcept (core.c) Container for authentication directives to be applied when any HTTP method other than those specified is used to access the resource Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <IfModule (core.c) Container for directives based on existance of specified modules Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <IfDefine (core.c) Container for directives based on existance of command line defines Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <DirectoryMatch (core.c) Container for directives affecting resources located in the specified directories Allowed in *.conf only outside <Directory>, <Files> or <Location> <LocationMatch (core.c) Container for directives affecting resources accessed through the specified URL paths Allowed in *.conf only outside <Directory>, <Files> or <Location> <FilesMatch (core.c) Container for directives affecting files matching specified patterns Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None AuthType (core.c) An HTTP authorization type (e.g., "Basic") Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig AuthName (core.c) The authentication realm (e.g. "Members Only") Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig Require (core.c) Selects which authenticated users or groups may access a protected space Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig Satisfy (core.c) access policy if both allow and require used ('all' or 'any') Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig AddDefaultCharset (core.c) The name of the default charset to add to any Content-Type without one or 'Off' to disable Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo AcceptPathInfo (core.c) Set to on or off for PATH_INFO to be accepted by handlers, or default for the per-handler preference Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo AccessFileName (core.c) Name(s) of per-directory config files (default: .htaccess) Allowed in *.conf only outside <Directory>, <Files> or <Location> DocumentRoot (core.c) Root directory of the document tree Allowed in *.conf only outside <Directory>, <Files> or <Location> ErrorDocument (core.c) Change responses for HTTP errors Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo AllowOverride (core.c) Controls what groups of directives can be configured by per-directory config files Allowed in *.conf only inside <Directory>, <Files> or <Location> Options (core.c) Set a number of attributes for a given directory Allowed in *.conf anywhere and in .htaccess when AllowOverride includes Options DefaultType (core.c) the default MIME type for untypable files Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo...
I have some webs with 30K/40K visits each day (it's not too much)... A smaller CPU with 1Gb RAM with cPanel and Apache 1.3 worked perfectly, and now with a bigger computer and plesk I see this...
More info on server-status
Server Version: Apache/2.0.54 (Fedora) Server Built: Jul 26 2006 11:00:19
Current Time: Monday, 28-Apr-2008 23:40:53 CEST Restart Time: Monday, 28-Apr-2008 23:25:38 CEST Parent Server Generation: 0 Server uptime: 15 minutes 14 seconds Total accesses: 13025 - Total Traffic: 44.9 MB CPU Usage: u1183.04 s50.79 cu.01 cs0 - 135% CPU load 14.3 requests/sec - 50.3 kB/second - 3616 B/request 34 requests currently being processed, 67 idle workers
In My server i Can see lotz of /usr/local/apache/bin/httpd -k start -DSSL Process also some time it lead to crash of my server,is this caused to improper httpd.con file iam have 200-250 online users here i will give my apachi cofig file