Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
One of the load balanced servers isn't configured correctly.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback
View previous topic :: View next topic  
Author Message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Aug 18, 2009 7:03 pm    Post subject: Reply with quote

I get blank pages, and this little gem when I attempt to read private messages.
Code:
phpBB : Critical Error

Could not connect to the database


Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
robbat2
Developer
Developer


Joined: 19 Feb 2003
Posts: 82

PostPosted: Tue Aug 18, 2009 7:11 pm    Post subject: Reply with quote

pappy_mcfae wrote:
I get blank pages, and this little gem when I attempt to read private messages.

You still get both of those right now?
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Aug 18, 2009 7:13 pm    Post subject: Reply with quote

No blank pages yet today (lots last evening), but I just had the private message issue. I clicked reload four times, and it finally caught.

BB!
P
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Aug 18, 2009 9:41 pm    Post subject: Reply with quote

robbat2 wrote:
The configuration in general is a weighted least connections (wlc in IPVS) model, which approximates a 50:50 split in connection durations, not simply connection numbers. There is no persistence configured, and the database replication should be fast enough to carry your sessions over. If it does end up being more problematic, I can enable long-term persistence (so multiple connections take the same path if available) in the www LB side, at the cost of a large tracking table.

Unless the forums software is able to handle 'wandering' https-sessions and alike correct you probably have to - had similar issues with one of my (3 nodes)-clusters. Currently they're working with 30 min. timers and noone complained during the last 3 months. Balancing on https-sessionid + least connections for http.
Sessions are more or less split evenly across the servers.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
robbat2
Developer
Developer


Joined: 19 Feb 2003
Posts: 82

PostPosted: Tue Aug 18, 2009 10:58 pm    Post subject: Reply with quote

Think4UrS11 wrote:
robbat2 wrote:
The configuration in general is a weighted least connections (wlc in IPVS) model, which approximates a 50:50 split in connection durations, not simply connection numbers. There is no persistence configured, and the database replication should be fast enough to carry your sessions over. If it does end up being more problematic, I can enable long-term persistence (so multiple connections take the same path if available) in the www LB side, at the cost of a large tracking table.

Unless the forums software is able to handle 'wandering' https-sessions and alike correct you probably have to - had similar issues with one of my (3 nodes)-clusters. Currently they're working with 30 min. timers and noone complained during the last 3 months. Balancing on https-sessionid + least connections for http.
Sessions are more or less split evenly across the servers.


I don't split single connections over multiple servers, and keepalive is turned off, so there shouldn't be any SSL keying issues regardless. My work deployment of IPVS has many TiB of traffic driven over HTTPS without issues.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Aug 19, 2009 8:03 am    Post subject: Reply with quote

I had to login ~20 times to post a reply in a thread. It will be amusing to see how many times I need to login to post this one ....
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Aug 19, 2009 8:04 am    Post subject: Reply with quote

I had to login ~20 times to post a reply in a thread. It will be amusing to see how many times I need to login to post this one ....
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Aug 19, 2009 8:09 am    Post subject: Reply with quote

answer 10 times.

And then I had to login 12times in a row to type this.

How many logins I will need to submit it?

35x and counting
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Aug 19, 2009 8:10 am    Post subject: Reply with quote

answer 10 times.

And then I had to login 12times in a row to type this.

How many logins I will need to submit it?

47x and counting
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Wed Aug 19, 2009 7:11 pm    Post subject: Reply with quote

hooray... no problems right now?

btw, when it was happening before, the sid would change every time... in case it helps
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Aug 19, 2009 9:24 pm    Post subject: Reply with quote

poly_poly-man wrote:
btw, when it was happening before, the sid would change every time... in case it helps

sid = http(s)-sessionid?

_very_ wild guess: How does the LB check the backend servers if they're up or not? Hopefully not (solely) by icmp ping but via 'tcpping'-checks on the webserver ports (i'd not mention it if i wouldn't have done the same stupid error once)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Aug 19, 2009 9:46 pm    Post subject: Reply with quote

Well, I just had to login again when I visited the site today. I didn't last night. I'm not using https though.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Aug 20, 2009 1:24 am    Post subject: Reply with quote

Think4UrS11 wrote:
poly_poly-man wrote:
btw, when it was happening before, the sid would change every time... in case it helps

sid = http(s)-sessionid?
I think it's phpbb's sessionid... it's a ?sid= tacked at the end - it has showed uip occasionally for the last year or so... it was always coming up, and always different today when trying to log in.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Thu Aug 20, 2009 10:30 am    Post subject: Reply with quote

poly_poly-man wrote:
I think it's phpbb's sessionid...
It is.

Some modifications have been put in place to attempt to fix the problem, but there may be further steps required to fix it completely.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Aug 21, 2009 9:06 am    Post subject: Reply with quote

Just had to login again... :roll:
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sat Aug 22, 2009 8:22 am    Post subject: Reply with quote

Interesting, when you got logged out, your browser hit the same page twice in one second, then grabbed some associated files. Judging by page sizes, it seems like the first hit you were still logged in, then the second you weren't.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue Aug 25, 2009 12:52 am    Post subject: Reply with quote

Its back , yesterday afternon and for the last hour. Well lets see if this post or blank screen failure to connect...
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Forums Feedback All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum