I Can't Not Change Keep Alive: On To Off
Mar 20, 2008
I can't not change Keep Alive: on to off
My httpd.conf
User apache
Group apache
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 3
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxRequestsPerChild 0
ServerLimit 1024
MaxClients 250
ExtendedStatus On
ServerSignature Off
My php.php info:
Apache Version Apache
Apache API Version 20051115
Server Administrator webmaste@MYDOMAIN.com
Hostname:Port www.MYDOMAIN.com:0
User/Group apache(48)/48
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 1
Virtual Server Yes
Server Root /etc/httpd
Keep Alive still ON in my php page report.
View 2 Replies
ADVERTISEMENT
May 14, 2009
As i seem unable to get a decent reply to my ticket which is currently open with you (#210268) through your ticketing system. I am afraid i need to resort to posting here.
As i have asked in the ticket numerous times, can you please provide a reason as to why our server was offline? This ticket has been open since 29th April and so far we have only been told that you had "a couple of issues with you system".
View 14 Replies
View Related
Jun 27, 2007
Are there any clients of ifasthosting?
I have a vPS and couldnt connect my SSH or reset my server about 72 hours and they didnt reply my ticket about 24 hours. also server's panels are down so i couldnt get backup.
Are there any person like me? My VPS has problems after they migrate thier node from Softlayer . I want to get my backup folder now but they arent replying me.
View 14 Replies
View Related
Oct 23, 2007
I remember when digits.com was a big deal to me when I first got into web design in the 90's.
Anyways, [url] Do you think they are serious with that deal?
Do you think people still use it? The main site is PR8 but thats possibly due to the free counter-link backs and simplicity of the domain.
View 9 Replies
View Related
Nov 8, 2007
if anyone knows the status on vps4less.de? I have a VPS with them that was set to renew on 10/29, but I canceled way before then, or at least I thought it should have. I noticed a couple days after the renew date that it was still online so I sent another one, this time via WHMCS and request account cancellation link. So far, it's been 10 days (now 11/8) and I haven't heard from them, and my VPS is still online. I received an automated invoice overdue notice today, but I know that's just because they haven't closed my account yet.
View 1 Replies
View Related
Apr 21, 2008
I have a VPS with 256MB of guaranteed memory, and no burst/swap. Having little memory like this is quite common for a VPS and I want to know how to make the most of it while running websites. By far the biggest culprit for taking my memory is Apache and I'm not convinced that the default setup makes sense on a VPS.
I know there are other daemons out there that use considerably less memory, such as lighttpd, but enough people (myself included) are going to use Apache regardless (they might require some of the advanced features after all) so it is worth knowing how to get the most out of it.
Apache 2 has various mpm options, most notably prefork and worker. As I understand it the prefork method forks processes to handle requests ahead of time, and can fork more on demand if required, each process handles one request at a time. Worker uses threads, again created ahead of time and on demand, each thread handles one request at a time.
With the default configuration and prefork Apache spawned 6 processes each taking about 5MB, so there goes 50MB in total. With workers it wanted to create 50 threads, each with a 10MB stack, this instantly went over the memory limit so wouldn't start at all. Thankfully the stack can be adjusted using the ThreadStackSize setting so it can be made to run, but even after this what do you really have for your memory?
One problem with having one request per process/thread is that, again by default, Apache has a keep alive setting of 15 seconds. This means that once a request has been processed, the process/thread is then kept around for up to 15 seconds in case the client wants to do anything else. With prefork that is 5MB of memory being used, and even with threads with a reasonable 1MB stack size there is still a huge amount of memory wastage on a connection that might not even do anything. Meanwhile other visitors might be getting out-of-memory problems as Apache tries to spawn more handlers to meet demand.
I think it should be fairly obvious that the worker mpm is the best option here, if everything works fine with a 1MB stack then the thread overhead is considerably lower than the process overhead.
The new events mpm should relieve this problem as it uses an event queue to keep an eye on keep alive connections rather than a whole thread. Unfortunately this mpm is not considered stable yet, so in the mean time I am wondering if VPS users should just disable keep alive, or at least adjust it to just a few seconds.
The benefit of keep alive is that it reduces network traffic and CPU load as there is a small amount of overhead in setting up a new TCP connection. When servers had 400MHz chips and massive 256MB of ram this was a good trade off. But now VPS often have access to much more powerful processors, and the same 256MB isn't considered massive any more so a lot of applications are less frugal and less adept at running in this environment.
In the unlikely even that Apache had 200MB to play with, using 1MB threads means that the system can handle 200 idle connections before running out of resources and failing to handle new connections. With a keep alive of 15 seconds you can support 200 connections per 15 seconds. In light of the fact that many newer browsers will open 4 simultaneous connections (up from the previous 2) that is only 3.34 users per second. Drop the keep alive to 1 second and you can handle 50 users per second. These numbers are unrealistic because they assume the request handling itself takes no time at all, but a lot of requests can be handled in split seconds so maybe these numbers aren't so far fetched. If the request handling takes 250ms and you turn keep alive off you could handle 200 users per second.
I am thinking that it would be great to have a reverse proxy sat in front of Apache, one that used an event queue and thus had little memory overhead for maintaining incoming connections, but closed down its connection to Apache after each request. Unfortunately I do not know of one.
View 3 Replies
View Related
Jul 16, 2008
I'm running 4 websites on a quad core xeon x3220, with 2gig of ram. It's 4 proxy sites, they are running fine and dandy, except for the fact that even when their is little traffic going to them ram is still just as high. I'm running debian 4.0, and heres a copy of my footer Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch11 mod_perl/2.0.2 Perl/v5.8.8. I'v modified nothing since I got the server, I installed apache2, and awstats, that's it. I'v read up about optimizing and it hasn't helped much, and I thought maybe their is proxy specific tweaks I could make to the conf.
View 6 Replies
View Related
May 12, 2014
It appears some elements of the ICPH webpage have keep-alive and some not.
I want to ask how to achieve all are loaded with keep-alive?
htaccess contains:
<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>
View 6 Replies
View Related
May 31, 2008
recently I have an weird problem and I don't know what might be, I just suspect that this error appeared after we have enabled Keep Alive on apache
I have the same error with randomly Forbidden error. The most time I see it is on 2 websites that are build with Gallery 2 and very rarely on other website, on my end never happent on other websites but some people told me it did.
Bellow is a small part of cPanel's "Last 300 visits" it shows every request so you can see first request was a direct link , I have wrote the galery name .. and the others are aither requests to images either other files ....
View 4 Replies
View Related
Aug 17, 2012
How can i remove "Connection and keep-alive" from response headers ? I am using Apache http server to load balance two tomcat nodes
Apache Server- Apache/2.4.2
mod_jk - 1.2.27
Apache tomcat - Apache Tomcat/7.0.23
JDK - 1.6
I have also enabled SSL in the apache http server using mod_ssl. The load balancing works fine, but in all the response headers these connection attributes are added "Connection: keep-alive keep-alive: timeout=5"
Is there a way to remove these headers? I do not want these headers to be added in the response. I have also tried mod_header to unset these headers, but no use. HTTP/1.1 protocol is being used, so eventhough the connection is not present in the header, the connection would should be considered as persistent. Why is apache sending these attributes explicitly in each response. I just want to get rid of these attribute...
View 7 Replies
View Related
Feb 21, 2015
I have a client on a dedicated IP, today we needed to downgrade the web hosting plan. As the web hosting plan puts users on a default shared IP, this plan change also changed the dedicated IP to the shared one causing some propagation issues for a small period of time.
I have contacted WHMCS about this asking if they had a way of changing the clients plan but keeping the IP address intact as this could lead to some very undesirable outcomes. They explained that it is not their fault and to contact Parallels.
I know I can change the plan directly in Plesk however by initiating the plan change via WHMCS, everything is automated.
View 1 Replies
View Related
Feb 5, 2008
Has anyone helped clients transition from one domain to another? Maybe dissolving a partnership or renaming their company... so a new domain name has been registered and a new website created.
2 Issues:
#1 Using .htaccess 301 redirect
We used the following command line in their old website's htaccess file
Redirect 301 / [url]
The goal was to get people try to visit any page of their old website (i.e. OldWebsite.com/contact.html) redirected to their new website (i.e. NewWebsite.com/contact.html). Isn't that supposed to change the address bar's URL, too? For some reason, I visit their old site and I seem to be redirected to their new website but the address bar still has their old domain name? Something is going on???
#2 Having their new company name for 2 years now. People can enter her new company name in Google, MSN or Yahoo. Her new company name appears in the search results but has the old domain name associated with it. We are trying to get rid of any reference to that old domain name? What's the easiest way to do this? So what people see in search engines is:
New Company
Short Meta Description
www.OldDomain.com
What steps did I miss in this transition?
What steps do I have to take on their old website/old web server to control it's appearance on search engines and make sure people get to the new website?
View 2 Replies
View Related
May 17, 2009
A client of mine just recently asked for a new IP. His subscription near to expiry date.
He considering to renew but only will renew if I can give him a new IP. Not to buy another but instead a new IP to replace the old one. If it helps, he use the vps of his to run proxy, a socks proxy perhaps.
I am familiar with proxies and have quite an experienced running several group of successful proxies thus asking for an IP probably means his old IP is more than 50% blocked.
What do you think? Should I just change his IP?
View 10 Replies
View Related
Apr 24, 2008
We are moving to a new rack at our DC. Now the IP addresses will change.
BUT.. we have a mailserver running, and all users are pointed at the current name "mailserver.domain.com" which itself is pointing to the old IP.
So far so good...
BUT we need to move that server to the new rack, and so we need to change the IP. But if we change the IP in the DNS, it will take till 24 hours for all the providers to propogate the new IP. For those users, the mailserver will be offline.
How can we fix that properly? So that no-one has any serious downtime?
Anyone got a clue on how to do so?
View 1 Replies
View Related
Dec 9, 2008
root@linux [~]# lynx -dump [url]
Your ip is: 10.20.30.40
i want to change this ip to: 10.20.30.41 when i execute: lynx -dump [url]
i dont know how to do it.
View 1 Replies
View Related
Aug 7, 2007
I have a problem that am not able to connect with mssql_connect() function to MSSql server.
Error is: undefined function mssql_connect().
On local this problem is get solved by uncomment extension=mssql_php.dll and extension=mssql_pdo_php.dll line by removing ";" in front of it.
::But how do i same on the online server?.
::If possible with coding or is thr any other way to do this plz let me know?
::If thr is a way to change .htaccess file to make this change or any better solution with .htaccess..
::If thr ia a way to change the path for php.ini and we put our php.ini file in other folder and access that rather than php.ini on server.
View 2 Replies
View Related
Jan 26, 2007
One of my clients are wanting to use a 3rd party spam screening service, which is supposed to only require a change of their MX entry, but it's not working for me.
When I change the MX, and send a message to the account, I get the following message kicked back at me.
Quote:
This message was created automatically by mail delivery software.
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:
receiver@theirdomain.com
SMTP error from remote mail server after RCPT TO:<receiver@theirdomain.com>:
host mail.mailroute.net [199.89.0.201]: 554 5.7.1 <receiver@theirdomain.com>:
Relay access denied
------ This is a copy of the message, including all the headers. ------
Return-path: <me@mydomain.com>
Received: from d142-179-125-92.bchsia.telus.net ([142.179.125.92]:62140 helo=WorkLaptop)
by server.mydomain.com with esmtp (Exim 4.63)
(envelope-from <me@mydomain.com>)
id 1HAZU5-0000Rk-8c
for receiver@theirdomain.com; Fri, 26 Jan 2007 16:23:49 -0600
From: "Work" <me@mydomain.com>
To: <receiver@theirdomain.com>
Subject: Test
Date: Fri, 26 Jan 2007 14:23:49 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0045_01C74155.999394C0"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Thread-Index: AcdBmJ0b1GRT8lMDSveqOjg5CgqmkA==
This is a multi-part message in MIME format.
I know this has something to do with my mail server only trying to send the message once, and not again. I'm setup with RHEL w/cPanel.
View 4 Replies
View Related
Apr 13, 2008
i have changed the nameservers in one of my domains and now on it is loading from new server but only when i type mydomain.com.. When i type www.mydomain.com my site stills loading for the old server...it have passed 12 hours from the time i made the change...it is something else i must do to have my site also available from the new server when someones type www.mydomain.com ?
View 3 Replies
View Related
Oct 28, 2009
I am teetering on the edge of over using my shared account and have decided it is time to move on to a VPS. This has been a long time coming, but the economy has held me back and now I am running out of options. I have looked at several hosts and just wanted some recommendations. Since this is the first time to run a VPS, I assume a managed VPS is better for me. I am currently looking at KnownHost.com and VPS.net since they are both well reviewed here. I would just like recommendation on what to consider based on my wants.
I do not need much horse power behind the server as I have just pushed passed 20meg of ram at my current host; about max for them. I need a LAMP setup (PHP5, MySQL 5) for 4-5 sites of which only two get any real traffic, the others are just family blogs.
So this is what I think I need, please feel free to make suggestions on hosts or other considerations.
1. 256meg of RAM.
2. 5-10 gig of space
3. CentOS
4. Control Panel - Have used CPanel
5. Less than 200 gig of bandwidth.
6. 2 IPs.
7. Can use Wordpress MU
View 14 Replies
View Related
Oct 1, 2009
How do I change start of authority (SOA) info, specifically I need to change the email listed?
View 1 Replies
View Related
Apr 16, 2009
i want to change my cpanel ip ( Lisence cpanel )
i get new lisence for another ip but now , when type /usr/local/cpanel/cpkeyclt get before lisence .
how can i change cpanel ip from ssh ?
View 7 Replies
View Related
Apr 17, 2009
i want to changing my ssh port from 22 to other .
so i have edit ssh_config and change 22 to for example 9000 .
and add 9000 in TCP_IN and TCP_OUT on my csf Config and delete 22 from them
and restart ssh .
but my ssh isnt login with 9000 and no effect .
View 6 Replies
View Related
May 23, 2009
I need a host that can change the php.ini for me. I'm pretty sure no shared hosting would do that. so I'm looking for a VPS option. can you pls advise me if a VPS host would change the php.ini for me ?
View 11 Replies
View Related
Jul 12, 2009
Is it possible to change DNS to a subdomain when the domain is hosted in a VPS?
What about for a dedicated server or a shared hosting?
View 8 Replies
View Related
Feb 6, 2009
my site is wplemon.com
how to change MX record for google e-mail(Premium)
and how to reset?
View 4 Replies
View Related
Apr 27, 2009
well i have this whm box.
I added a pair of new nameservers.
and then tried to delete the old nameservers .
Removing Nameserver Ip 11.11.112.11
The ip 11.11.112.11 is now ready for re-use as a different nameserver
then i click on nameservers and i see old ones again :/
what i done was change it in /etc/nameserverips
again when i click on whm / Nameserver IPs I see old nameservers!
View 9 Replies
View Related
Feb 1, 2008
I have a server with /var too small, then i move /var/lib/mysql to another location, i've changed in /etc/my.cnf.
Quote:
datadir=/home/mysqldir
socket=/home/mysqldir/mysql.sock
I can start / stop mysql but mysql & eximstats in WHM failed. I've try :
Quote:
mysql -vv
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
View 3 Replies
View Related
Nov 19, 2008
The permission of bin/sh in my Plesk + Linux system is 777 , is it necessary to change? If so , what is the potential danger and to what permission state it must be changed?
View 10 Replies
View Related
Dec 16, 2008
The hosting company where my domain has been hosted is not giving good services. I want to change hosting company.
View 10 Replies
View Related
Aug 14, 2008
I currently have a server at cari.net and I've had enough with the downtime I get so I wanted to switch.
I've searched around and seems like Limestone would be my best bet. I have a bunch of small sites, so their aniversary sale is enough for me.
Has anyone had any bad experiences with them?
View 7 Replies
View Related
Aug 6, 2008
You are hosting your web site on a local server and you have the DNS pointing to the LOCAL (read: not public) IP on your LAN which means only you and those on your LOCAL network can access the site.
192.168.1.8 is a LOCAL (PRIVATE) IP.
View 1 Replies
View Related