Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Is There a MySQL Database Tech in the House
My Blog (arrgh.) | 02/03/2008 | Adam Graham

Posted on 02/03/2008 7:39:29 AM PST by Keyes2000mt

Is there an expert on MySQL in the house? My blog keeps crashing my VPS which has 256 MB of RAM.


TOPICS: Computers/Internet
KEYWORDS: help

1 posted on 02/03/2008 7:39:30 AM PST by Keyes2000mt
[ Post Reply | Private Reply | View Replies]

To: Keyes2000mt
Get some more RAM.



That oughta do it.

2 posted on 02/03/2008 7:42:02 AM PST by jdm (A Hunter Thompson ticket would be suicide.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt

What level of machine do you currently have?

,...The new DDR2 memory is quite inexpensive compared to the older DDr...which is what i suspect that you might have....

There are variants of Linux that will run on something as small as 256M of Ram,...


3 posted on 02/03/2008 8:13:45 AM PST by Ernest_at_the_Beach (No Burkas for my Grandaughters!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: jdm

I think you answer his question! :^)


4 posted on 02/03/2008 8:14:17 AM PST by org.whodat (What's the difference between a Democrat and a republican????)
[ Post Reply | Private Reply | To 2 | View Replies]

To: Keyes2000mt
CORSAIR ValueSelect 1GB (2 x 512MB) DDR-400 CL 2.5-3-3-8 Dual Channel Kit Retail VS1GBKIT400
Price: $67.99*

5 posted on 02/03/2008 8:17:27 AM PST by Ernest_at_the_Beach (No Burkas for my Grandaughters!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt
You can't use this memory on older motherboards...but

A-DATA 2GB (2 x 1GB) DDR2-800 CL 5-5-5-18 Dual Channel Kit ADQVE1A16K Desktop Memory - Retail
Price: $51.99*

6 posted on 02/03/2008 8:20:54 AM PST by Ernest_at_the_Beach (No Burkas for my Grandaughters!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt
More options :

CPU+MB COMBO, AMD 64X2 4000+GBT NF4+6100
Starting Price: $129.99

Dual Core Performance Combo

Perfect for Building a Home Office/Entertainment Machine

7 posted on 02/03/2008 8:25:31 AM PST by Ernest_at_the_Beach (No Burkas for my Grandaughters!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt

Got any messages in /var/log/mysqld.log?


8 posted on 02/03/2008 9:34:36 AM PST by HAL9000
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt; rdb3; Calvinist_Dark_Lord; GodGunsandGuts; CyberCowboy777; Salo; Bobsat; JosephW; ...

9 posted on 02/03/2008 12:50:16 PM PST by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt
1. Check for the existence of the /etc/my.cnf file - this should exist, and will be used by MySQL for its various settings that you can tweak.

2. Check the settings on php.ini (different locations depending on what Linux version you have) - try increasing the max memory ffrom 8M (default) to 32M - it could be that PHP is running out of RAM when processing your blog.

10 posted on 02/03/2008 1:02:15 PM PST by ikka
[ Post Reply | Private Reply | To 1 | View Replies]

To: All

Actually, I started to type this, but I think my wife hit the submit button when I was away. The RAM suggestion is an interesting one, but is costly as I’m renting a VPS, and renting a dedicated host is even more pricey. As for my logs, I got some advice on Yahoo and cleared them out If it crashes again then I’ll have proof for the exact problem. So far, after clear the log, the site is up. It’s been up continuously for 10 hours, which may not seem like much but the way my day’s been going, you better belive it is.


11 posted on 02/03/2008 1:35:56 PM PST by Keyes2000mt (Conservative Podcast: The Truth and Hope (http://www.truthandhope.2truth.com))
[ Post Reply | Private Reply | To 10 | View Replies]

To: Ernest_at_the_Beach

VPS, virtual private server. He has to pay more every month for more RAM. But I don’t see how simple blog software with MySQL shouldn’t be able to run well in that with low load.


12 posted on 02/03/2008 1:59:22 PM PST by antiRepublicrat
[ Post Reply | Private Reply | To 5 | View Replies]

To: antiRepublicrat; Keyes2000mt

I wondered what that VPS was....guess I am behind the times.


13 posted on 02/03/2008 2:17:03 PM PST by Ernest_at_the_Beach (No Burkas for my Grandaughters!)
[ Post Reply | Private Reply | To 12 | View Replies]

To: Keyes2000mt
So far, after clear the log, the site is up.

This got me to thinking about a problem we were having awhile back-- not sure it's yours too, but you might keep an eye on it.

After several months of operation, one of my app servers would stop responding to Apache calls to its various websites. Turns out, a couple of the apps I was hosting had some very verbose log settings, and the thing was slowly running out of physical disk space. No symptoms until suddenly, the machine wouldn't serve any more pages.

You might do a df command occasionally to make sure you're not coming close to what your VPS provider is giving you. With a measly 256MB RAM, it's possible you don't have a lot of disk space to play around with either.

14 posted on 02/03/2008 3:08:10 PM PST by Egon ("If all your friends were named Cliff, would you jump off them??" - Hugh Neutron)
[ Post Reply | Private Reply | To 11 | View Replies]

To: Keyes2000mt

Unless you have a blog that generates a lot (and I do mean a lot) more traffic than usual, 256 MB RAM should be plenty. Besides looking in the MySQL logs (as others have aptly suggested), have you looked at the Apache (or whatever web server you’re using) logs? If so, is there a common page or operation that is particularly intense and causing the crashes, rather than MySQL itself?


15 posted on 02/03/2008 10:12:49 PM PST by SeƱor Zorro ("The ability to speak does not make you intelligent"--Qui-Gon Jinn)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Keyes2000mt

What makes you think the problem is related to MySQL?


16 posted on 02/04/2008 2:28:46 AM PST by TiberiusClaudius
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ernest_at_the_Beach

A tip:

http://www.datamemorysystems.com

I’ve been buying from them for years and never had a chip go bad — and their prices are the best. (It doesn’t hurt that I live two towns away. :) )


17 posted on 02/04/2008 8:19:11 AM PST by FRForever (http://www.constitutionparty.com)
[ Post Reply | Private Reply | To 6 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson