squid consuming near all (95+ %) CPU, it is normal?

lee lee at yun.yagibdah.de
Sun Nov 11 17:26:25 UTC 2012


Frantisek Hanzlik <franta at hanzlici.cz> writes:

> With this squid configuration:
>
> squid very often load CPU at near 100%, with cca 200 users and 4000
> connections (~2000 to users, 2000 to internet). Removing delay pool
> configuration has no big effect.
> HW configuration: Dual core E8500 at 3.16GHz CPU, 4GB RAM, 2x SATA 7k2
> Raid Edition disks in SW RAID1 for squid cache (disk performance
> seems isn't problem, IOWAIT is small).
> It is squid-3.2.3.20121106.r11695-1.fc14.i686 on Fedora 14 i686
> (I test it with some older squid 3.1 version and same configuration,
> but results were same, or rather worse)
>
> It this CPU load normal, or can be there done some performance
> tunnning for it?

One thing that could be an issue is the software raid.  Can you put the
cache on hardware raid or a single disk without raid for testing?  And
running 32bit probably isn't ideal, either ...


-- 
Fedora 17


More information about the users mailing list