It does look like it's using too much time.  Is this a consistent
thing?  I would suggest stopping and restarting it to see.

With something like this, I hate to just point you to the renice
command, thought that will certainly help you to keep squid from
hogging all your CPU time.  I really think something else is amiss.

On Mon, May 22, 2000 at 09:29:35PM +0300, r00t the LiNuXeRRR wrote:
> 
>       Hy,
> 
>       How can i make squid to use a lower value of time...
> Seby...
> 
> 
>   PID TTY      STAT   TIME COMMAND
>     1 ?        S      0:06 init
>     2 ?        SW     0:04 [kflushd]
>     3 ?        SW     0:06 [kupdate]
>     4 ?        SW     0:00 [kpiod]
>     5 ?        SW     0:06 [kswapd]
> 18497 ?        S      0:07 syslogd -m 0
> 18508 ?        S      0:00 klogd
> 18522 ?        S      0:00 crond
> 18536 ?        S      0:00 inetd
> 18550 ?        S      0:01 named
> 18564 ?        S      0:00 /usr/sbin/dhcpd
> 18632 ?        S      0:00 /usr/local/bin/minuteman-UPSd 0x2f8
> 18634 ?        S      0:07 /usr/sbin/gpm -t ps/2 -m /dev/psaux
> 18715 ?        S      0:00 qmail-send
> 18716 ?        S      0:00 /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 1
> 18717 ?        S      0:00 /var/qmail/bin/splogger smtpd 3
> 18720 ?        S      0:00 splogger qmail
> 18721 ?        S      0:00 qmail-lspawn ./Maildir
> 18722 ?        S      0:00 qmail-rspawn
> 18723 ?        S      0:00 qmail-clean
> 18749 tty5     S      0:00 /sbin/mingetty tty5
> 18750 tty6     S      0:00 /sbin/mingetty tty6
> 18751 tty7     S      0:00 /sbin/mingetty tty7
> 18752 tty8     S      0:00 /sbin/mingetty tty8
> 18755 tty9     S      0:00 /usr/bin/tail -f /var/log/maillog
> 18756 tty10    S      0:00 /usr/bin/tail -f /var/log/messages
> 18757 tty11    S      0:00 /usr/bin/tail -f /var/log/httpd/access_log
> 18758 tty12    S      0:00 /usr/bin/tail -f /var/log/squid/access.log
> 18759 ttyS0    S      0:00 /usr/sbin/pppd defaultroute /dev/ttyS0 38400 -detach 
> 18909 ?        S      0:05 sshd
> 22086 tty4     S      0:00 /sbin/mingetty tty4
> 22209 ?        S      0:03 httpd
> 22213 ?        S      0:00 httpd
> 22214 ?        S      0:00 httpd
> 22216 ?        S      0:00 httpd
> 22217 ?        S      0:00 httpd
> 22218 ?        S      0:00 httpd
> 22220 ?        S      0:00 httpd
> 22247 ?        S      0:00 httpd
> 22248 ?        S      0:00 httpd
> 22249 ?        S      0:00 httpd
> 22250 ?        S      0:00 httpd
> 22693 ?        S      0:00 /usr/sbin/smbd -D
> 22704 ?        S      0:00 /usr/sbin/nmbd -D
> 22707 ?        S      0:02 /usr/sbin/smbd -D
> 22966 tty3     S      0:00 /sbin/mingetty tty3
> 23023 ?        S      0:00 squid
> ******23024 ?        R     84:41 (squid)              ******
> 23025 ?        S      0:00 (dnsserver)
> 23026 ?        S      0:00 (dnsserver)
> 23027 ?        S      0:00 (dnsserver)
> 23028 ?        S      0:00 (dnsserver)
> 23029 ?        S      0:00 (unlinkd)
> 23208 ?        S      0:00 httpd
> 23545 tty2     S      0:00 /sbin/mingetty tty2
> 23567 tty1     S      0:00 login -- root                                        
> 23571 tty1     S      0:00 -bash
> 23661 ?        S      0:01 sshd
> 23662 pts/0    S      0:00 -bash
> 23714 pts/0    S      0:01 /usr/local/OpenSSH-2.1.0/bin/ssh -C -l linux lcjdap.s
> 23715 ?        S      0:02 sshd
> 23716 pts/1    S      0:00 -bash
> 23770 ?        S      0:00 sshd
> 23771 pts/2    S      0:00 -bash
> 23822 ?        S      0:00 /var/qmail/bin/qmail-smtpd
> 23823 pts/2    R      0:00 ps ax
> 
> -====---====---====---====---====---====---====---====---====---====---====-
>  to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
>  See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/

-- 
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
                                -- Richard Davisson
 
                                        [from fortune]

                 

Reply via email to