rpm -U logrotate....... will this upgrade all logrotate and it's configs?
thanks marc > btw did you check if your version of logrotate is buggy, we've had a > similar problem with logrotate on an old mandrake box a few moons ago... > might be worth a look. > maybe an upgrade would fix it, or there might be something wrong with > /etc/logrotate.conf > > Marc Winster Chan wrote: > >> hi lem, >> >> i execute top and found out 5 logrotate running using large resources. >> the load gets bigger and bigger. >> >> [root@server-1 root]# top >> 10:35am up 21 days, 17:37, 9 users, load average: 12.66, 9.87, >> 8.54 >> 198 processes: 187 sleeping, 11 running, 0 zombie, 0 stopped >> CPU states: 57.6% user, 42.3% system, 0.0% nice, 0.0% idle >> Mem: 255844K av, 252452K used, 3392K free, 0K shrd, >> 944K buff Swap: 522104K av, 394532K used, 127572K free >> 23752K cached >> >> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND >> 10201 root 25 0 86044 54M 436 R 33.5 21.9 357:58 >> logrotate >> 2367 root 17 0 88244 55M 496 D 21.0 22.2 1024m >> logrotate 8535 root 19 0 86272 40M 1396 R 17.7 16.0 >> 1940m logrotate >> 18502 root 16 0 33580 504 356 D 13.9 0.1 92:17 >> logrotate 27217 root 15 0 86272 32M 508 R 6.4 12.9 >> 1364m logrotate >> >> thanks >> marc >> >> > how did you know that it was logrotate that was eating your >> resources? >> > >> > just do a ps -aux check which application is running the longest and >> using the most CPU, if its a non essesntial app, kill it! >> > >> > HTH, >> > ---lem >> > >> > Marc Winster Chan wrote: >> > >> >> hi pluggers >> >> >> >> how can i stop logrotate. it's been running 2 weeks and it's eating >> up my resources. >> >> i execute w and these comes out >> >> 9:42am up 21 days, 16:44, 9 users, load average: 10.68, 9.30, >> 8.39 >> >> >> >> ps -aux|grep logrotate >> >> ps no good. >> >> >> >> thanks >> >> marc >> >> >> >> _ >> >> Philippine Linux Users Group. Web site and archives at >> >> http://plug.linux.org.ph To leave: send "unsubscribe" in the body >> to [EMAIL PROTECTED] >> >> >> >> Fully Searchable Archives With Friendly Web Interface at >> >> http://marc.free.net.ph >> >> >> >> To subscribe to the Linux Newbies' List: send "subscribe" in the >> body to [EMAIL PROTECTED] >> > >> > -- >> > ======== [DISCLAIMER] ======== >> > This communication is intended for the addressee(s) and may contain >> confidential and legally privileged information. We do not waive >> confidentiality or privilege by mistransmission. If you have >> received this communication in error, any use, dissemination, >> printing or copying is strictly prohibited; please destroy all >> electronic and paper copies and notify the sender immediately. >> > ======== [/DISCLAIMER] ======== >> > >> > >> > _ >> > Philippine Linux Users Group. Web site and archives at >> > http://plug.linux.org.ph To leave: send "unsubscribe" in the body to >> [EMAIL PROTECTED] >> > >> > Fully Searchable Archives With Friendly Web Interface at >> > http://marc.free.net.ph >> > >> > To subscribe to the Linux Newbies' List: send "subscribe" in the >> body to [EMAIL PROTECTED] >> >> _ >> Philippine Linux Users Group. Web site and archives at >> http://plug.linux.org.ph To leave: send "unsubscribe" in the body to >> [EMAIL PROTECTED] >> >> Fully Searchable Archives With Friendly Web Interface at >> http://marc.free.net.ph >> >> To subscribe to the Linux Newbies' List: send "subscribe" in the body >> to [EMAIL PROTECTED] > > -- > ======== [DISCLAIMER] ======== > This communication is intended for the addressee(s) and may contain > confidential and legally privileged information. We do not waive > confidentiality or privilege by mistransmission. If you have received > this communication in error, any use, dissemination, printing or copying > is strictly prohibited; please destroy all electronic and paper copies > and notify the sender immediately. > ======== [/DISCLAIMER] ======== > > > _ > Philippine Linux Users Group. Web site and archives at > http://plug.linux.org.ph To leave: send "unsubscribe" in the body to > [EMAIL PROTECTED] > > Fully Searchable Archives With Friendly Web Interface at > http://marc.free.net.ph > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to > [EMAIL PROTECTED] _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
