Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 87 guests, and 199 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Yarp™
Yarp™
Breda, NL
Posts: 1,530
Joined: August 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 17
isaac 12
SteveS 8
Morgan 5
Ruben 4
jorb 4
Zarzal 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Server Crashing #173440
01/14/07 12:25 AM
01/14/07 12:25 AM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
I have a dedicated server which only does two things - runs the UBB forum and runs MailEnable mail software. MailEnable is running very smoothly and in the MailEnable world we're a relatively small install for them, only 400 or so boxes. On the UBB side we have 25,000 members and 400 forums, which I believe makes us one of the largest Windows installs.

http://forum.bellaonline.com/ubbthreads.php

Our server kept crashing in 2006 until we had a total system failure in the fall. We rebuilt the server and hoped we could hobble through until this new version came out. It has been crashing every few days in the past few weeks. We did the upgrade last week even though I had concerns about the content island issues, in hopes of getting the crashing to stop. Unfortunately the server's still crashing, it was down for 3 hours yesterday morning.

We have a gig of RAM and oodles of disk space. The server is usually only 20% busy so it's not maxing out the processor.

Any thoughts on any tuning we can try, to help this to run more smoothly? I do need the forums to all have content islands, but I have them set to generate only every 30 minutes to try to keep things relatively stress free ...

The server event logs never show anything amiss before the crashes.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
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."
Re: Server Crashing [Re: BellaOnline] #173442
01/14/07 12:31 AM
01/14/07 12:31 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
When you say crashes do you mean UBBT stops responding or hangs? Or do you mean Windows hangs or quits responding or is it blue screening?

What version of Windows are you running?
What version of PHP and MySQL are you running?

Re: Server Crashing [Re: ntdoc] #173449
01/14/07 02:09 AM
01/14/07 02:09 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
It could also be hardware issues if you're that popular things may not be able to be written to disk properly; are you using a standard 7200rpm ide disk?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: ntdoc] #173450
01/14/07 02:09 AM
01/14/07 02:09 AM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
I remote terminal into the server at its hosting facility, so what I see is that the machine no longer responds to pings, no longer displays any web pages and no longer answers remote terminal requests. The techs have to reboot it to get it responsive again.

The server's running Windows 2000, sp4, 5.00.2195

PHP is 5.1.1

MySQL is 4.1.16


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #173452
01/14/07 02:11 AM
01/14/07 02:11 AM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
When the server completely went down last fall (which happened when I was on a trip to Ukraine, I had to rebuild the server dialing in from a hotel in Lviv) they replaced the hard drive, in case that was the issue. The server has two hard drives - one for the OS, and one for the websites. I'm asking them to put in a third hard drive to handle the log files. I found on my other servers that providing a hard drive just for log file writing helped things go more smoothly.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #173454
01/14/07 02:15 AM
01/14/07 02:15 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
Are they IDE or SATA or SCSI? If you can afford it I'd go with faster SATA or SCSI disks (7200rpm, 10k rpm, 15k rpm); if the disks are turning out to be the issues it would likely be a resources issue on the machine with writing to disk (it's also prudent to let you know that even writing to MySQL writes to your hard disk, as mysql files are stored as flat files in the end).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #173460
01/14/07 02:49 AM
01/14/07 02:49 AM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
Well yes writing to any database causes disk access smile I know that. I will chat with my hosting company to get the details on the disk types.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #173464
01/14/07 04:24 AM
01/14/07 04:24 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
Sorry, I've gotten in the habbit of providing way too much information in my inqueries; you never know when someone will stumble in with the same issues in the future wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: BellaOnline] #173466
01/14/07 04:32 AM
01/14/07 04:32 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
Well you probably get no choice but Server 2003 implements a completely different IO scheme and is much better at handling memory and disk IO. As for disk speed 15K SCSI drives on a GOOD RAID controller is going to beat out the SATA drives.

That does not explain though what is causing it to hang and not respond. Slow writes should show up in event viewer as an error.

Enable event logging and it may give you more details.

And this is a stand alone server, not a VPS correct ?

When I'm on your site and it's running fine it seems to be okay speed wise so that leads me to think something else is going on and hanging the system. Maybe it is a hardware issue that locks it up and nothing to do with software.

What type of access do you have to the system when it's running normally? Can you run all the normal Windows tools and get to all the diagnostic tools?
.

Re: Server Crashing [Re: ntdoc] #173469
01/14/07 04:37 AM
01/14/07 04:37 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
I agree on a good raid controller and a 15k scsi beating the hell out of ide or sata, I'm just afraid that her host is running her on a standard ide/ata versus something more "modern" for the "ideal" setup...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #173472
01/14/07 04:45 AM
01/14/07 04:45 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
Oh I know the host provider isn't running a SCSI system for them as it's TOOOO expensive to build AND maintain. They all put in cheap stuff to get the most bang for the buck.

But if you co-locate or are allowed to build your own then it would be better to have the SCSI setup.
For SATA something like this is much better than what comes on the motherboards:
AMCC 3Ware 9650SE
http://www.3ware.com/products/serial_ata2-9650.asp


Hey I speced out a server for work to handle 5,000 transactions a day and it was not cheap. hp was about $37K and dell was about $25K not including the fail over system which is smaller and cheaper. Awesome system though. grin

.

Re: Server Crashing [Re: ntdoc] #173481
01/14/07 05:01 AM
01/14/07 05:01 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
Man I looked up that card, $230-$910 on NewEgg; it looks sweet but man, it's not cheap hehe...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #173484
01/14/07 05:04 AM
01/14/07 05:04 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
No it's not cheap but has better specs/speed than Promise and others. I would still rather have an hp DL380 G5 with their RAID controller grin

Re: Server Crashing [Re: ntdoc] #173485
01/14/07 05:05 AM
01/14/07 05:05 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
I think i've met my equivelant geek on a server area lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: BellaOnline] #173494
01/14/07 05:29 AM
01/14/07 05:29 AM
M
Maze  Offline

enthusiast
Joined: Jun 2006
Posts: 245
Berlin
Originally Posted by BellaOnline
[...] On the UBB side we have 25,000 members and 400 forums, which I believe makes us one of the largest Windows installs.
[...]
We have a gig of RAM and oodles of disk space. The server is usually only 20% busy so it's not maxing out the processor.

A single gig of RAM for such a huge site shocked. If you are sure the reason for crashing is not a hardware failure or such, the first thing I would do is to add more RAM. Configure MySQL to hold all indexes into RAM to relieve hd load.


##eek##
Re: Server Crashing [Re: Maze] #173504
01/14/07 11:42 AM
01/14/07 11:42 AM
I
Ian Spence  Offline
enthusiast
Joined: Jun 2006
Posts: 255
Well something is wrong with your forums, your ubb=online page is doing 41 queries every single time it's viewed, which leads me to believe it's rebuilding the cache every time that page is viewed. That could easily bring down a server. I don't know exactly what could cause that, but will let Rick work with my observation

Re: Server Crashing [Re: Ian Spence] #173544
01/14/07 06:41 PM
01/14/07 06:41 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
Offhand I'd say to check the portal page module cache and ensure things are set to 15minutes or so (at least 5); I'd highly advise against using a low number on such a large forum...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #173584
01/14/07 11:59 PM
01/14/07 11:59 PM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
The disks are 7200RPM SATA drives. I will ask about faster disks.

This is a dedicated machine that is solely mine. The three standard event logs do not show any problems before the crash. I remote terminal into the machine so I can do whatever I want to it. I manage it and install the software myself. Normally it runs at very low processor usage and reasonable memory usage. When it crashes, I can't log in of course smile Then when it reboots everything seems fine and the log files don't report any problems before the crash. So it's been very hard to troubleshoot this. We had hoped it was a hardware issue with the previous disk, but apparently that was not the case.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: Maze] #173585
01/15/07 12:01 AM
01/15/07 12:01 AM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
Quote:
A single gig of RAM for such a huge site shocked. If you are sure the reason for crashing is not a hardware failure or such, the first thing I would do is to add more RAM. Configure MySQL to hold all indexes into RAM to relieve hd load.


Actually I just looked at the task manager to check, it's barely using half the RAM. That has never seemed an issue to me. If I go the route of tossing all indices into RAM, would that really take up the other 500mb?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #173589
01/15/07 01:58 AM
01/15/07 01:58 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
Here are some links to help you diagnose problems.

You may have to start and run a long term performance log to see if it can track down an issue.

Hopefully something here helps you to track down the issue.

Microsoft Windows Server 2003 Performance Advisor
http://www.microsoft.com/downloads/...6b9-a9a5-9bffcd237da2&DisplayLang=en

Windows Server 2003 Performance Counters Reference
http://technet2.microsoft.com/Windo...4f52-a9f8-09d5ebeb9ef21033.mspx?mfr=true

Introduction to Windows Support Tools
http://technet2.microsoft.com/Windo...4623-98ab-dc26f1faa6eb1033.mspx?mfr=true

Windows Server 2003 Service Pack 1 Administration Tools Pack
http://www.microsoft.com/downloads/...36A-A392-25793A25BAD7&displaylang=en

Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/...AE7-96EE-B18C4790CFFD&displaylang=en

Windows Server 2003 Service Pack 1 32-bit Support Tools
http://www.microsoft.com/downloads/...E81-B3BE-4E7AC4F0912D&displaylang=en

Internet Information Services (IIS) 6.0 Resource Kit Tools
http://www.microsoft.com/downloads/...C73-B628-ADE629C89499&displaylang=en


Re: Server Crashing [Re: ntdoc] #173590
01/15/07 03:13 AM
01/15/07 03:13 AM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
With my server running Windows 2000, I feel uncomfortable downloading Windows 2003 resources onto it ...


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #173592
01/15/07 05:22 AM
01/15/07 05:22 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
Okay my mistake. Similar tools but I'll look them up for you tomorrow.

Quote:
The server's running Windows 2000, sp4, 5.00.2195

PHP is 5.1.1

MySQL is 4.1.16


Last edited by ntdoc; 01/15/07 05:24 AM.
Re: Server Crashing [Re: ntdoc] #173593
01/15/07 05:34 AM
01/15/07 05:34 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
Does it have all the up to date recent Critical updates installed ?

.

Re: Server Crashing [Re: ntdoc] #173605
01/15/07 07:54 AM
01/15/07 07:54 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
I've always found that using windows update leads to an unstable system wink... Think of it, all these new fangled utilities being listed as critical is worthles... I say you decide on your own what you want to install wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #173634
01/15/07 02:02 PM
01/15/07 02:02 PM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
Gizmo that is not true - Yes it was very problematic years ago, but now days it is pretty rock solid (imho) Yes on occasion there are issues but often only due to some specific setting or other software you have installed. I've managed very large sites and smaller sites as well and all of them work fine with Microsoft critical updates. Microsoft is also available for free to repair your issue if the critical update did break it.

Granted many of the updates are not quite as "critical" as some would want to believe but still 99% of the time you will not have an issue with an update (imho). Which is still better than most companies out there that provide updates.

.

Re: Server Crashing [Re: BellaOnline] #173642
01/15/07 03:21 PM
01/15/07 03:21 PM
M
Maze  Offline

enthusiast
Joined: Jun 2006
Posts: 245
Berlin
Originally Posted by BellaOnline
Quote:
A single gig of RAM for such a huge site shocked. If you are sure the reason for crashing is not a hardware failure or such, the first thing I would do is to add more RAM. Configure MySQL to hold all indexes into RAM to relieve hd load.


Actually I just looked at the task manager to check, it's barely using half the RAM. That has never seemed an issue to me. If I go the route of tossing all indices into RAM, would that really take up the other 500mb?

You can easily check that by looking into the directory where your MySQL db-files reside. Add up the size of all the *.MYI files. If you have unused RAM, you really should make use of it.


##eek##
Re: Server Crashing [Re: Maze] #173708
01/15/07 07:21 PM
01/15/07 07:21 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
NT, do a fresh install of XP Pro and do no updates, let it run for 2 weeks and monitor your resource usage.

Now, install windows updates, all of them like any standard sheep would do... And now monitor your resource usage.

Your resource usage (on the bare system, running no extra utilities) will run like crap compared to the fresh system, with only Windows Updates installed.

So yes, it is true; the windows updates "new fangled utilties" that come as standard updates are a complete drain on your machine; it's quite discusting and makes baby jesus want to cry...

I haven't done this in several years, but it's been the same for several versions of Windows; it's sad when you can't even trust the provider to do something as simple as provide reliable updates to their software lol...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #173733
01/15/07 08:28 PM
01/15/07 08:28 PM
David Dreezer  Offline

Pooh-Bah
Joined: Jul 2006
Posts: 2,199
In general only 1 gig of RAM is pretty light for as large an installation as you have. If you're only using but half of that gig you're not doing your server or it's discs a favor.

All of that extra unused RAM could and should be used for database caching. More memory cache less disc access.

As for why your machine becomes unresponsive we likely cannot tell you unless we're there to see it, but experience can be helpful. Here's the most common scenario that I've seen -

Machine is either low on resources or isn't using them well but hums along just fine until something is done that brings it close to the edge of it's limits. Maybe it's a bunch of searches all at the same time, maybe it's a huge cache rebuild that occurs while a search is being run. Whatever the exact cause, it was a combination of things that brought a machine close to it's max out put.

Now the machine is slowed and requests start to back up. Perhaps it's disc IO that is the culprit. Memory use while the machine is backing up still looks fine. Load, while rising isn't huge. That's because the discs are so backed up nothing is being processed. Load is climbing though because of the number of processes that are waiting for disc.

Doesn't take but a few seconds in that state to get a locked up server. Nothing is going to fix it now except a reboot.

Do I know if that is what happened to your machine? No. But I wouldn't be surprised at all. I see it every day. You've got a gig of RAM, which is light for your volume, and only half of that is in use. Just think how much better the thing would run if it was making efficient use of the entire gig of RAM?

Go here and read the tuning tutorials. A gig likely isn't enough for your traffic by why have a gig of RAM if you're only using half? Get that machine making more efficient use of your RAM and it will help.

Of course, I'm taking your word that it is only using half the gig. That in itself sounds kinda fishy to me. Do yourself a favor and verify that again before you make any changes to your MySQL.


This thread for sale. Click here! [Linked Image]
Re: Server Crashing [Re: David Dreezer] #173735
01/15/07 08:33 PM
01/15/07 08:33 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
I was hoping someone with more windows hosting experience would happen over this threads; and in comes the mac user wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Maze] #173761
01/15/07 11:21 PM
01/15/07 11:21 PM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
"You can easily check that by looking into the directory where your MySQL db-files reside. Add up the size of all the *.MYI files. If you have unused RAM, you really should make use of it. "

I most definitely know I have half the RAM unused.

We do not have MYI files. We are running InnoDB.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #174846
01/21/07 12:12 PM
01/21/07 12:12 PM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
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? smile


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #174849
01/21/07 12:40 PM
01/21/07 12:40 PM
I
Ian  Offline

Carpal Tunnel
Joined: Jun 2006
Posts: 4,374
Essex, UK
silly question - but as it is at night - is it crashing during a backup procedure?

Re: Server Crashing [Re: Ian] #174876
01/21/07 04:45 PM
01/21/07 04:45 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
Portland, OR; USA
Dumb question; how big are the log files? If they're over 2gb they could be causing crashing...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #174999
01/22/07 01:48 PM
01/22/07 01:48 PM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
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 - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #175056
01/22/07 07:02 PM
01/22/07 07:02 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,013
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Server Crashing [Re: Gizmo] #175093
01/22/07 07:49 PM
01/22/07 07:49 PM
David Dreezer  Offline

Pooh-Bah
Joined: Jul 2006
Posts: 2,199
"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! [Linked Image]
Re: Server Crashing [Re: David Dreezer] #175668
01/26/07 01:30 PM
01/26/07 01:30 PM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
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 - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #175669
01/26/07 01:33 PM
01/26/07 01:33 PM
BellaOnline  Offline
OP
old hand
Joined: Jun 2006
Posts: 781
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 - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Server Crashing [Re: BellaOnline] #175670
01/26/07 01:38 PM
01/26/07 01:38 PM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 10,177
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.

Re: Server Crashing [Re: BellaOnline] #175679
01/26/07 02:08 PM
01/26/07 02:08 PM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
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.

Page 1 of 2 1 2

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
table issue
by TheBrit. 12/13/18 06:05 PM
testing table layout
by TheBrit. 12/13/18 11:16 AM
header.php after update from 7.5.x to 7.6.x
by Zarzal. 12/12/18 05:29 AM
Does 7.6.2 support php 71?
by Baldeagle. 12/12/18 02:17 AM
Cannot contact support
by . 12/11/18 06:43 PM
Forum Statistics
Forums36
Topics35,178
Posts191,665
Members12,122
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2