Session Clustering With Apache/PHP

Feb 28, 2008

Is there any alternative to ZendPlatform's session clustering? ZendPlatform seems to be very easy to manage.

View 0 Replies


ADVERTISEMENT

(error) IP Address Changed Amidst Session. Possible Session Hijacking

Oct 7, 2007

I have just got a resellers VPS and my host installed HyperVM 2.0 and when I logged in it works but then I get logout and then get this error:

IP Address Changed Amidst Session. Possible Session Hijacking.

then it takes my host admin time to fix it and now they will not do any think so i can not now use it (login). Not Good is there something I can do?

all I can think is that it is my ISP IP (Dynamic IP Address) which keeps changing.

View 13 Replies View Related

Apache :: Restrict Number Of Session For Context

Dec 29, 2014

I have installed apache 2.4.10 with tomcat-7 as backend .Proxypass has been added in apache to access tomcat via http port .now requirement is to restrict each Context to 100 sessions only , how i need to achieve this .

View 1 Replies View Related

Apache :: Proxy A Single Session Server Behind

Jan 8, 2015

I have diesel generator controller card (IB Lite made by Comap) and the built-in webserver supports only a single user/session connected.

I want to set apache in front and serve multiple connection while apache is keeping a single session with the IB Lite card in background no matter how sessions it have.

I tried ProxyPass but it doesn't seems to be a solution.

Is this possible?

View 1 Replies View Related

Apache :: 2.4 Mod Session Crypt Crashing Server

Apr 30, 2012

I am trying to encrypt my session using the following directive

Session On
SessionCookieName session path=/
SessionCryptoPassPhrase sec

We are using form based authentication.

use of SessionCryptoPassPhrase crashes the server. If I dont use that directive it does not encrypt and works fine.

I see this error in application event log

Faulting application httpd.exe, version 2.4.2.0, faulting module libaprutil-1.dll, version 1.4.1.0, fault address 0x00002f14.

View 19 Replies View Related

Apache :: Session-Timeout Respecting Mouse Clicks But Not A Keypress

Feb 21, 2014

We have a screen where users are filling out a form on our website, but if they don't click "submit" before the session-timeout limit, they are logged out and lose their work when they click the button.

So for instance with a timeout of 10 minutes, if it takes 15 minutes to construct their message, the connection will silently time out in the background with no warning.

Is there a way to make Apache respect a keypress/keydown/keyup as "activity", and maintain the session while the user is still typing?

Our server reports that it is using Apache Tomcat/7.0.39

View 3 Replies View Related

Dns Clustering .. VPS Vs. Dedicated

May 24, 2009

I'm not into Dns Clustering that much all I know is some articles and threads about how to do it, and the benefits

Anyway I decided to give it a try 1st with minimum fees

so I want to host my Main domain website on a VPS, as it don't need much resources and using it as a Primary Dns Server

and use my current server as a Slave DNS server that is contain most of my client sites

It's logically possible as I see but..

Is there any Disadvantage? if exist what is it?

Do I have to make both on the same DC?

Will it affect my Slave DNS Server Performance, Stability and Load?

View 0 Replies View Related

DNS Clustering Over Multiple VPS

May 25, 2009

What are the pros and cons of setting of a DNS cluster over multiple VPSes?

View 1 Replies View Related

CPanel DNS Clustering

Apr 28, 2008

I just set up a cPanel DNS Cluster today. Followed the guide, and everything didnt according to my plan. As in, setup went fine, setting it up went fine too. But I do not think I understood how this solution works in real... or atleast I had assumed it to work in a different way.

So for my questions...

1) How and where do I edit the DNS Zones. On the local system or the DNS dedicated server?

2) How do I create nameservers for this dedicated DNS server? Not the registrar part, but the A record and NS record part.

3) Small doubt, not a big one. Does the DNS server have to be in stand alone mode or synchronized mode?

View 6 Replies View Related

Server Clustering

Aug 25, 2007

I am trying to setup a server cluster for my client and was thinking about load balancer.
Currently he has 4 Servers and 1 VPS.

4 Servers are in the same datacenter while VPS isn't.

Now from my thoughts about the system load, I have decided to setup like this:
VPS being the load balancer
2 Servers being the Apache
1 Server being Storage server
1 Server being MySQL

This will be hosting two forums that has very high concurrent access.

Now the problem is VPS has only 200GB/mo bandwidth while he needs about 800GB total.
My question is is there anyway to load balance the servers without the traffic going

like this:
LoadBalancer-->Apache Servers-->LoadBalancer-->USER
If the traffic goes like that then VPS needs to have about 1600GB bandwidth and will have network bottlenecks.

I would like the traffic to go like the following:
LoadBalancer-->Apache Servers-->USERS

View 7 Replies View Related

Cpanel DNS Clustering

Jul 18, 2007

I'm currently using Cpanel on all our web hosting machines (total of 6 machines). Each runs its own DNS but also uses the Cpanel cluster feature to sync between all machines.

This has got to the point where DNS updates will not stay, the machines get very lagged etc etc. Now I have put 2 more machines online to do nothing but DNS.

What is the best way to set this up?

View 5 Replies View Related

Clustering Vs Load Balancing

Sep 9, 2007

Our server is going down due to several reasons. We decided use load balancing or clustering solution. What are the main difference between load balancing and clustering?

View 5 Replies View Related

Dedicated Server Clustering

Jun 20, 2008

Im going to start to plan to build a new hosting setup within my business and aim to slowly move away from the shared hosting scene and move into clustered (web hosting)

Now im not great with words so i am sorry if any of this doesnt make sence.

Im looking to build a setup using 5+ Dedicated servers, using a cluster config and using something like plesk on top to offer high availability hosting. As i understand it using a clustered setup will provide a much higher chance of keeping 99.9/100% uptime as it eliminates a single point of failure.

But what im un sure on and what ive not learnt about yet is what is needed to make this work, what kind of software is involved and how would the Hard-drive arrangement work. For example

If each server had 5 Hdd's in Raid5 totaling 1TB Space and there was a total of 5 servers, would there still be 1TB space overall of does it work slightly different to that?

View 7 Replies View Related

CPanel DNS Clustering And Redundancy

May 5, 2008

I am working on setting up a few servers that run cPanel and the usual software, minus any sort of DNS server. These servers are setup to sync all DNS records over to a cPanel "Dns Only" (ns1.domain.com), which in turn syncs all its records to a backup DNS server (ns2.domain.com).

In other words:
[Domain registrar]
| |
[NS1]--Sync-->[NS2]
|
(Sync to NS1)
|
Cpanel Web Server

Now, say something happens to NS1 and the sever goes completely offline (i.e. power supply dies, CPU goes bad, etc.), which of the following scenarios would actually happen:

1) Because the registrar lists both NS1 and NS2 as NS records, NS1 would time out and the DNS lookup would look to the secondary DNS (NS2) for the record.

2) The registrar would randomly give out NS1 OR NS2 because of round robin, and if NS1 is given to a client as the result of a DNS lookup, the site will appear down, however if the client happens to be referred to NS2, the site would appear online.

3) The site would be down no matter what.

So, if someone with knowledge on the subject wouldn't mind enlightening me as to which of those would actually take place in the event of a failure on NS1, and maybe some suggestions as to keeping the DNS truely "redundant", then I would greatly appreciate it.

And Im aware that there are many 3rd party services that will take care of the DNS records and make them redundant (DYNDNS, DNSMadeEasy, etc) But I would prefer to keep the DNS in our full control.

View 6 Replies View Related

Failover Or True Clustering

Oct 23, 2007

I have been searching and searching for a solution. We are currently using one single vps to host some of our clients. We are finding more and more that we need to have some redundancy.

I have looked at using DNS failover using RSYNC/mysql replication etc with two servers, but just dont like the idea.

I have also looked at hosts like imountain etc that use h-sphere. I dont like this setup because services are split onto single machines. For example mail is done on one single server, therefor if that server is down, mail is down.

What I am looking for:

I am trying to stay in a budget of 150/month or less.

I would like to get one of the two options here:

option 1: two vps's or dedi's that technically act as one(a true cluster) then on top of that is OS and control panel and done. This solution doesnt allow for whole datacenter outages, or network issues.

option 2: Two geographically placed vps or dedi's that are somehow either load balanced, or failover.

Ultimately our goal is to have high uptime, but we dont really have much server load.

Basically failover is ok as loads are always low anyway, but if we are paying big $$ it would be nice to have it load balanced.

Please let me know if my expectations are way to high or my price is way too low. I need to find a solution here somehow and if I cant find anything will most likely just go with DNS failover.

View 14 Replies View Related

Switch For Clustering System

Nov 6, 2007

I am going to build a clustering system for a customer. It's around 15 servers running apache, mysql and mail. Wondering which switch do you recommend for that? I am using a HP Procurve 2524 for another smaller system, but customers face to slow performance *sometimes*

For the feature, dont need much. Dont need routing feature (Layer3 switch?), just to connect all of them into a clustering system.

View 5 Replies View Related

DNS Clustering Question (windows & Linux)

Mar 29, 2009

I have a 2 cPanel DNSonly cluster setup for all our hosting operations.

However, we are adding a Windows Domain Forest (for Outlook "push-mail") for this the windows server needs to be its own DNS server. We are also planning to host sites on the windows server (no control panel).

Is there any way that I can allow cPanel to use Windows DNS as the new "cluster" and update/delete/add records of DNS to the windows machines?

Same would apply to this question, we are thinking about adding a Directadmin test box, but we want to keep our NS1 and NS2 cluster so they all work with it. Is it possible? What is the feature called if you can't elaborate on it so I can research it?

View 1 Replies View Related

How Much Overhead Comes From Clustering / Separating Out Services

Sep 21, 2007

So would the load times be noticeably longer if I ran load balancers, and then had my web servers nfs mounted to file servers / san and connecting over the network to database servers? It seems like a lot of network overhead to deal with.

View 2 Replies View Related

Recommendations For High-performance Hosting (clustering)

Jun 14, 2008

I'd like to get your recommendations on how I should approach this problem. I posted this in another part of the forum, but I feel that this is a more appropriate place for it.

Problem:

How to handle large amounts of traffic with for a social network website? If a user uploads a photo or video, how does it become accessible on all of the server? If traffic is expected to be about 500,000 visitors a day, how many machines do you think I should use?

Possible Solution:

I've come up with the following possible infrastructure.

One load balancer. The load balancer has 3 PHP/Apache servers behind it. Behind each of the PHP/Apache servers is a (slave) MySQL server, from which data is read. Behind the slave MySQL servers, there is 1 master MySQL server, which handles all of the database writes. The master MySQL and slave MySQL servers are synced up, so data is up to date.

The actual photo and video files are not stored in the database, only the links to them is stored in the database (to keep the database small). The photo and video reside in a central location (like a SAN or NAS), which is accessible by all of the 3 PHP/Apache webservers.

Questions:

1. How many machines do you think will be able to handle photo and video uploads for 500,000 visitors a day?

2. Is having a SAN with Terabytes of RAIDED disk space an available option?

3. If a SAN or NAS is not an option, does anyone have any ideas on how to make sure all of the web servers have access to the same photos and videos? Is rsync a viable solution?

4. Which hosting provider do you think I should go with?

5. Is clustering what I need? What is clustering and how will it address my concerns?

View 1 Replies View Related

Recommendations For High Performance Hosting (clustering)

Jun 14, 2008

I'd like to get your recommendations on how I should approach this problem.

Problem:

How to handle large amounts of traffic with for a social network website? If a user uploads a photo or video, how does it become accessible on all of the server? If traffic is expected to be about 500,000 visitors a day, how many machines do you think I should use?

Possible Solution:

I've come up with the following possible infrastructure.

One load balancer. The load balancer has 3 PHP/Apache servers behind it. Behind each of the PHP/Apache servers is a (slave) MySQL server, from which data is read. Behind the slave MySQL servers, there is 1 master MySQL server, which handles all of the database writes. The master MySQL and slave MySQL servers are synced up, so data is up to date.

The actual photo and video files are not stored in the database, only the links to them is stored in the database (to keep the database small). The photo and video reside in a central location (like a SAN or NAS), which is accessible by all of the 3 PHP/Apache webservers.

Questions:

1. How many machines do you think will be able to handle photo and video uploads for 500,000 visitors a day?

2. Is having a SAN with Terabytes of RAIDED disk space an available option?

3. If a SAN or NAS is not an option, does anyone have any ideas on how to make sure all of the web servers have access to the same photos and videos? Is rsync a viable solution?

4. Which hosting provider do you think I should go with?

5. Is clustering what I need? What is clustering and how will it address my concerns?

View 11 Replies View Related

Hyper-V, Clustering Windows 2008 Servers And Microsoft Licensing

May 23, 2008

I currently have a server (Xeon 1x5310, 4gb RAM, 4x500gb hdd in Raid 10) with Windows 2003. Now do to a project I'm looking at installing Windows 2008 and upgrading to 2x5310 and 16gb of RAM on my server.

I'm looking to create a virtualized test environment for development of a new web service I'm working on. What I'm looking to develop right now is 2 file servers, 3 web servers, 3 MS SQL database servers and 1 DNS server (would prefer but not sure if hardware can handle it. Virtualization would be ideal as this is very similar to what we believe will we have when we launch the service.

I have a few questions I'm hoping you might be able to answer:

1) With the upgraded hardware specs, should it be able to handle the load if I assign each virtual entity 1 core with 2gb of RAM each?

2) I would like to create each of the multiple servers in a cluster (ie cluster of webservers) as this is how it will be in production. But, I've never worked with clusters before so:

a) where can I learn about clustering windows 2008 servers?

b) is this possible to do in a virtualized environment?

3) How does MS work the licensing? I want to have each server running Windows 2008 and 2-3 of them running SQL Server 2005.

a) Do they charge extra for each virtualized server?

b) Does this mean I have to purchase 3 complete copies of SQL Server or is there a way I can pay a low license fee for use in a non-commercial, non-production environment?

4) Does anyone see any problems with this setup or have any suggestions for me?

* I do have money available to spend on a good solution, so if you have suggestions that cost please let me know. I just thought virtualization would be the way to go as the project will be in development for at least a year with no public access.

** I realize that Hyper-V hasn't been released yet (that I know of) so information on it might be limited

View 2 Replies View Related

Session Directory

Oct 30, 2008

I need to make this writeable but I can't find it on my server with my FTPclient. Can someone tell me what it is and where it's likely to be?

Maybe I have to create one?

View 1 Replies View Related

Session Error

Feb 5, 2007

I have a large survey (I use phpsurveyor) on my reseller webdomain running. It takes about 30 minutes to fill in the complete survey. After 24 minutes my respondents get a session error and their data is lost.

I tried to solve this with a .htaccess

php_value max_execution_time 600
php_value session.gc_maxlifetime 3000
php_value session.cookie_lifetime 3000

With phpinfo.php I can see that the Local Values are session.gc_maxlifetime 3000 and session.cookie_lifetime 3000.

View 1 Replies View Related

Session Issue

Feb 6, 2007

I have got error:

Code:
Warning: session_start() [function.session-start]: Cannot send session cache limiter -
headers already sent (output started at /home/myhope/public_html/pro/index.php:1) in /home/myhope/public_html/pro/index.php on line 2

View 1 Replies View Related

Session.save_path

Jan 13, 2007

It could've gone into the php section as well...I think.

I got a dedicated server 2 days ago, but the "session.save_path" is not set. What I did was create a "php.ini" file, put the following code into it and uploaded it to my public directory.

Quote:

session.save_path = "/var/www/vhosts/contrid.com/subdomains/projects/httpdocs/tmp"

...but I'm not sure if this is right.
Unfortunately it doesn't work, therefore I'm making this post.

If anyone can help me, it will be greatly appreciated.

**
This is for a subdomain.
**

View 1 Replies View Related

Session Error

May 17, 2007

When i try to login my linux server from GUI i put my username "root" and then put the password, i am not able to login and getting following error

"Your session only lasted less then 10 sec. If you have not logged out yourself this could mean that there is some installation problem of that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem view details in ~/.xsession.error file "

Does any one know about this error.

View 3 Replies View Related

Php Session.save_path

Jan 11, 2007

when I install Joomla, it said session.save_path = /tmp is unwriteable. however, following phpinfo(), the session.save_path on server is /tmp, and all my php sites are working fine, I can see many sess_ files in /tmp. That means the sessions are still written into /tmp by user apache, is that correct?

so, why Joomla instalation saying it's unwriteable? i am on a linux server

View 4 Replies View Related







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