Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th February 2008, 16:05
andeas-2008 andeas-2008 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default LVS-NAT: Problems with PHP-SOAP server behind ldirectord

Hi,

I am running LVS with NAT. Everything is working fine, no problem with http and https from browsers or via wget.

The only problem I have is with our soap-server (PHP 5.2.5) running on a real server. SOAP requests (no matter if http or https) alsways get a timeout. With tcpdump i can watch them reaching the ldirector and after that the real server (the real server are in a different subnet than the virtual IPs on the ldirector). The real server are sending replies, but they seem to stuck. As said, the problem only occurs with SOAP (I guess, PHP soap uses an own socket communication). This special environment makes it difficult to search for solutions. Maybe a bug in PHP.

Does anybody have experience with this?

I tried running LVS without NAT (direct LVS) and this works fine with PHP SOAP. It seems to be a problem concerning NAT and SOAP.


Andreas
Reply With Quote
Sponsored Links
  #2  
Old 6th February 2008, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Have you tried to increase the timeout of your PHP scripts (set_time_limit())? Maybe the SOAP connection is a little bit slow.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd April 2008, 18:12
wcarty wcarty is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Do you have lvs persistence configured along with iptables firewall marks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 13:58
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30
Installation Problems right after php building nagual Installation/Configuration 1 31st October 2005 08:30


All times are GMT +2. The time now is 16:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.