Re: [squid-users] Fwd: chroot,Open UDP port & big CPU time

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Wed, 16 Apr 2003 15:44:35 +0200

Przemyslaw Borkowski wrote:
>
> ps -aux
>
> nobody 12422 0.0 2.6 8556 6816 ? S Apr15 0:06 [squid]
> nobody 29142 99.7 0.5 3988 1296 ? R Apr15 1013:49 [squid]
>
> netstat -anp
>
> tcp 0 0 192.168.0.1:3128 0.0.0.0:* LISTEN 12422
> udp 0 0 0.0.0.0:32812 0.0.0.0:* 12422/
>
> > How do you know the opened udp port belongs to a squid 'instance' ?
> >
> > Also check cache.log for futher info, with, for instance
> > the cpu usage problem.
>
> Bcoz pid what created this connection is that same as squid's :)
> and cache.log
>
> 2003/04/16 18:24:00| Starting Squid Cache version 2.5.STABLE2 for i686-pc-linux-gnu...
> 2003/04/16 18:24:00| Process ID 20015
> 2003/04/16 18:24:00| With 1024 file descriptors available
> 2003/04/16 18:24:00| Performing DNS Tests...
> 2003/04/16 18:24:00| Successful DNS name lookup tests...
> 2003/04/16 18:24:00| DNS Socket created at 0.0.0.0, port 32825, FD 4
> 2003/04/16 18:24:00| Adding nameserver 150.254.5.4 from /etc/resolv.conf
> 2003/04/16 18:24:00| Adding nameserver 150.254.2.3 from /etc/resolv.conf
> 2003/04/16 18:24:00| Unlinkd pipe opened on FD 9
> 2003/04/16 18:24:00| Swap maxSize 102400 KB, estimated 7876 objects
> 2003/04/16 18:24:00| Target number of buckets: 393
> 2003/04/16 18:24:00| Using 8192 Store buckets
> 2003/04/16 18:24:00| Max Mem size: 32768 KB
> 2003/04/16 18:24:00| Max Swap size: 102400 KB
> 2003/04/16 18:24:00| Rebuilding storage in /var/cache (DIRTY)
> 2003/04/16 18:24:00| Using Least Load store dir selection
> 2003/04/16 18:24:00| Set Current Directory to /var/cache
> 2003/04/16 18:24:00| Loaded Icons.
> 2003/04/16 18:24:00| Accepting HTTP connections at 192.168.0.1, port 3128, FD 10.
> 2003/04/16 18:24:00| WCCP Disabled.
> 2003/04/16 18:24:00| Ready to serve requests.
> 2003/04/16 18:24:01| Done scanning /var/cache swaplog (0 entries)
> 2003/04/16 18:24:01| Finished rebuilding storage from disk.
> 2003/04/16 18:24:01| 0 Entries scanned
> 2003/04/16 18:24:01| 0 Invalid entries.
> 2003/04/16 18:24:01| 0 With invalid flags.
> 2003/04/16 18:24:01| 0 Objects loaded.
> 2003/04/16 18:24:01| 0 Objects expired.
> 2003/04/16 18:24:01| 0 Objects cancelled.
> 2003/04/16 18:24:01| 0 Duplicate URLs purged.
> 2003/04/16 18:24:01| 0 Swapfile clashes avoided.
> 2003/04/16 18:24:01| Took 1.1 seconds ( 0.0 objects/sec).
> 2003/04/16 18:24:01| Beginning Validation Procedure
> 2003/04/16 18:24:01| Completed Validation Procedure
> 2003/04/16 18:24:01| Validated 0 Entries
> 2003/04/16 18:24:01| store_swap_size = 0k
> 2003/04/16 18:24:02| storeLateRelease: released 0 objects
> 2003/04/16 20:26:32| urlParse: Illegal character in hostname 'www.actina,com'
>
> can be that actina,com makes max CPU use ?

 Note that's just a typo from a user,it seems.

 Do you have the run-away cpu problem, when chroot setup
 is not used ?

 M.

>
> ---
> Pozdraviam
> Przemyslaw Borkowski

-- 
 'Love is truth without any future.
 (M.E. 1997)
Received on Wed Apr 16 2003 - 07:45:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:00 MST