LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-10-2011, 04:27 PM   #1
daniw
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
need help in server config


Hello,
I need a command that clear ram memory cache when it reach 8gb. My instaled memory is 12gb. I have a webserver with hight traffic and ram memory is filled 11gb in 2 days.
Can anyone give me a sample of my.cnf that works good for 500 online users?

Thanks
 
Old 02-10-2011, 04:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Why do you need to clear it? It sounds like you're not familiar with linux memory usage... http://www.linuxatemyram.com/

as for a sample config, that doesn't make sense. You can't treat a web server as broadly as that, you've not said anything about what the server is actually doing.
 
Old 02-11-2011, 01:27 AM   #3
daniw
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
in 2 days the sever memory usage is 11.5gb from a total of 12gb installed. At this point the servers works very heavy, the websites are loading very slow, after I clear the cache, the server is very fast
 
Old 02-11-2011, 10:01 AM   #4
wetech3
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 1
Your Webserver running with Mysql ..

Hi,

What is the Database using in your Linux machine and also the Max_user limit in your my.cnf
 
Old 02-11-2011, 02:16 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
When you clear the cache? But you're asked what the command is? how can you be clearing it if you don't know what the command is? Sounds like you have a very badly written application, or are mis-interpretting the situation. There is no way that clearing RAM cache will affect this, it's not what you think it is. I suggest you read that link I provided to clarify that side of things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Subnet 1 httpd server and 2 dns server how to config? ramnit Linux - Networking 1 06-15-2009 12:33 AM
config dhcp server meysam39 Linux - Networking 1 08-07-2005 11:16 AM
Duplicate existing Server config to another Server aptsa Linux - Newbie 2 04-04-2005 06:46 PM
server config brogers Linux - Hardware 1 12-23-2004 09:52 PM
Apache Server Config, Mail Server, & Uploading johan the olive Linux - Networking 5 03-15-2003 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration