Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have some slowness on my squid server at present.
I have tried to optimise the configuration and also put in caching but occasionally when the network speed is anything above 500kbits.sec not that high (the network is suspposed to be 100Mbit) I seem to get a delay when requesting webpages.
My vmstat reads the following. As you can see there is no swapping and the memory isn't at 100% so I don't think it's a CPU problem. Could it be IO? I used to have caching turned off but still had the same issue so maybe it's something else?
That's not tremendously readable, try enclosing it in [ code ] tags instead of [ quote ] tags.
Also if you want to know about disk io and such, you might be better looking at iostat or various disk benchmarks and comparing your utilization to the maximum throughput of your system as presently setup vs actual usage.
That's not tremendously readable, try enclosing it in [ code ] tags instead of [ quote ] tags.
Also if you want to know about disk io and such, you might be better looking at iostat or various disk benchmarks and comparing your utilization to the maximum throughput of your system as presently setup vs actual usage.
Done.
It's strange because video streaming works with no latency yet loading simple html webpages is very delayed.
I thought it could be DNS but all dig and nslookups work fairly quickly.
It can't be the cache because it was like this when I didn't have caching turned on. Turning caching has actually improved it slightly.
Are you using any features like ident lookups? What file system are you currently using on it? Have you turned on noatime on the file system?
I don't think I am using ident lookups.
The filesystem on sda2 is reiserfs - I think I turned on noatime when I monted it but not sure.
I don't think it's the cache causing the problems but could be...the numbers for io look ok don't they?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.