Site Suggestions, Support and Resources > Tech Support and Forum Bugs
Server problems today
Mr. Bill:
We're having issues this morning with the server for thesurvivalpodcast.com and survivalpodcast.net suddenly slowing to a crawl for 5 to 30 minutes at a time. Problem not identified yet -- just wanted to let you know we're working on it.
Stwood:
Maybe the BS from the last coupla days is oozing around in the server yet. ???
Smurf Hunter:
Assuming you haven't changed anything, one of the biggest clues on a linux machine is file handles.
https://en.wikipedia.org/wiki/Lsof
If you have the parent process ID of your HTTP server, you can get a listing of all the open files associated. Remember in unix a network socket is also a file.
Often the count of open files can grow over time. You can get a count doing something like this:
--- Code: ---lsof 2> /dev/null | awk {'print $2'} 2> /dev/null | grep $PID | wc -l
--- End code ---
Compare the results immediately after a restart of your HTTP to several days later.
Hope the unsolicited advice is not taken badly.
Mr. Bill:
Thanks for the suggestion -- I'll look at that (but I think Archer did already). At the moment we can't find anything wrong on the server, so we're suspecting it's an issue with either the hardware or something that the server provider needs to fix. Awaiting more data.
surfivor:
What is running, how much disk:
$ top
top - 15:57:06 up 4:58, 1 user, load average: 0.54, 0.46, 0.25
Tasks: 254 total, 3 running, 251 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.4 us, 0.0 sy, 0.0 ni, 97.6 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 4025404 total, 299848 free, 3247088 used, 478468 buff/cache
KiB Swap: 1287164 total, 952336 free, 334828 used. 335708 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4223 lbob 20 0 503136 28580 13680 S 2.2 0.7 0:07.00 gnome-term+
1 root 20 0 119888 4056 2944 S 0.0 0.1 0:02.32 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
6 root 20 0 0 0 0 S 0.0 0.0 0:01.16 ksoftirqd/0
7 root 20 0 0 0 0 S 0.0 0.0 0:13.05 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 lru-add-dr+
11 root rt 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/0
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
15 root 20 0 0 0 0 S 0.0 0.0 0:00.02 khungtaskd
16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reaper
17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kcompactd0
============
$ df
df: /mnt/hgfs: Protocol error
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1989176 0 1989176 0% /dev
tmpfs 402544 11408 391136 3% /run
/dev/sda1 45044148 16888592 25844388 40% /
tmpfs 2012700 8104 2004596 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 2012700 0 2012700 0% /sys/fs/cgroup
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 402544 32 402512 1% /run/user/1000
/dev/sr0 1855008 1855008 0 100% /media/lbob/Linux Mint 18.3 Cinnamon 64-bit
Navigation
[0] Message Index
[#] Next page
Go to full version