Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-10-2011, 04:27 PM
|
#1
|
LQ Newbie
Registered: Feb 2011
Posts: 2
Rep:
|
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
|
|
|
02-10-2011, 04:34 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-11-2011, 01:27 AM
|
#3
|
LQ Newbie
Registered: Feb 2011
Posts: 2
Original Poster
Rep:
|
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
|
|
|
02-11-2011, 10:01 AM
|
#4
|
LQ Newbie
Registered: Feb 2011
Posts: 7
Rep:
|
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
|
|
|
02-11-2011, 02:16 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
All times are GMT -5. The time now is 11:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|