First time managing a server, need to know what's normal...
I have temporarily inherited a client and there are some perceived issues with the server set up. I am *so* not a sysadmin, however, it's in my lap and I have to deal with it, so I'd like to know what is actually normal, if anyone can help me.
Here's the problem -- the server is configured to support EZPub ( http://developer.ez.no/ ) and it requires that I stop and restart httpd every two days in order to free up memory. It has 522.784 megabytes RAM, which is the server limit. The client seems to think that having "so little" RAM makes the server akin to someone's desktop computer. It's a dedicated server.
What is a reasonable amount of RAM for a server?
Additionally, the logs fill up all the available space (partitioned), which means they need to be pruned regularly (bi-weekly?). Is this normal? Not normal? What is normal?
Any guidance would be appreciated.
Suzanne
nike_guy_man posted this at 06:08 — 27th December 2001.
They have: 840 posts
Joined: Sep 2000
Hello
I have a server of my own, and I run HTTPD as well as MySQL.
Thats basically my server software.
They only occupy about 10-15% of my 512 MB RAM.
When my traffic goes up a lot, my usage goes up to maybe 7-75%, depending on the # of connections at once.
I'd say for a high traffic site, a gig of ram should be fine, if you are running a lot of server side software, maybe 1.25 or 1.5 gigs.
This is simply my experience, so dont base your decision on me.
What kind of logs take up all the space??
My logs usually dont get too big....
What kind of server is this.
Suzanne posted this at 06:43 — 27th December 2001.
She has: 5,507 posts
Joined: Feb 2000
There are oodles of images on the site, so that fills up the logs quickly, plus the site it done in templates and includes, so there are a lot of "calls".
I guess the CMS is what's sucking up the memory.
Hm.
Anyone else have an idea? I'd like to be at least somewhat informed if I have to tell this client and the actual management team that they have to move to a new server.
Thanks!
Suzanne
mairving posted this at 21:52 — 1st January 2002.
They have: 2,256 posts
Joined: Feb 2001
Suzanne, sorry I didn't respond sooner. Been doing the Christmas thing.
I would suspect that the problem lies with EZPUB connecting to MySQL. You could try adding more RAM to satisfy your client but I think that the only thing that you would see is that there would be longer times between reboots. It is very unlikely that it could be number of users since that would only be a temp problem.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
Suzanne posted this at 22:41 — 1st January 2002.
She has: 5,507 posts
Joined: Feb 2000
Thanks, Mark,
I think you're right. We have identified a number of problems that are making things problematic.
1. The logs haven't been pruned in six months. That's right, MONTHS worth of raw logs in one file. Understandably, this is affecting things.
2. Extra connections for no reason.
3. Sessions aren't being terminated
So we're going to address those issues and see if it aids anything. I haven't had to reboot the server in 8 days, but I have stopped and started httpd a few times. Hopefully ditching the logs daily (archiving) will address some of the highest concerns, then removing the extraneous bits.
If that doesn't solve the problems, I guess I'll have to try again!
I have a great team working on this now, thankfully, and won't have to learn how to be a sysadmin in my "spare" time.
Thank you for your responses, it really helps to get an idea of what could be going wrong so I don't get hoodwinked.
S
Wil posted this at 09:59 — 2nd January 2002.
They have: 601 posts
Joined: Nov 2001
Write a small script, ran by cron every day or two to GZIP your old log files, and maybe move them to a seperate partition (hell, even FTP them to another machine!) which should free up disk space. Won't do much for your memory though.
I would go with the looking into how effective are the SQL calls to your database server, especially if the connections aren't terminated. Check in the config files to time out connections that have been opened for more than 15 seconds (or maybe a little longer if you're doing complex calls on a busy server), this might help you catch the last of these buggers.
Cheers
- wil
Suzanne posted this at 17:40 — 2nd January 2002.
She has: 5,507 posts
Joined: Feb 2000
Thanks, Wil. I'll pass that on to the team. I think they suggested something similar, which is great. It's really good to have independent confirmation of a plan of action.
It's been a nightmare for this client, so I'm glad it's looking like it's resolvable.
Suzanne
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.