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.
|
|
07-10-2013, 11:09 AM
|
#1
|
LQ Newbie
Registered: Jul 2008
Posts: 16
Rep:
|
Syslog System Hardware Requirements
Hi,
Just needed some analysis / documents / casestudy if someone has one for syslog setup. I need to make sure if the hardware / VM required for it, how many processors / RAM / Disk would be required (say retention period of 1 year).
Is there any documents or links which can help my calculations ? I guess there is no thumbrule for it, but if incase anyone has done any sort of analysis will be helpful.
Cheers.
|
|
|
07-10-2013, 11:39 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,328
|
Quote:
Originally Posted by ashsethi
Hi,
Just needed some analysis / documents / casestudy if someone has one for syslog setup. I need to make sure if the hardware / VM required for it, how many processors / RAM / Disk would be required (say retention period of 1 year).
Is there any documents or links which can help my calculations ? I guess there is no thumbrule for it, but if incase anyone has done any sort of analysis will be helpful.
|
There aren't any, since the answer to ANY of these questions is going to be "it depends". - How many processors/RAM?
Depends on how many clients are connected, sending how much data, how often they're sending it, and how many filters you have set up in syslog-ng.
- How much disk?
See previous answer
Ten devices that are pounding it 24/7 will need a good sized system to collate the data into the different files, retain them for as long as you want, and the CPU/RAM needs will go up, along with how much bandwidth it will use 1000 devices that send a few messages every now and then will be trivial.
Have a well thought out plan first. Decide how you're going to organize the different data streams into what kinds of file/directory names, get some sort of process running to prune those files and compress them on a regular basis (you may want to retain them for a year, but do you need an ENTIRE YEARS worth of log data uncompressed at all times? Or will one small tar.gz file per month be what you want?).
|
|
1 members found this post helpful.
|
07-10-2013, 11:43 AM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,080
|
Am I sniffing a student project here? It takes one to know one :-)
I have 113MB in /var and 63MB in /var/log and this install is 6-7 months old. But this is a home box, with low logging and basically no server usage.
When you are running a server, the big ones are inclined to be /home (esp with apache running), /var, & /tmp. The system or / is small by comparison - 20 gig is usually plenty. If you really have no clue what you want, one way out is to employ LVM, which allows resizing without too many issues.
If you have to guess, and nobody else replies, go for
/home/, /var/ & /tmp/ - 30% each with / as 20Gig min.
Standard server sizes are a few hundred gig each for those. But your workload dictates. I'm on a 60G ssd, with 2 versions of linux, and definitely small scale.
|
|
1 members found this post helpful.
|
07-12-2013, 01:19 PM
|
#4
|
LQ Newbie
Registered: Jul 2008
Posts: 16
Original Poster
Rep:
|
@TB0ne : Thanks for the points you have mentioned here. I have done some work already on what all you mentioned.
@Business_kid : Your reply really satisfies a student project only ;-) Its not only the disk in question, I was more concerned about the CPU and RAM calculations etc.
Cheers.
|
|
|
07-12-2013, 03:17 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,080
|
Quote:
@business_kid : Your reply really satisfies a student project only ;-)
|
rotfl.
|
|
|
All times are GMT -5. The time now is 08:33 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
|
|