Identify whats causing lags
-
@girish said in Identify whats causing lags:
I would check if
dmesg
has any interesting messages around the time the server is unresponsive. Does netcup have a server resource monitoring panel to help us debug ? We need something from the outside to determine the source of lagginess.I will check it. Netcup shows some graphs:
One question regarding Cloudron CPU usage graph. How is it possible to use a CPU for more than 100%? Or is it in relation to the last CPU utilization?
-
@simong said in Identify whats causing lags:
I also run Cloudron on Netcup but I always use their Root-Servers with more "dedicated" resources. I didn't notice any lag so far, I used digitalocean before.
It is. Its the RS 2000 G9.5. 6 Cores and 16GB of RAM.
-
@Stardenver said in Identify whats causing lags:
One question regarding Cloudron CPU usage graph. How is it possible to use a CPU for more than 100%? Or is it in relation to the last CPU utilization?
You have 6 cores, so max. CPU usage is 6x 100%.
Having been a windows admin for a long time, I found this quite confusing as well in the beginning. -
@nichu42 said in Identify whats causing lags:
@Stardenver said in Identify whats causing lags:
One question regarding Cloudron CPU usage graph. How is it possible to use a CPU for more than 100%? Or is it in relation to the last CPU utilization?
You have 6 cores, so max. CPU usage is 6x 100%.
Having been a windows admin for a long time, I found this quite confusing as well in the beginning.So the graph showing 200% is 2 cores on 100% each (or something equal like 4 cores on 50% each)?
-
@Stardenver I have exactly the same issue on a NetCup RS 4000 G9 (6 cores, 32GB, 800GB SSD) for months. Randomly once a day the complete RS is "freezed" for about 30 seconds (I get Zabbix notices). I can't discover any specific changes in graphs around the time of freeze. Once I created a helpdesk ticket at NetCup but they responded with something like "what's in your RS is yours we don't know what's happening there".
@girish when I do
dmesg
I do get result but the timestamps are like [1448020.553213]. The only kind of errors are like:Packet dropped: IN=eth0 OUT= MAC=***** SRC=***** DST=***** LEN=44 TOS=0x00 PREC=0x00 TTL=58 ID=48290 PROTO=TCP SPT=54306 DPT=15916 WINDOW=1024 RES=0x00 SYN URGP=0
In the box.log there is also nothing around the time of freeze. Where to look now?
-
@imc67 said in Identify whats causing lags:
@Stardenver I have exactly the same issue on a NetCup RS 4000 G9 (6 cores, 32GB, 800GB SSD) for months. Randomly once a day the complete RS is "freezed" for about 30 seconds (I get Zabbix notices). I can't discover any specific changes in graphs around the time of freeze. Once I created a helpdesk ticket at NetCup but they responded with something like "what's in your RS is yours we don't know what's happening there".
@girish when I do
dmesg
I do get result but the timestamps are like [1448020.553213]. The only kind of errors are like:Packet dropped: IN=eth0 OUT= MAC=***** SRC=***** DST=***** LEN=44 TOS=0x00 PREC=0x00 TTL=58 ID=48290 PROTO=TCP SPT=54306 DPT=15916 WINDOW=1024 RES=0x00 SYN URGP=0
In the box.log there is also nothing around the time of freeze. Where to look now?
Weird thing is, that it doesn't seem to be related to whats going on on my VPS. I started to move 100GB of data onto it, using another VPS from Hetzner (rclone). No problems. I then activated server-side encryption and transferred even more data. I'd set up a Hetzner storage box and mounted it to my Cloudron instance and right now the Hetzner VPS is transfering 120GB of data to my Nextcloud which is encrypting and pushing through to the storage box. I don't have any problems at all. But then, out of nowhere, when CPU is actually on idle and maybe receiving a mail or Thunderbird is syncing calendar on Nextcloud, everything stops for a few seconds. Complete freeze and Firefox can't load anything and so does Thunderbird. After like 20 to 30 seconds everything is back to normal and responsive again. So it doesn't really seem to be related to tasks or processes on the server and right now I suspect the VPS itself to cause this.
-
@Stardenver said in Identify whats causing lags:
So the graph showing 200% is 2 cores on 100% each (or something equal like 4 cores on 50% each)?
The latter is more probable. If you really want to know, run 'htop' from the command line.