LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Leap second and Java woes

Posted 07-27-2012 at 12:25 PM by sag47
Updated 07-27-2012 at 12:27 PM by sag47

This is kind of an old event however I thought I'd talk about it for both myself in the future and for anyone looking for an answer when it happens again. There is a bug in java or the kernel in which leap seconds cause some really nasty behavior. For instance, All app servers which include Jetty, Tomcat, and JBoss were pegged at 100% CPU usage and ridiculously high load averages. I don't know if this affects weblogic because if I recall they ship their own custom build of java which may or may...
Senior Member
Posted in Uncategorized
Views 705 Comments 0 sag47 is offline
Old

SELinux, syslog-ng, and the like

Posted 06-19-2012 at 10:12 AM by sag47
Updated 08-05-2012 at 12:58 AM by sag47

So recently in my home setup I installed a scheme for centralized logging. I use rsyslog or syslog on the client servers and syslog-ng on the central server. This is nothing new and has been done before.

rsyslog + syslog-ng = gold.

I have a script which parses the syslog-ng logs across all the servers, filters them, and then sends and email with a summary and unusual logs. Each time I got an email I would get, on average, ~200-500 log messages of SELinux errors and...
Senior Member
Views 3444 Comments 1 sag47 is offline
Old

Removing files with find, and LVM snapshots

Posted 04-24-2012 at 11:21 AM by sag47
Tags find, lvm, snapshot

Take an LVM snapshot using a loopback device
Create the snapshot
Take a look at the devices in your volume group. First there needs to be sufficient space in the volume group for a snapshot to occur. Check this by typing: vgdisplay and checking for Free PE / Size
Code:
vgdisplay -v
Create a loopback device to use for the snapshot. My volume group is named vg_echo360. I want my snapshot to be 9.9GB in size so I'm creating a loopback device which is 10GB in size....
Senior Member
Posted in Uncategorized
Views 971 Comments 0 sag47 is offline
Old

Making predictions and thinking like a computer

Posted 02-23-2012 at 07:33 PM by sag47
Updated 02-23-2012 at 07:34 PM by sag47

Another user from a different forum asked me a question. I gave, what I though was, a good answer so I'm posting it here for all LQ to enjoy.

Quote:
Originally Posted by Capt Kenpachi
Sar & Jim;

If I were to build a database that were to compare historical purchases for a single individual to forecast what they are likely to purchase again in the future...

I know I would use a SQL database to store the Historical Data on the individual.

But what would I use to comb through
...
Senior Member
Posted in Uncategorized
Views 460 Comments 0 sag47 is offline
Old

Monitoring sound over time for long periods to see trends using a microphone

Posted 02-09-2012 at 03:54 PM by sag47
Updated 02-09-2012 at 03:58 PM by sag47

Recently a post was made requesting a solution to detecting sound in a studio to see if it is populated with lots of noise (lots of noise=people/bands playing) this way the person monitoring it wouldn't have to go through the trouble of hulking all their stuff to the studio.

I posted an interesting solution so I'm sharing it here and a little more on this blog. See post #9 of this thread.

I'm going to expand upon that munin plugin and make it a little more robust and...
Senior Member
Posted in Uncategorized
Views 3168 Comments 1 sag47 is offline

  



All times are GMT -5. The time now is 01:05 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration