euglug.org

[작성자:] admin

  • [Eug-lug] Euglug Lecture Series



    Matthew JarvisWed Apr 19 09:16:31 PDT 2006

    Mike Cherba wrote:
    > All,
    > 	This week we will be having the first of our newest lecture series at
    > EWEB.  The meeting will be in the EWEB boardroom at 7:00 Thursday.  Mike
    > Miller will be speaking about using LVM in Linux.  The talk and Q&A
    > should last ~ 1 hour.  After that We'll adjurn to Steelhead for dinner
    > and drinks.
    > 			-Mike
    
    
    Mike-
    
    A suggestion: include a brief summary of the topic for discussion and 
    why someone might be interested, similar to what we do with the SAO Tech 
    Brew Pub announcements.
    
    Such as (stolen from the LVM HowTo)
    
    " Logical volume management provides a higher-level view of the disk 
    storage on a computer system than the traditional view of disks and 
    partitions. This gives the system administrator much more flexibility in 
    allocating storage to applications and users.
    
    Storage volumes created under the control of the logical volume manager 
    can be resized and moved around almost at will, although this may need 
    some upgrading of file system tools.
    
    The logical volume manager also allows management of storage volumes in 
    user-defined groups, allowing the system administrator to deal with 
    sensibly named volume groups such as "development" and "sales" rather 
    than physical disk names such as "sda" and "sdb". "
    
    
    Lurkers and Newbies might not know what LVM is but might be enthused to 
    show up if they had a better idea of what to expect from the topic...
    
    
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] Euglug Lecture Series



    Mike CherbaWed Apr 19 08:43:41 PDT 2006

    All,
    	This week we will be having the first of our newest lecture series at
    EWEB.  The meeting will be in the EWEB boardroom at 7:00 Thursday.  Mike
    Miller will be speaking about using LVM in Linux.  The talk and Q&A
    should last ~ 1 hour.  After that We'll adjurn to Steelhead for dinner
    and drinks.
    			-Mike
    
    
    Objects can be classified scientifically into three major categories:
    those that don't work, those that break down and those that get lost.
    --- Russell Baker
    
  • [Eug-lug] OT: Dell Small business



    larry priceWed Apr 19 08:31:44 PDT 2006

    dealnews,com often has coupon codes for dell
    
    On 4/19/06, Darren Hayes <darrenh41 at comcast.net> wrote:
    > Recommend searching the net..
    > Try searching on: Dell "Small Business" Coupon Code
    >
    > ----- Original Message -----
    > From: "Garl Grigsby" <badd_karma at comcast.net>
    > To: "Eugene Unix and Gnu/Linux User Group" <euglug at euglug.org>
    > Sent: Tuesday, April 18, 2006 7:57 PM
    > Subject: [Eug-lug] OT: Dell Small business
    >
    >
    > <begging>
    > I know this is waaay OT, but I'm trying to help a friend out.
    >
    > Anybody here on the Dell Small Business mailing list? I'm looking for a
    > coupon code from one of their messages sent on the 17th. If so, can you
    > forward me the mail off-list? It would be much appreciated.
    > </begging>
    >
    > Thanks,
    > Garl
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] OT: Dell Small business



    Darren HayesWed Apr 19 08:30:22 PDT 2006

    Recommend searching the net.. 
    Try searching on: Dell "Small Business" Coupon Code
    
    ----- Original Message ----- 
    From: "Garl Grigsby" <badd_karma at comcast.net>
    To: "Eugene Unix and Gnu/Linux User Group" <euglug at euglug.org>
    Sent: Tuesday, April 18, 2006 7:57 PM
    Subject: [Eug-lug] OT: Dell Small business 
    
    
    <begging>
    I know this is waaay OT, but I'm trying to help a friend out.
    
    Anybody here on the Dell Small Business mailing list? I'm looking for a 
    coupon code from one of their messages sent on the 17th. If so, can you 
    forward me the mail off-list? It would be much appreciated.
    </begging>
    
    Thanks,
    Garl
    _______________________________________________
    EUGLUG mailing list
    euglug at euglug.org
    http://www.euglug.org/mailman/listinfo/euglug
    
    
    
  • [Eug-lug] OT: Dell Small business



    Garl GrigsbyTue Apr 18 19:57:56 PDT 2006

    <begging>
    I know this is waaay OT, but I'm trying to help a friend out.
    
    Anybody here on the Dell Small Business mailing list? I'm looking for a 
    coupon code from one of their messages sent on the 17th. If so, can you 
    forward me the mail off-list? It would be much appreciated.
    </begging>
    
    Thanks,
    Garl
    
  • [Eug-lug] Processes on server going out of control?



    Bob MillerTue Apr 18 10:43:26 PDT 2006

    John Sechrest wrote:
    
    > You have a resource that is getting blocked and is causing the system to
    > run totally out of resources (hence the reboot).
    > 
    > You have:
    >     1) memory
    >     2) disk space
    >     3) temporary disk space
    >     4) network
    >     5) program id's
    
    6. Disk bandwidth
    7. CPU bandwidth
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Processes on server going out of control?



    Bob MillerTue Apr 18 10:42:17 PDT 2006

    Matthew Jarvis wrote:
    
    > I am trying to nail down what is happening on a server and hopefully a 
    > solution.
    
    What services are supposed to be on it?  (externally visible
    services -- the reasons the machine exists)
    
    > The only plan I have at the moment is to wait for a reboot (anticipate 
    > one tonight if allowed), output ps to a file, then wait for the next 
    > time and ps again to see a comparison.
    
    Also take a "ps" snapshot before reboot to compare against.  Even if
    the load isn't particularly high, that'll show you what the steady
    state should look like better than a snapshot immediately after
    startup.
    
    > Sometimes the load on this thing hits in the high 40's, but typically 
    > runs around at 2-4.
    
    2-4 is pretty high.  Is it that high all night long?
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Processes on server going out of control?



    John SechrestTue Apr 18 10:03:43 PDT 2006

    You have a resource that is getting blocked and is causing the system to
    run totally out of resources (hence the reboot).
    
    You have:
        1) memory
        2) disk space
        3) temporary disk space
        4) network
        5) program id's
    
    as resources.
    
    You can use the various "*stat" programs to look at resources.
    vmstat tells you about memory and virtual memory
    iostat tells you about i/o activities
    df will tell you about disk space
    netstat -a will tell you about network connections
    ps will tell you about processes. 
    
    Write a small script to monitor the bits of the system you need
    and have it run every few minutes and log the results.
    
    Here is a script that I use to solve this problem when I have a wierd
    pile of changes that I can't catch:
    
    
    
    #!/usr/bin/perl5
    # LVM -  Dave Regan/John Sechrest
    # creates a log, which you can then use cut+plot to see patterns
    #
    #  monitor and log a lot of stuff. don't know what might be important, so
    #  log a lot of stuff.
    #
    #  some of the stuff: vmstat output. loadavg. network counters.
    #
    #  here are the column data:
    #  1 procs r
    #  2 procs b
    #  3 procs w
    #  4 swpd
    #  5 free mem, kb
    #  6 buff mem, kb
    #  7 cache mem, kb
    #  8 swap si
    #  9 swap so
    # 10 io - bi
    # 11 io - bo
    # 12 system in
    # 13 system cs
    # 14 cpu user
    # 15 cpu system
    # 16 cpu idle
    # 17 loadavg 1min
    # 18 loadavg 5min
    # 19 loadavg 15min
    # 20 net recv bytes
    # 21 net recv packets
    # 22 net recv errs
    # 23 net recv drop
    # 24 net recv fifo
    # 25 net recv frame
    # 26 net recv compressed
    # 27 net recv multicast
    # 28 net trans bytes
    # 29 net trans packets
    # 30 net trans errs
    # 31 net trans drop
    # 32 net trans fifo
    # 33 net trans colls
    # 34 net trans carrier
    # 35 net trans compressed
    # 36 collision since last
    # 37 epoch time
    # 38 human time
    #
    # to plot "collision since last" in gnuplot, following commands:
    #
    #  set xdata time
    #  set timefmt "%m/%d/%Y %H:%M:%S"
    #  set format x "%H:%M"
    #  plot "lvm.log" using 38:36
    
    # open me a log file and hot pipe it.
    open( O, ">lvm.log" ) || die "cannot open log: $!\n";
    select O; $| = 1;
    
    # set a few "last" value variables.
    $lastCollisions = 0;
    
    # open a vmstat
    open( V, "vmstat -n 1 |" ) || die "cannot open vmstat for input: $!\n";
    
    # first two vmstat output is header, third is "since boot", discard all;
    $junk = <V>; $junk = <V>; $junk = <V>; $junk = <V>;
    
    # ok, now lets do some work.
    while( <V> ) {
    
            # have a vmstat line in $_
            $vm = $_;
            chomp $vm;
    
            # get loadavg, keep just loadavgs
            open( L, "/proc/loadavg" );
            $load = join( ' ', (split(' ', <L>))[0,1,2] );
            close L;
    
            # get eth1 stats
            open( E, "/proc/net/dev" );
            while( <E> ) { last if /eth1/; }
            $net = $_;
            chomp $net;
            close E;
            $net =~ s/eth1://;
            $colls = (split(' ',$net))[13];
            $lastCollisions = $colls if $lastCollisions == 0;
            $diffcols = $colls - $lastCollisions;
            $lastCollisions = $colls;
    
            #produce some output dude
            $now = time;
            @d = localtime($now);
            $nowT = sprintf "%02d/%02d/%04d %02d:%02d:%02d",
                    $d[4]+1, $d[3], $d[5]+1900,
                    $d[2], $d[1], $d[0];
            $line = "$vm $load $net $diffcols $now $nowT";
            $line =~ s/\s+/ /g;
            print $line . "\n";
    
    }
    
    
    
    
    
    
    Matthew Jarvis <mattj at bikefriday.com> writes:
    
     % I am trying to nail down what is happening on a server and hopefully a 
     % solution.
     % 
     % It seems that as I monitor CPU usage over time that there is a pattern 
     % to the load in a approx 2-week cycle. Things are pretty flat for a week 
     % (after a reboot), then start ramping up over about a week until load ave 
     % on the machine makes it unstable and requiring a reboot.
     % 
     % Sometimes the load on this thing hits in the high 40's, but typically 
     % runs around at 2-4.
     % 
     % Looking at output of ps or top don't seem to show, at least to me, what 
     % process or processes is being a bad boy.
     % 
     % The only plan I have at the moment is to wait for a reboot (anticipate 
     % one tonight if allowed), output ps to a file, then wait for the next 
     % time and ps again to see a comparison.
     % 
     % I'd love to hear from someone how to diagnose this issue. Next SAO 
     % meeting the beers on me if someone can help me out!  <g>
     % 
     % -- 
     % Matthew S. Jarvis
     % IT Manager
     % Bike Friday - "Performance that Packs."
     % www.bikefriday.com
     % 541/687-0487 x140
     % mattj at bikefriday.com
     % _______________________________________________
     % EUGLUG mailing list
     % euglug at euglug.org
     % http://www.euglug.org/mailman/listinfo/euglug
    
    -----
    John Sechrest          .         Helping people use
                            .           computers and the Internet
                              .            more effectively
                                 .                      
                                     .       Internet: sechrest at peak.org
                                          .   
                                                  . http://www.peak.org/~sechrest
    
  • [Eug-lug] Processes on server going out of control?



    Matthew JarvisTue Apr 18 09:56:20 PDT 2006

    I am trying to nail down what is happening on a server and hopefully a 
    solution.
    
    It seems that as I monitor CPU usage over time that there is a pattern 
    to the load in a approx 2-week cycle. Things are pretty flat for a week 
    (after a reboot), then start ramping up over about a week until load ave 
    on the machine makes it unstable and requiring a reboot.
    
    Sometimes the load on this thing hits in the high 40's, but typically 
    runs around at 2-4.
    
    Looking at output of ps or top don't seem to show, at least to me, what 
    process or processes is being a bad boy.
    
    The only plan I have at the moment is to wait for a reboot (anticipate 
    one tonight if allowed), output ps to a file, then wait for the next 
    time and ps again to see a comparison.
    
    I'd love to hear from someone how to diagnose this issue. Next SAO 
    meeting the beers on me if someone can help me out!  <g>
    
    -- 
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] Oracle Follows the herd



    Jim BeardTue Apr 18 09:00:29 PDT 2006

    They are trying to adjust their pricing to try and compete with OSS.   
    We were contacted by them about 6 months ago and told that we could  
    become a reseller.  They would charge us 10% of the full price for a  
    license to resell.  Anything we could sell it for over that amount  
    was our profit.  I think they wanted to charge us 700-1200$ for this  
    privilege.
    
    On Apr 17, 2006, at 4:56 PM, Michael Miller wrote:
    
    > I don't think I would trust Oracle all that much as my OS and Database
    > vendor.  Oracle right now is having problems with Security issues in
    > Oracle 9i/RAC and 10g/RAC.  They don't seem to get security fixs out
    > to people quickly.  Oracle in the past has taken 6+ months to release
    > a fix for X verison or there database software.  I don't think they
    > will be able to keep up with the fixes for a Linux distro as well.
    > Oracle needs to fix there pricing model as well due to the fact that
    > they have had, be it a small amount of clients move over to PostgreSQL
    > and MySQL or DB2 (tremble).  Oracle's licensing structure has changed
    > I don't know how many times over the past 6 or 7 years.  I think they
    > will continue to move more customers off of Oracle and onto some other
    > database platforms.  I don't know what RedHat is going to do with
    > JBoss other than try to sell it just like every thing else they have
    > purchased.  Larry Ellison is not some one I take very seriously other
    > than his "The Paranoid Survive" quote.
    >
    > Mike Miller
    >
    > On 4/17/06, Jim Beard <beard at counterclaim.com> wrote:
    >> They should just partner with RedHat or something.  Seems like a dumb
    >> move for Oracle if you ask me.  They will have to expend a lot of
    >> resources maintaining / patching / supporting the distro.  Maybe they
    >> are counting on that being a revenue stream..
    >>
    >> Jim
    >>
    >> On Apr 17, 2006, at 10:44 AM, larry price wrote:
    >>
    >>> http://news.ft.com/cms/s/7354696c-cd86-11da-afcd-0000779e2340.html
    >>>
    >>> If they had done this 4 years ago it would have been bold and
    >>> exciting, as it is, it's pretty much ho-hum. Oracle will be shipping
    >>> their own linux with their overpriced DB products, eh'nice, but...
    >>> _______________________________________________
    >>> EUGLUG mailing list
    >>> euglug at euglug.org
    >>> http://www.euglug.org/mailman/listinfo/euglug
    >>
    >> _______________________________________________
    >> EUGLUG mailing list
    >> euglug at euglug.org
    >> http://www.euglug.org/mailman/listinfo/euglug
    >>
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug