Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Stan, Outdoorking, Dunny, Pilgrim, SteveS), 35 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/22/12
Posts: 2
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 4 of 6 < 1 2 3 4 5 6 >
Topic Options
#174846 - 01/21/07 12:12 PM Re: Server Crashing [Re: BellaOnline]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
An update, the server crashed Friday night. They rebooted it Saturday morning. It crashed again Saturday night, and they rebooted it Sunday morning. On Monday they are going to add in a third hard drive to handle all the log files, to see if that helps.

Intriguingly, MailEnable (the only other application on this server) reported errors during the crash time period. It says -

-----------

21 Jan 2007 00:07:05 MailEnable MailEnable Database Provider error: 0,FAILURE: (SELECT ID,Mode,AddressMask,Status,Account,AccessRight FROM SMTP_ACCESS WHERE ((Mode = 1) AND ((AddressMask = '64.*.*.*') OR (AddressMask = '64.74.*.*') OR (AddressMask = '64.74.173.*') OR (AddressMask = '64.74.173.203')) AND (AccessRight = 'CONNECT') AND ID > 0) ORDER BY ID LIMIT 1;), Module: MESMTPC.EXE; Error: [MySQL][ODBC 3.51 Driver][mysqld-4.1.16-nt]MySQL server has gone away

21 Jan 2007 08:33:55 MailEnable MailEnable Database Provider error: 0,FAILURE: (SELECT ID,Name,Status,Account FROM POSTOFFICE ORDER BY Name;), Module: MERADMS.exe; Error: [MySQL][ODBC 3.51 Driver][mysqld-4.1.16-nt]MySQL server has gone away

-----------

So where did MySQL go? \:\)
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#174849 - 01/21/07 12:40 PM Re: Server Crashing [Re: BellaOnline]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
silly question - but as it is at night - is it crashing during a backup procedure?
Top
#174876 - 01/21/07 04:45 PM Re: Server Crashing [Re: Ian]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Dumb question; how big are the log files? If they're over 2gb they could be causing crashing...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#174999 - 01/22/07 01:48 PM Re: Server Crashing [Re: Gizmo]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
OK I take back my other innodb comment - it looks like the UBB install overrode my defaults and made all the MYI files and such.

I do still have an ib_logfile0 but it's only 51mb.

I don't have any automated backups running on this server, I am trying to keep activity to a minimum so I can track down what the issue is.

I did just download the MySQL admin tools and will be turning on logging.

If you meant the webserver log files, no those aren't over a gig.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
#175056 - 01/22/07 07:02 PM Re: Server Crashing [Re: BellaOnline]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
I meant any server logfiles that could be associated with apache/php/any web scripts; but it's good none are that big, so that tosses that idea out of the window.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#175093 - 01/22/07 07:49 PM Re: Server Crashing [Re: Gizmo]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
"MySQL server has gone away"

"MySQL server has gone away"


MySQL is crashing. Again, you have a very very large installation, only one gig of RAM, only half of which is in use by the entire server, including operating system, web server and MySQL. It really is no surprise that MySQL and the server are crashing. There are not adequate resources.

Take the time to read the topics that I pointed to, tune your MySQL so that it can be at least somewhat efficient.

Start from there. Your posts only reinforce what we already suspect to be true. It's not going to fix itself. Throwing more RAM into your machine will do not a thing if the server doesn't use it either. You need to tune your MySQL and at least make use of the ram you have.
_________________________
This thread for sale. Click here!
Top
#175668 - 01/26/07 01:30 PM Re: Server Crashing [Re: David Dreezer]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
But again, there is plenty of RAM free. I'm running the SQL Administrator and it says the server is only being 5% used. All the cache hits seem great. Here are my settings - what do you think is set incorrectly?

I'm a database designer and have done a ton of work with MS-SQL, Oracle etc - this forum system really isn't that big at all ...

---------------

# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# SUPER privileges to allow the administrator to login even if the
# connection limit has been reached.
max_connections=800

# Query cache is used to cache SELECT results and later return them
# without actual executing the same query once again. Having the query
# cache enabled may result in significant speed improvements, if your
# have a lot of identical queries and rarely changing tables. See the
# "Qcache_lowmem_prunes" status variable to check if the current value
# is high enough for your load.
# Note: In case your tables change very often or if your queries are
# textually different every time, the query cache may result in a
# slowdown instead of a performance improvement.
query_cache_size=33M

# The number of open tables for all threads. Increasing this value
# increases the number of file descriptors that mysqld requires.
# Therefore you have to make sure to set the amount of open files
# allowed to at least 4096 in the variable "open-files-limit" in
# section [mysqld_safe]
table_cache=1520

# Maximum size for internal (in-memory) temporary tables. If a table
# grows larger than this value, it is automatically converted to disk
# based table This limitation is for a single table. There can be many
# of them.
tmp_table_size=16M


# How many threads we should keep in a cache for reuse. When a client
# disconnects, the client's threads are put in the cache if there aren't
# more than thread_cache_size threads from before. This greatly reduces
# the amount of thread creations needed if you have a lot of new
# connections. (Normally this doesn't give a notable performance
# improvement if you have a good thread implementation.)
thread_cache_size=38

#*** MyISAM Specific options

# The maximum size of the temporary file MySQL is allowed to use while
# recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.
# If the file-size would be bigger than this, the index will be created
# through the key cache (which is slower).
myisam_max_sort_file_size=100G

# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method. This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_max_extra_sort_file_size=100G

# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method. This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_sort_buffer_size=64M

# Size of the Key Buffer, used to cache index blocks for MyISAM tables.
# Do not set it larger than 30% of your available memory, as some memory
# is also required by the OS to cache rows. Even if you're not using
# MyISAM tables, you should still set it to 8-64M as it will also be
# used for internal temporary disk tables.
key_buffer_size=256M

# Size of the buffer used for doing full table scans of MyISAM tables.
# Allocated per thread, if a full scan is needed.
read_buffer_size=1M
read_rnd_buffer_size=4M

# This buffer is allocated when MySQL needs to rebuild the index in
# REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE
# into an empty table. It is allocated per thread so be careful with
# large settings.
sort_buffer_size=4M

key_buffer = 256M
max_allowed_packet = 1M
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
#175669 - 01/26/07 01:33 PM Re: Server Crashing [Re: BellaOnline]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
And also for example during this week the server ran flawlessly Mon - Thu, then crashed twice on Thu and twice on Fri with no increase in traffic. It really doesn't point to some sort of SQL setting being wrong. It points to something in particular that the forum is trying to do choking it.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
#175670 - 01/26/07 01:38 PM Re: Server Crashing [Re: BellaOnline]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Well, what is strange that it was crashing before the upgrade as well. The difference in the design of your prior version and version 7 are completely different, and the fact that it was crashing then and crashing now even with all the changes leads me to believe there is some underlying factor.

Are you running the latest MySQL version? If not then you could look at upgrading MySQL.
Top
#175679 - 01/26/07 02:08 PM Re: Server Crashing [Re: BellaOnline]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Bella you probably need to do some long term logged performance analysis on the system. This should leave a trace of the cause even if it were to blue screen as it would still keep the log up to that time.
Top
Page 4 of 6 < 1 2 3 4 5 6 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image