euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Limit size of log files?



    Matthew JarvisWed Jan 31 13:28:05 PST 2007

    Thanks Mark...
    
    I made some changes to see what compress will do for me, plus trimmed 
    down the # of logs from 4 to 2 - I'll see what happens...
    
    Do I have to do anything else to tell it to use this updated conf file, 
    or will it see the changes already?
    
    Thanks again...
    
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
    
    Mark Turner wrote:
    > Its fairly easy to limit log file size if you use logrotate. In the
    > configuration specification for each log you can give it a size
    > parameter,  which will rotate the log when it hits that size.
    > 
    > Example:
    > # sample logrotate configuration file
    > 
    >       /var/log/messages {
    >           rotate 5
    >           weekly
    >           size=100k
    >           postrotate
    >                                     /sbin/killall -HUP syslogd
    >           endscript
    >       }
    > 
    > 
    > On 1/31/07, Matthew Jarvis <mattj at bikefriday.com> wrote:
    > 
    >> Is there a way to globally set how big log files can get?
    >>
    >> i.e. maillog, maillog.1, maillog.2
    >>
    >> I was hoping that this global setting would also control apache,
    >> postgres etc but that's prolly asking too much...
    >>
    >>
    >> -- 
    >> 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
    >>
    
  • [Eug-lug] Limit size of log files?



    Mark TurnerWed Jan 31 13:09:19 PST 2007

    Its fairly easy to limit log file size if you use logrotate. In the
    configuration specification for each log you can give it a size
    parameter,  which will rotate the log when it hits that size.
    
    Example:
    # sample logrotate configuration file
    
           /var/log/messages {
               rotate 5
               weekly
               size=100k
               postrotate
                                         /sbin/killall -HUP syslogd
               endscript
           }
    
    
    On 1/31/07, Matthew Jarvis <mattj at bikefriday.com> wrote:
    > Is there a way to globally set how big log files can get?
    >
    > i.e. maillog, maillog.1, maillog.2
    >
    > I was hoping that this global setting would also control apache,
    > postgres etc but that's prolly asking too much...
    >
    >
    > --
    > 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
    >
    
  • [Eug-lug] Translate file name to Postgres DB name



    Matthew JarvisWed Jan 31 12:56:24 PST 2007

    On my web server I have a bunch of files named something along the lines 
    of this:
    
    /var/lib/pgsql/data/base/16982/492470
    
    They are eating up my backup allowance on my hosted service and I'm 
    curious which DB's and/or tables they are.
    
    
    -- 
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] Limit size of log files?



    Matthew JarvisWed Jan 31 12:51:34 PST 2007

    Is there a way to globally set how big log files can get?
    
    i.e. maillog, maillog.1, maillog.2
    
    I was hoping that this global setting would also control apache, 
    postgres etc but that's prolly asking too much...
    
    
    -- 
    Matthew S. Jarvis
    IT Manager
    Bike Friday - "Performance that Packs."
    www.bikefriday.com
    541/687-0487 x140
    mattj at bikefriday.com
    
  • [Eug-lug] ANNOUNCEMENT: 2007 Recent Changes Camp this weekend



    David MandelWed Jan 31 01:35:16 PST 2007

    The 2007 Recent Changes Camp is Friday-Sunday, February 2-3-4, 2007 at
    the Audio Cinema, 226 SE Madison St Portland, OR 97214.   And it is
    free.
    
    See:  http://2007.recentchangescamp.org/Main_Page
    for more details.
    
    I went last year, not knowing what to expect and found it very good indeed.
    
    
      Sincerely,
      David Mandel
      Chief Activist
      Portland Linux/Unix Group
      560 SE Alexander
      Corvallis, Oregon 97333
      (541) 752-3769 land
      (541) 730-5285 cell
    
      ======================================================================
      David Mandel                        http://www.DavidMandel.com
      Portland Linux/Unix Group           http://www.pdxLinux.org
      LinuxFund                           http://www.LinuxFund.org
    ======================================================================
    
  • [Eug-lug] this week’s meeting



    Ben BarrettTue Jan 30 22:42:00 PST 2007

    By posting a link, you get the ever-valuable referrers, too ;)
    
    On 1/30/07, Mr O <notanatheist at yahoo.com> wrote:
    >
    > http://www.eviltechmonkey.com/images/my_house.jpg
    > ... I really don't know why I posted the image last
    > time. It skips my mind that I have way too much space from my
    > hosting provider.
    >
    ...
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20070130/e8b6c3ab/attac=
    hment.htm
    
  • [Eug-lug] this week’s meeting



    Ben BarrettTue Jan 30 22:20:01 PST 2007

    What, this?
    http://www.euglug.org/pipermail/euglug/2007-January/009159.html
    
    On 1/30/07, Neil Parker <nparker at lyl.llx.com> wrote:
    >
    > Mr O wrote,
    > >        Everybody got the map?
    >
    > Nope, I missed it.  It might be wise to post the information again.
    >
    >                - Neil Parker
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20070130/c9c716c3/attac=
    hment.htm
    
  • [Eug-lug] this week’s meeting



    AlanTue Jan 30 21:13:39 PST 2007

    Mr O wrote:
    > Agreed. Everybody got the map?
    > 
    > 
    As long as you haven't moved between last week and now.
    
    -ajb
    
    
    
  • [Eug-lug] [aklaver@comcast.net: LinuxFest Northwest 2007]



    Bob MillerTue Jan 30 11:05:41 PST 2007

    LinuxFest Northwest is April 28th and 29th this year.
    
    ----- Forwarded message from Adrian Klaver <aklaver at comcast.net> -----
    
    From: Adrian Klaver <aklaver at comcast.net>
    Date: Mon, 29 Jan 2007 20:24:54 -0800
    Subject: LinuxFest Northwest 2007
    
    Hello LFNW 2006 attendee,
    
    You are receiving this email because you requested notification about LFNW 
    2007 on our survey form. The Fest will be held April 28th and 29th at 
    Bellingham Technical College. For more details see the URL below.
    
    http://www.linuxfestnorthwest.org/
    
    If you want to keep abreast of all the latest developments use the Mailing 
    List link at the above URL to sign up for the Fest list. As noted above the 
    Fest is going to be two days long this year. This means we are looking for 
    more presenters, exhibitors and volunteers. We would appreciate any 
    assistance you could offer in these areas. The LFNW site has links on the 
    home page for signing up in each of the categories.
    
    Thank you for your participation in last years Fest and we are looking forward 
    to seeing you at this years Fest.
    -- 
    Adrian Klaver
    aklaver at comcast.net
    
    P.S. If you think this email reached you by mistake or if you do not want to 
    receive further notifications reply to me (Adrian Klaver) at the email 
    address above.
    
    ----- End forwarded message -----
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] xorg.conf makes me want to hurt people



    Quentin HartmanMon Jan 29 11:29:58 PST 2007

    On 1/28/07, Jared Ubelhor <crownedgriffin at gmail.com> wrote:
    > Arg. Ubuntu/Mint drove me nuts telling me I cannot do things with my own
    > system, and SUSE is just as almost working as ever. So, I think I'm going to
    > give Mandriva a try for a while. I'm using the Mandriva One 2007 live CD,
    > and all is great except for one minor issue. Everything is fuzzy because my
    > refresh rates are set out of wack.
    >
    > It automatically sets them to:
    > HorizSync 15-94
    > VertRefresh 24-88
    >
    > The should be set to:
    > HorizSync    50.0-65.3
    > VertRefresh  60.0-75.0
    >
    > I changed that, but nothing is ever that simple. After restarting X, my
    > maximum resolution drops from 1650x1080 to 1280x1024 (or somewhere around
    > there). It looks great (no fuzz) except for the part where it's a tiny
    > square in the middle of my screen.
    > Why? Why? Why? Why?
    
    Short (likely) answer is that your video card probably doesn't have
    the available bandwidth to drive that resolution at the refresh rate
    OR those sync and refresh ranges define a refresh rate that is out of
    bounds for the monitor. Remember that when driving an LCD via an
    analog connection you virtually always want to drive it at 60hz, the
    "higher refresh is better" rule does not apply to LCDs
    
    . The "quick fix" I'd suggest is to _not_ do it by hand and let the
    EDID and other automatic monitor magic do it's thing. For example, the
    relevant portions of my xorg.conf here at work are:
    
    Section "Device"
            Identifier      "ATI Technologies, Inc. Radeon Xpress 200 (RS480)"
            Driver          "radeon"
    EndSection
    
    Section "Monitor"
            Identifier      "SyncMaster"
            Option          "DPMS"
    EndSection
    
    Section "Screen"
            Identifier      "Default Screen"
            Device          "ATI Technologies, Inc. Radeon Xpress 200 (RS480)"
            Monitor         "SyncMaster"
            DefaultDepth    24
            SubSection "Display"
                    Depth           8
                    Modes           "1680x1050" "1280x1024" "1280x960"
    "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
            EndSubSection
            SubSection "Display"
                    Depth           16
                    Modes           "1680x1050" "1280x1024" "1280x960"
    "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
            EndSubSection
            SubSection "Display"
                    Depth           24
                    Modes           "1680x1050" "1280x1024" "1280x960"
    "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
            EndSubSection
    EndSection
    
    
    That config works perfectly and I'm able to use all the resolutions I
    should. I can control the current rez and refresh using XRandR, though
    in practice I don't remember the last time I took it out of
    1680x1050 at 60. If simplifying your config like this doesn't help, look
    through the xorg log files (usually /var/log/Xorg.0.log)for lines that
    start with (EE) and see if that will tell you specifically why it is
    failing. That will give you better direction towards a solution.
    
    I also just noticed your comment about those refresh rates working
    elsewhere in another message. It's entirely likely that there are
    other options being applied in the xorg.conf files that are overriding
    those settings with automatic one, or there are options turned on in
    this one that are making those settings unusable. For instance, all of
    the options you have specified for fglrx driver may be interfering.
    All in all, that is a fairly complex xorg.conf you have there, I'd
    strongly suggest paring it down until you have a working config and
    then adding all those options back. It's been my experience that
    having a "tweaked" xorg.conf increases the likelihood of problems
    greatly, and in most cases buys little in terms of performance and
    functionality. This is especially true of configs that are
    automagically generated by third party tools, which the one you posted
    seems to be given the references to XFDrake.
    
    -- 
    -Regards-
    
    -Quentin Hartman-