Apache :: Server Can't Be Reached
May 27, 2014Every night at the same time HTTPD gets overloaded and stops running. I have to do a reboot. What could be the problem?
View 2 RepliesEvery night at the same time HTTPD gets overloaded and stops running. I have to do a reboot. What could be the problem?
View 2 RepliesI`m on VPS 768Ram WHM/Cpanel
when i check error log on apache i see that error around 5 times daily.
[error] server reached MaxClients setting, consider raising the MaxClients setting
the apache restart automatically (~3 second). and that the problem when user make downloading all connections CUT.
my httpd.conf
maxclients 150
maxrequestperchild 0
i can increase maxclients no problem but i don`t know if i need to do something else or not.
Is there any way to LIMIT connection ( if server get more than 256 connection it says SERVER BUSY and doesn`t accept any connection )
An user is reporting this error receiving emails:
451 - The server has reached its limit for processing requests from your host
I've searched for this error message but haven't found much info
GoDaddy says: "You have reached your current SMTP relay limit of 1000 per day on the following hosting account" But they assigned a limit of 1,000 -- and i don't use SMTP relay at all. I have set up my active email accounts to use Google SMTP. When I tell GoDaddy about this, they tell me it is my responsibility. So what do i do?
View 2 Replies View Relatedgrep CPU /var/log/dmesg
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
WARNING: NR_CPUS limit of 1 reached. Processor ignored.
Virtuozzo Fair CPU scheduler
Initializing CPU#0
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU: After all inits, caps: bfebf3ff 20100000 00000000 00000180
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (24) available
CPU0: Thermal monitoring enabled
CPU: Intel(R) Xeon(TM) CPU 2.80GHz stepping 08
ACPI: Processor [CPU0] (supports C1)
uname -a
Linux server.domain.com 2.6.9-023stab048.4 #1 Fri Jul 11 17:50:54 MSD 2008 i686 i686 i386 GNU/Linux
cat /etc/redhat-release
CentOS release 4.3 (Final)
This is a dual core, dual xeon server so it should be 8 processors total.
Getting an error specifically to sympatico ISP in Canada.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
retry timeout exceeded
exim_mainlog shows:
T=remote_smtp defer (-53): retry time not reached for any host
telnet sympatico.ca 25
Trying 206.47.72.104...
telnet: connect to address 206.47.72.104: Connection refused
telnet: Unable to connect to remote host: Connection refused
Port 25 adn 53 are open in my CSF firewall (cpanel server), TCP and UDP (for 53) and TCP for 25.
i'm asking about the script which install in linux servers and automatic suspend sites which over it's limit resources in ram and cpu , like used in big hosting company ....
View 2 Replies View RelatedIn the documentation for Plesk 12 there is no information on what is happening if the limit for outgoing mail is reached.
If there is a limit of 50 mails per hour on a mail account and someone is trying to send 60 mails in one hour, what does happen with these 10 mails over limit?
1. Are there send 50 mails and the rest of 10 mails are deleted and will never be sent?
2. Or are these 10 mails sent later?
3. Can there be sent more mails in the next hour or is the mail account now blocked for sending mails?
i have run exim -qff from SSH then i got below error let me know what to do
Code:
root@web [~]# exim -qff
sda7: write failed, user block limit reached.
sda7: write failed, user block limit reached.
sda7: write failed, user block limit reached.
I have a -I think- common issue, one external server available from internet and an internal server for local only.
I want that to ask for [URL] ....
I can get the content of an internal server. For this I tried this at httpd.conf:
Redirect /site http://in.ter.nal.ip/site
but browser changes to internal IP and obviously I can't reach it.
So, I need that when external server detects that I want to see internal server content, it ask to internal and external itself answers.
I have Apache 2.2.26 running on OS X 10.9.3.My situation is that I consistently get an error that client denied by server configuration when accessing /server-status.
View 1 Replies View RelatedI've some issues with Server API set to Apache. Wordpress PHP include widgets doesn't load at all, script similar to this:
PHP Code:
$fp = @fsockopen("domain.com", "80",$errno, $errstr,
$timeout="5");
if($fp) { require...
shows blank page, once I click "mark as spam' in Wordpress, it gives me default page cannot load browser error (found that many people experiencing this with mod_security enabled, but I have this one disabled) and few other problems.
Does anyone know any differences between Server API set to CGI instead Apache which could cause those problems?
installing apache and IIS on the same server (windows 2003) using different IP addresses.
Could anybody advise me on whether this a bad thing to do or is there anything I should consider before I do this?
I've just setup an apache web server on my Windows Vista machine. The purpose of this webserver is to provide my LAN with a PHP based client database program.
I've finally got everything working (including Apache 2.2.6, MySQL 5, PHP 5 and SSL). The only issue now is that when I go to a website (on the net) that has a secure page, for some reason, my localhost/apache server is trying to authenticate the SSL certificate. As a result I am getting a window pop up saying that the certificate for 192.168.1.100 does not match the domain name of the website being contacted, would I like to continue.
I know that it is a problem with my webserver configuration because if I turn it off and contact the site, everything works fine (no error messages). Once I re-start the apache server, I get the error messages again.
I don't know if it matters, but, the SSL certificate used on my server was created by myself with openssl.
Can i configure a ftp server using apache on windows?
If yes then how can i do that?
Not sure if this is an Apache issue but I'm guessing it is. I also have cPanel on this server.
I made a PHP script and placed it on my server. This script has a function that will create a new file on the server, say a .txt file with information in it. When I go to do anything with that file that is created such as edit it, I get a permission denied from the server.
For example, FTP returns:
"Response: 550 Rename/move failure: Permission denied. "
Someone guessed that it is possible that when the PHP file is creating a new file on the server, it automatically places its permissions under root/apache, making it inaccessible for the cPanel user... if this were the case how could I potentially solve this issue?
I just restarted the Apache Server, because my server was using 4GB out of physical memory and 1.5GB out of 2GB swap memory.
This is happening while Apache is only processing 3 requests per second and the server specifications are huge overkill. Dual Xeon E5420 SuperMicro Barebone with 4GB DDR2 ECC fully buffered Memory.
I have problems finding the reasons to the leak. I have restarted the apache server so I cannot provide top and server-status information, until the next memory problems.
I have seen 50 httpd pid's in top (could be more) with 250mb per process. Pretty huge. While that specific pid in /server-status was only serving e.g. a 1kg image.
Code:
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 120
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 24
MinSpareServers 5
MaxSpareServers 100
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 8
MaxClients 1500
MinSpareThreads 125
MaxSpareThreads 750
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
I recently had to move my site from Linux to Windows hosting because I was adding an application that requires ASP.NET. The problem is the server that it uses (Windows iis) makes other parts of my site not work.
So my programer recommended using an Apache server with my Windows VPS (or hosting - I have no specific preference of either VPS or hosting) -
Does anyone know a hosting company that does this? Offers Windows hosting with an Apache server?
I am trying to host an apache web server on my xp home edition but i am running into a few problems. First off i purchased a domain name of "hollingsworthsolutions.com".
I am using zoneedit for my name servers:
primary: ns15.zoneedit.com 69.10.134.195 and
secondary: ns9.zoneedit.com 66.240.231.42.
My ISp blocks port 80 but apparently there is a simple work around by utilizing a Web Forward so i am using the following information per their guide:
hollingsworthsolutions.com [url]
[url] [url]
And my IP address on their site is configured as ww2.hollingsworthsolutions.com which points to 148.100.213.142
The following is a copy paste of my httpd.conf file
---------------------------------------------------------------
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
Listen 5000
ServerName hollingsworthsolutions.com
DocumentRoot "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions"
<Directory />
Options FollowSymLinks
AllowOverride none
Order deny,allow
Allow from all
</Directory>
<Directory "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions">
Options Indexes FollowSymLinks
AllowOverride None
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
# Example:
# Redirect permanent /foo http://www.hollingsworthsolutions.com/bar
<Directory "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions">
Options FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride none
Options None
Order allow,deny
Allow from all
</Directory>
<VirtualHost 148.100.213.142:5000>
DocumentRoot "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions"
ServerName ww2.hollingsworthsolutions.com
</VirtualHost>
----------------------------------------------------------------
Port 5000 is open in my firewall. Also when i enter www.hollingsworthsolutions.com into my browsers url it does indeed attempt to redirect me... That being said I have tried almost everything for people from the internet to access my page,
ive created myself a little test site and i mananged to host it with a server thats sitting behind a nat router by forwarding port 80 to it, this site can be accessed from outside my home network by entering the ip address of my router into internet explorer.
then i create myself a free host at no-ip.com and i used the .servegame.com option so its MySite.servegame.com.
it succesfully resolves to my ip becuese when i ping it from the wndows command line it pings the IP of my router.
but for some reason it cant be used to acces my site through a web browser.
the only thing i can think of is that it has somehhing to do with the "domain name" and "server name" fields that you have to fill in while installing apache although no matter what i put into those fields i can stil access my site using my routers IP.
Is anyone have a ebook or article about secure linux server and apache .
I want to secure own server and my vps customer
my linux system : Centos
also i have cpanel control panel
I have two servers, one for apache hosting a vbulletin forum, and another one for hosting its database.
Sometimes, I get very high load on the Apache server (>300) and the server stops responding. As a result, I have to stop apache in order to reduce the load and then start it again.
when I query the number of online users using this command:
Code:
netstat -an | grep : 80 | wc -l
I get about 1500 to 2000
but in the forum statistics, the number of online users is more than 5000. I already made sure that there are no DoS or DDoS attacks.
This is the specs of my apache server:
CPU: GenuineIntel Intel(R) Pentium(R) D CPU 3.40GHz
RAM: 2 GB
Server OS: CentOS 4.4
Apache Version: 1.3.37
and here is my httpd.conf:
Code:
ServerType standalone
Timeout 15
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 15
MinSpareServers 10
MaxSpareServers 15
StartServers 10
MaxClients 500
MaxRequestsPerChild 0
Is there anyway by which I can optimize my server for better performance and less load?
I am trying to decide which suits more server that is running apache and emails just, as mysql is on another server.
Dual Processor Dual Core Xeon 5140 - 2.33GHz (Woodcrest) - 2 x 4MB cache
Dual Processor Quad Core Xeon 5310 - 1.6 GHz (Clovertown) - 2 x 8MB cache
Both are close in price.
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 RelatedI just got a new box, can someone tell me the recommend values for Apache and MySQL config? It's a Xeon 3060, 2GB of memory, 2x250GB SATAII. I have a few static sites and a high traffic mysql/php forum with ~600,000 posts and about 60 members active in 15 minute intervals.
View 1 Replies View RelatedThe Apache server on one of my box crashed last night and the log file simply states:
[Fri Mar 09 23:51:49 2007] [notice] caught SIGTERM, shutting down
One thing puzzled me is that there are a couple of symbolic links created in Apache home directory:
lrwxrwxrwx 1 root root 25 Mar 9 23:51 build;45f23959 -> ../../usr/lib/httpd/build
lrwxrwxrwx 1 root root 19 Mar 9 23:51 logs;45f23959 -> ../../var/log/httpd
They were created around the same time when Apached stopped.
Has anyone seen similar things like this? What could be the root cause?
i have a dedicated server to host a few high traffics proxy sites. I am running apache 1.3 with P4 1.8Ghz
The apache web server is very unstable, it is always crashes and i have to restart it many times in a day, below are the common error message i see in the error log when the server is crashed :
[Tue Jun 5 07:52:47 2007] [warn] child process 19413 still did not exit, sending a SIGTERM
[Tue Jun 5 07:52:51 2007] [error] child process 19413 still did not exit, sending a SIGKILL
[Tue Jun 5 07:52:51 2007] [notice] caught SIGTERM, shutting down
Can anyone has any idea on how to fix this issue ? Is my server overloaded that caused the server crashes ? What is the best configurations i can have for my httpd.conf to handle the high number of concurrent connections and high traffics to the server?
This is what we are trying to do..
Set up solusvm with KVM so that we can sell vps servers
Solusvm must be installed on SSD
Configure rsync back ups to backup the entire server to another server. Every 2 days.
Set up one VPS server on the new set up
Install cpanel
Optimize cpanel for magento and wordpress hosting
Configure r1soft backups for cpanel so users can backup and restore their sites.
Install varnish for apache
Server specs
E3
32gm ram
2x 2tb in RAID 1
1x 128GB SSD (centosos 64 loaded here)