LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-10-2016, 08:52 PM   #1
higgins909
LQ Newbie
 
Registered: Aug 2012
Posts: 29

Rep: Reputation: Disabled
Server + proxy server has become very slow? HDD?


Yesterday I noticed my internet was going very slow. I've tracked it down to my Squid 3 Proxy server. I've checked my disk space which is normally the issue, but I've got quite a bit of space left still. Nothing is going on in "top" When I try to do a few different quick google searches in different tabs, they all take time and some timeout (something like that)I've noticed that my hdd light isn't lighting up too much.

I've tried to use smartmontools, was spammed with a ton of into that I don't really understand. But it said all 3 of my disks "passed" but alot of the smart stuff is in pre-fail and oldage. (yes some are some 02-06 ide drives)

I've also noticed it take a while to log in by ssh. Wouldn't smartmontools say something other then pass if the drive was going out?

Thanks,
Higgins909
 
Old 08-11-2016, 02:47 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,461

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Did you try a df -i to see if your volume has run out of inodes? I've seen this in the past with Squid servers where many, many, many small/sparse files have filled the inodes tables.
 
Old 08-12-2016, 08:35 AM   #3
higgins909
LQ Newbie
 
Registered: Aug 2012
Posts: 29

Original Poster
Rep: Reputation: Disabled
Code:
admin-ben@DeSer:~$ df -i
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
/dev/sdc2       4825088  52895  4772193    2% /
udev             496873    322   496551    1% /dev
tmpfs            507205    431   506774    1% /run
tmpfs            507205      2   507203    1% /dev/shm
tmpfs            507205      5   507200    1% /run/lock
tmpfs            507205     13   507192    1% /sys/fs/cgroup
/dev/sda1       5005312 160033  4845279    4% /srv/two
/dev/sdb1      12451840  13352 12438488    1% /srv/three
admin-ben@DeSer:~$

admin-ben@DeSer:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc2        73G  1.8G   67G   3% /
udev             10M     0   10M   0% /dev
tmpfs           793M  9.9M  783M   2% /run
tmpfs           2.0G  4.0K  2.0G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/sda1        76G   44G   29G  61% /srv/two
/dev/sdb1       187G  112G   66G  63% /srv/three
admin-ben@DeSer:~$
/dev/sda1 is where the squid cache is. I wonder about deleting and rebuilding it. Its supposed to have 30GB capacity and is only using 27GB right now.
I've been logging in faster by ssh and the squid 3 server will run fine for a bit, but then at least the squid3 bogs back down.

I've learned a smidge better on how to use smartctl. smartctl -H all drives "passed". Was trying to run self test, not 100% sure I did it right as one drive had 3 tests and the others had 1 test, but they "Completed without error". They also completed "short offline" almost instantly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slow Web Browsing, server Gentoo 3.10.25, running a proxy using Squid ver 3.3.8 D0zer Linux - Server 3 08-15-2014 09:31 AM
some sites are loading very slow on my centos proxy server afybiz Linux - Networking 4 08-21-2012 04:45 AM
Unable to connect MS SQL server 2008 Remote Server through SQUID proxy server samank75 Linux - Server 5 01-19-2012 09:19 PM
apache slow, only fast when i check "Use a proxy server.... sabre81 Linux - Networking 1 08-05-2005 07:41 AM
nfs / nis problem - slow copy to servermounts but fast from server to local hdd krischeu Linux - Networking 1 06-09-2005 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration