Emuforums.com

Go Back   Emuforums.com > Forum & Emulation News Discussion > Website-Related Feedback
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old February 6th, 2004   #1 (permalink)
Leading the way.
 
PentiumPro's Avatar
 
Join Date: Apr 2003
Location: Simi Valley, California. USA
Posts: 777
Ngemu problems

Whats going on with nGemu right now? Are you guys trying to fix something?
__________________
CPU: P4 3.0GHZ Prescott HT @3.6][MB: Asus P5LD2][RAM: 1GB][Video Card: ASUS EAX800/ I.E. Radeon X800 256MB][Optiwrite DVD+R/RW 8x][40GB WinXP SP2-OS][250GB SATA Storage(Full)][120GB EIDE Storage (Full)][160GB Sata Storage][And one badass case!]
PentiumPro is offline   Reply With Quote
Old February 6th, 2004   #2 (permalink)
Resident Movie Critic
 
Betamax's Avatar
 
Join Date: Apr 2001
Location: Belfast, Northern Ireland
Posts: 9,480
Moved to feedback.
__________________

Superior marketing of an inferior product will always win over inferior marketing of a superior product.
Betamax is offline   Reply With Quote
Old February 6th, 2004   #3 (permalink)
Politically incorrect FTW
 
Kirby's Avatar
 
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 8,445
Alot of theories are going around:

1) The MyDoom virus that is going around might of struck
2) An upgrade went seriously wrong
3) your probably just seeing things
__________________


AMD Athlon64 X2 4400+ Toledo, Nvidia GeForce 7950GT SLi, 2GB PC3200 2-3-2-5, ABit AN8-SLi, Sound Blaster X-FI XtremeMusic
Kirby is offline   Reply With Quote
Old February 6th, 2004   #4 (permalink)
C:\
 
Join Date: Apr 2003
Location: (It's never dull in....) Hull, UK
Posts: 364
II tthhiinnkk ii''mm sseeeeiinngg ddoouubbllee..... or not... not seeing things, just must be problem due to the popularity of ngemu.com
__________________
Got a Windows Server Problem? Check out ServerSupport.co.uk
tonyyeb is offline   Reply With Quote
Old February 6th, 2004   #5 (permalink)
Emulation64's Animal >:D
 
Keith's Avatar
 
Join Date: Apr 2001
Location: United States
Posts: 1,215
Almost everyday at some point it is the same error on the mainpage. Not sure the cause either, but just give Bobbi time and he will get it fixed. He is only one person and doesn't always have a lot of free time to look into this stuff and keep up on it on a regular basis.
__________________




Emulation64.com | EFx2Blogs Forums | EFx2Blogs - Sign Up For Your Own Free EFx2Blog Today!
Keith is offline   Reply With Quote
Old February 6th, 2004   #6 (permalink)
C:\
 
Join Date: Apr 2003
Location: (It's never dull in....) Hull, UK
Posts: 364
Thats true Keith. I just hope he never looses interest in the site cause he puts a lot of hard work in to keep it running and I know from talking to Dixon that it's and expensive thing to keep running.
__________________
Got a Windows Server Problem? Check out ServerSupport.co.uk
tonyyeb is offline   Reply With Quote
Old February 6th, 2004   #7 (permalink)
C:\
 
Join Date: Apr 2003
Location: (It's never dull in....) Hull, UK
Posts: 364
Well still no joy on getting on the front page, too many connections... needs a yank of the chain (aka a good flush!)
__________________
Got a Windows Server Problem? Check out ServerSupport.co.uk
tonyyeb is offline   Reply With Quote
Old February 7th, 2004   #8 (permalink)
Extra Large Member
 
Cypherswipe's Avatar
 
Join Date: May 2003
Posts: 934
Quote:
Warning: mysql_connect(): Host 'srv01.ngemu.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /home/virtual/site10/fst/var/www/html/modules/functions.php on line 13
There was an error connecting to the NGEmu database. Please try again later.
That sounds like it can only be fixed by an admin, not something that will go away when some of the users log off.
__________________
Cypherswipe is offline   Reply With Quote
Old February 7th, 2004   #9 (permalink)
Nutcase
 
roxor's Avatar
 
Join Date: Dec 2002
Location: Great Southern Land
Posts: 703
I have been having so much trouble getting into emuforums lately. The damn connection keeps timing out. WTF is going wrong?
__________________
"I feel that if a person can't communicate, the very least he can do is to shut up!" - Tom Lehrer
roxor is offline   Reply With Quote
Old February 7th, 2004   #10 (permalink)
I Need a Weapon
 
FLaRe85's Avatar
 
Join Date: Oct 2001
Location: Omaha, NE
Posts: 4,321
Quote:
Originally Posted by Cypherswipe
That sounds like it can only be fixed by an admin, not something that will go away when some of the users log off.
Correct. It's a problem with the way the MySQL server is configured. The only two ways to deal with this are flushing the hosts file and setting the error connection counter to a higher value or even unlimited. Bobbi has been meaning to fix this, but hasn't gotten around to it yet.
__________________
.: Flaretech.Net :: Flaretech.Biz Web Hosting :: H3 Stats :: My Blog :.



.: Mac Pro :: Dual Quad-Core Intel Xeon 5400s :: 6 GB 800MHz DDR2 ECC FB-DIMMs :: NVIDIA GeForce 8800 GT 512 MB GDDR3 :.
.: Macbook Pro 17" :: 2.33 GHz Intel Core 2 Duo :: 2 GB 667 MHz DDR2 :: ATI Radeon X1600 :.
.: Home Server :: 2.41 GHz AMD Opteron 180 :: 4 GB DDR400 :: Windows Server 2003 Enterprise R2 :.

Last edited by ShADoWFLaRe85; February 7th, 2004 at 09:13.
FLaRe85 is offline   Reply With Quote
Old February 7th, 2004   #11 (permalink)
Registered User
 
Velocity 7's Avatar
 
Join Date: Nov 2001
Location: Your Computer
Posts: 106
Well, I hope he gets to it now, because things not fixed early tend to haunt people later.
Velocity 7 is offline   Reply With Quote
Old February 8th, 2004   #12 (permalink)
Banned
 
Join Date: Feb 2004
Posts: 6
Umm is it me but all the graphics on the main page isnt there its going strange
Sniper Wolf is offline   Reply With Quote
Old February 8th, 2004   #13 (permalink)
I Need a Weapon
 
FLaRe85's Avatar
 
Join Date: Oct 2001
Location: Omaha, NE
Posts: 4,321
Quote:
Originally Posted by Velocity 7
Well, I hope he gets to it now, because things not fixed early tend to haunt people later.
Bobbi does what he can. Nobody pays him to run this site. He does this as a hobby and pays a tremendous amount of money so that you can all have NGEmu. I think it would be wise to respect that he can only fix things when his schedule permits him to do so.
__________________
.: Flaretech.Net :: Flaretech.Biz Web Hosting :: H3 Stats :: My Blog :.



.: Mac Pro :: Dual Quad-Core Intel Xeon 5400s :: 6 GB 800MHz DDR2 ECC FB-DIMMs :: NVIDIA GeForce 8800 GT 512 MB GDDR3 :.
.: Macbook Pro 17" :: 2.33 GHz Intel Core 2 Duo :: 2 GB 667 MHz DDR2 :: ATI Radeon X1600 :.
.: Home Server :: 2.41 GHz AMD Opteron 180 :: 4 GB DDR400 :: Windows Server 2003 Enterprise R2 :.
FLaRe85 is offline   Reply With Quote
Old February 9th, 2004   #14 (permalink)
Extra Large Member
 
Cypherswipe's Avatar
 
Join Date: May 2003
Posts: 934
True, it's just aggravating when these problems last for a day or more.

In any case, the site seems to be working agin now.
__________________
Cypherswipe is offline   Reply With Quote
Old February 9th, 2004   #15 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Los Angeles
Posts: 53
I would assume this site is hosted on a dedicated server, running Apache... or rather, I know such because this site sends these headers:
Code:
Server: Apache
X-Powered-By: PHP/4.3.3
As such, I recommend messing with whether the database uses persistent connections or not. Basically, if this server is using them, it might be creating too many children and causing errors. If it's not using them, it may be that too many people are connecting at once.

If you have administrative (root) access to the MySQL server, there's a lot more you can do. Mostly, these queries:
SET GLOBAL max_connections = 500;
SET GLOBAL max_user_connections = 0;

There, of course, is a lot that can be done to make this server faster; caching, for one thing - but I seem to remember seeing stuff like that was being done.

-[Unknown]
[Unknown] is offline   Reply With Quote
Old February 10th, 2004   #16 (permalink)
Administrator
 
Bobbi's Avatar
 
Join Date: Apr 2001
Location: Germany
Posts: 2,026
Quote:
Originally Posted by [Unknown]
I would assume this site is hosted on a dedicated server, running Apache... or rather, I know such because this site sends these headers:
Code:
Server: Apache
X-Powered-By: PHP/4.3.3
As such, I recommend messing with whether the database uses persistent connections or not. Basically, if this server is using them, it might be creating too many children and causing errors. If it's not using them, it may be that too many people are connecting at once.

If you have administrative (root) access to the MySQL server, there's a lot more you can do. Mostly, these queries:
SET GLOBAL max_connections = 500;
SET GLOBAL max_user_connections = 0;

There, of course, is a lot that can be done to make this server faster; caching, for one thing - but I seem to remember seeing stuff like that was being done.

-[Unknown]
We're not using persistent connections, that'd be crazy. The settings you suggest are good, however already being used. We're using mySQL caching as well as a self-made caching system, which however is far from being perfect (but reduced load by 40-60%, depending on the number of people being online)

That the errors happened are related to +10.000 errors having happened within a fairly short amount of time ... we are looking into finding a way to get less errors, but I fear this won't happen before the holidays (22th February), as I'm simply too short on time.

Thanks for sticking with us, we're working as much as possible to get these issues worked out.
__________________

Specs: AMD Athlon 64 4000+ • 2048 MB PC400 RAM • Nvidia GeForce 7600 GT PCI-E • WinXP Pro
Bobbi is offline   Reply With Quote
Old February 10th, 2004   #17 (permalink)
C:\
 
Join Date: Apr 2003
Location: (It's never dull in....) Hull, UK
Posts: 364
Big up the support for Bobbi and the crew... or something like that! Keep up the hard work!
__________________
Got a Windows Server Problem? Check out ServerSupport.co.uk
tonyyeb is offline   Reply With Quote
Old February 10th, 2004   #18 (permalink)
I Need a Weapon
 
FLaRe85's Avatar
 
Join Date: Oct 2001
Location: Omaha, NE
Posts: 4,321
Quote:
Originally Posted by Bobbi
We're not using persistent connections, that'd be crazy. The settings you suggest are good, however already being used. We're using mySQL caching as well as a self-made caching system, which however is far from being perfect (but reduced load by 40-60%, depending on the number of people being online)

That the errors happened are related to +10.000 errors having happened within a fairly short amount of time ... we are looking into finding a way to get less errors, but I fear this won't happen before the holidays (22th February), as I'm simply too short on time.

Thanks for sticking with us, we're working as much as possible to get these issues worked out.
Right. I don't think people realize what is going on here. So, here's a more technical definition:

We have 2 dedicated servers. When you connect to www.ngemu.com, you are connecting to the main page, which is hosted on srv01. However, the MySQL server is hosted on srv02. So, in order to dynamically build the front page, index.php causes srv01 to make a connection to the MySQL daemon on srv02 in order to run the SQL queries. This is why the message indicates that srv01.ngemu.com is blocked because of too many connection errors. What this error means is that srv01 is temporarily being banned from connecting to srv02 after it reaches a certain amount of "broken" connections defined in an error counter variable. It does this is actually for security reasons.

Why are so many connections being broken so quickly, I have no idea. That could be a network issue, but it's hard saying. So, for the time being, the only way to make sure this doesn't interfere with the operation of the site is to raise the error counter variable.
__________________
.: Flaretech.Net :: Flaretech.Biz Web Hosting :: H3 Stats :: My Blog :.



.: Mac Pro :: Dual Quad-Core Intel Xeon 5400s :: 6 GB 800MHz DDR2 ECC FB-DIMMs :: NVIDIA GeForce 8800 GT 512 MB GDDR3 :.
.: Macbook Pro 17" :: 2.33 GHz Intel Core 2 Duo :: 2 GB 667 MHz DDR2 :: ATI Radeon X1600 :.
.: Home Server :: 2.41 GHz AMD Opteron 180 :: 4 GB DDR400 :: Windows Server 2003 Enterprise R2 :.
FLaRe85 is offline   Reply With Quote
Old February 11th, 2004   #19 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Los Angeles
Posts: 53
ShADoWFLaRe85, I've seen two different messages. I've seen the one you describe (it was up for days...) and another - that there were too many connections to the MySQL server from the same user. This is why I suggested tweaking the max_connections variables.

You might also look into using a slave/master configuration. Using vBulletin's current system, and likely the one you use on the main site, you could send different queries (write vs. read) to different servers.

The reason for this is simple. If you have srv01 running MySQL, but read only, then it can do all the data for the main site. No matter how far apart the ping is for the two servers, (by the by, they're in different areas, which is very slow between servers.) having a localhost/pipe connection is faster. So, if the master (srv02) is sending all writes, parsed, to the slave (srv01) it could speed things up considerably. (depending on how your caching system works, and how much is caches.)

http://www.mysql.com/doc/en/Replication.html

Bobbi, you might check the queries in vBulletin and your page to make sure they are largely static. Query caching, as I'm sure you know, works off the query itself staying the same - so if it is dynamic with WHERE conditions that depend on this page view, or with time() in it, this will cause problems. If these can be changed at all, it would improve things a lot.

However, this may or may not solve the issue. There are other things, of course, that can be done. I'm more than willing to help with this, if you're willing to accept my help. I'm not trying to tell you things you already know or patronize you, just trying to give you ideas that you might not have thought of because they were so simple.

And, persistant connections, yes, are a very bad idea considering the distance between your two servers.

If you want to know who I am, I'm the lead developer for some as-yet unreleased forum software, SMF. I do a lot to make sure it's fast and to optimize it's queries almost every day, so I might actually know something about what I'm talking about .

-[Unknown]
[Unknown] is offline   Reply With Quote
Old February 11th, 2004   #20 (permalink)
Emu author
 
mikeshoup's Avatar
 
Join Date: Aug 2001
Location: Englewood, CO, USA
Posts: 292
Hey [Unkown]! Just want to say, good job on SMF :P I'm using it in an upcoming site of mine. Thanks for that wonderful work you do!
__________________
Awards stink like poo.
mikeshoup is offline   Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:18.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5