Forum

Results 1 to 9 of 9

Thread: High CPU Usage

  1. #1
    Join Date
    January 2015
    Posts
    2

    High CPU Usage

    Hi!

    I have, or my server have some problems with the CPU load since last Thursday/Friday and all Users (60 People on 4 Servers) notied Laggs.

    I fast logged in into my Server and see my Server have an high CPU Load between 80-100%!

    That was not normal and i tryed to restart the complete TS3-Server-Instance. After restarting, the overload will be not less Next day, i restarted the complete vServer and i get a normal CPU-Usage from 2-3% (thats the normal usage in percentage, and not very higher). After a few hours the i can see, that the CPU again increases slowly.

    What i see on the Programm "htop", most of it is shown in red, and red is the kernel from Linux. What's going on with my Server?

    Server: Linux Debian Wheezy
    TeamSpeak-Version: 3.0.11.2


    Screenshot of the Overload:
    http://i61.tinypic.com/os6dfl.jpg

  2. #2
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,616
    There could be many reasons for this.

    Like I know about some problems that can't be described as CPU load high:
    - dns resolving problems
    - firewalled accounting

    in your case I would try to check if the load is not generated by IO.
    try
    Code:
    vmstat 1
    and hit CTRL+C after couple seconds. Make sure your putty is wide enough(it prints one line per second).

    What about OS updates?
    using mysql/mariadb or sqlite?

    ohh, and check server connection info on each server in your ts3client before(not after!) next restart.

    Let's start with these ^

  3. #3
    Join Date
    January 2015
    Posts
    2
    Quote Originally Posted by Tomas View Post
    There could be many reasons for this.

    Like I know about some problems that can't be described as CPU load high:
    - dns resolving problems
    - firewalled accounting

    in your case I would try to check if the load is not generated by IO.
    try
    Code:
    vmstat 1
    and hit CTRL+C after couple seconds. Make sure your putty is wide enough(it prints one line per second).

    What about OS updates?
    using mysql/mariadb or sqlite?

    ohh, and check server connection info on each server in your ts3client before(not after!) next restart.

    Let's start with these ^
    Hi
    the result from this command:

    Code:
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
     2  0      0 6516464 108272 904140    0    0     0    80  919 2601  2 19 80  0
     0  0      0 6516464 108272 904140    0    0     0     0  746 2256  1 14 84  0
     0  0      0 6516464 108272 904140    0    0     0     0  823 2381  1 18 81  0
     0  0      0 6516464 108272 904140    0    0     0     0 1070 2677  2 29 69  0
     0  0      0 6516464 108272 904140    0    0     0     0  970 2545  3 25 72  0
     0  0      0 6516464 108272 904140    0    0     0     0 1015 2725  2 24 74  0
     0  0      0 6516464 108276 904140    0    0     0    36  918 2452  3 24 73  0
     0  0      0 6516464 108276 904140    0    0     0     0  723 2404  1 11 89  0
     0  0      0 6516464 108276 904140    0    0     0     0  843 2636  1 10 89  0
     0  0      0 6516464 108276 904140    0    0     0     0  680 2188  1 17 82  0
     0  0      0 6516464 108276 904140    0    0     0     0  694 2270  1 12 87  0
     0  0      0 6516464 108276 904140    0    0     0     0  791 2245  1 15 85  0
     1  0      0 6516464 108276 904140    0    0     0     0  688 2134  1  9 89  0
     1  0      0 6516464 108276 904140    0    0     0     0  601 2028  2  8 90  0
     1  0      0 6516464 108276 904140    0    0     0     0  694 2206  1 13 86  0
     0  0      0 6516464 108276 904140    0    0     0     0  724 2239  1  9 90  0
     0  0      0 6516464 108276 904140    0    0     0     0  863 2359  2  7 92  0
     0  0      0 6516464 108276 904140    0    0     0     0  803 2281  1  7 92  0
     0  0      0 6516464 108276 904140    0    0     0     0  909 2588  2 22 76  0
     0  0      0 6516464 108276 904140    0    0     0     0  814 2465  2 16 82  0
     0  0      0 6516464 108276 904140    0    0     0     0  611 2188  1  6 93  0
    My OS is Up-to-date and i use the standard included sqlite database.

  4. #4
    Join Date
    January 2015
    Posts
    1
    I've got somewhat similar problem. On my server TS server hogs up about 10% CPU constantly.

    Server: Debian 8
    TS-Server version: 3.0.11.2

    vmstat 1 returns this:

    Code:
    procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
     0  0  14868 154156 130784 482348    0    0     0     4    4   12  6  4 90  0  0
     0  0  14868 154216 130784 482348    0    0     0     0 1241 2262  2  3 95  0  0
     0  0  14868 154428 130784 482348    0    0     0     0 1224 2156  7  6 87  0  0
     0  0  14868 154464 130784 482348    0    0     0     0 1178 2087  3  3 95  0  0
     0  0  14868 154464 130784 482348    0    0     0     0 1231 2202  6  3 91  0  0
     0  0  14868 154372 130784 482348    0    0     0     0 1214 2189  4  7 89  0  0
     0  0  14868 154464 130784 482348    0    0     0     0 1213 2219  6  3 91  0  0
     0  0  14868 154464 130784 482348    0    0     0     0 1223 2238  3  2 95  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1330 2401  6  5 88  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1219 2246  3  3 94  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1268 2311  6  2 92  0  0
     0  0  14868 154540 130784 482348    0    0     0     0 1218 2234  3  6 91  0  0
     0  0  14868 154596 130784 482348    0    0     0     0 1191 2202  6  2 92  0  0
     0  0  14868 154596 130784 482348    0    0     0     0 1165 2177  2  3 95  0  0
     1  0  14868 154596 130784 482348    0    0     0    48 1256 2300  6  6 88  0  0
     0  0  14868 154596 130784 482348    0    0     0     0 1175 2240  2  2 96  0  0
     0  0  14868 154596 130784 482348    0    0     0     0 1204 2243  7  2 91  0  0
     0  0  14868 154464 130784 482348    0    0     0     0 1137 2071  2  7 91  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1184 2092  6  4 90  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1145 2135  3  2 95  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1226 2201  5  8 87  0  0
     0  0  14868 154472 130784 482348    0    0     0     0 1064 1927  3  3 94  0  0
     1  0  14868 154472 130784 482348    0    0     0     0 1196 2172  5  4 91  0  0
     0  0  14868 154392 130784 482348    0    0     0     0 1192 2144  4  5 91  0  0
     1  0  14868 154408 130784 482348    0    0     0     0 1131 1998  5  4 91  0  0
     0  0  14868 154408 130784 482348    0    0     0     0 1162 2129  3  3 94  0  0
     1  0  14868 154376 130784 482348    0    0     0     0 1256 2307  6  8 87  0  0
     0  0  14868 154412 130784 482348    0    0     0     0 1171 2188  2  2 96  0  0
     0  0  14868 154412 130784 482348    0    0     0     0 1234 2292  5  3 92  0  0
     0  0  14868 154588 130784 482348    0    0     0     0 1249 2295  3  6 91  0  0
     0  0  14868 154592 130784 482348    0    0     0     0 1235 2285  5  3 92  0  0
     0  0  14868 154592 130784 482348    0    0     0     0 1150 2149  2  3 95  0  0
     0  0  14868 154520 130784 482348    0    0     0     0 1307 2352  7  7 86  0  0
     0  0  14868 154592 130784 482348    0    0     0     0 1156 2183  2  3 95  0  0
     0  0  14868 154584 130784 482348    0    0     0     0 1243 2306  5  3 92  0  0
     0  0  14868 154520 130784 482348    0    0     0     0 1205 2264  4  5 92  0  0
     0  0  14868 154584 130784 482348    0    0     0     0 1178 2180  4  3 93  0  0
     0  0  14868 154584 130784 482348    0    0     0     0 1178 2180  3  2 95  0  0
     0  0  14868 154584 130784 482348    0    0     0     0 1240 2276  8  6 87  0  0
     0  0  14868 154592 130784 482348    0    0     0     0 1148 2117  2  3 95  0  0
     0  0  14868 154592 130784 482348    0    0     0     0 1227 2249  5  3 92  0  0
     0  0  14868 154648 130784 482348    0    0     0     0 1187 2193  4  6 90  0  0
     0  0  14868 154720 130784 482348    0    0     0     0 1156 2117  6  3 91  0  0
     0  0  14868 154720 130784 482348    0    0     0     0 1074 1953  2  3 95  0  0
     0  0  14868 154532 130784 482348    0    0     0     0 1159 2072  6  8 86  0  0
     0  0  14868 154596 130784 482348    0    0     0     0 1021 1906  2  2 96  0  0
     0  0  14868 154596 130784 482348    0    0     0     0 1100 1974  7  3 90  0  0
    But according to top, ts3 server CPU usage is constantly at 10%.

  5. #5
    Join Date
    July 2012
    Posts
    3
    Same problem here..

    With around 25 users online cpu utilization is extremely high, lag spikes..:

    1832 root 20 0 203m 20m 5864 S 20.9 4.1 482:54.84 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 11.0 4.1 482:54.95 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 71.8 4.1 482:55.67 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 47.5 4.1 482:56.15 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 58.7 4.1 482:56.74 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 78.7 4.1 482:57.53 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 73.9 4.1 482:58.27 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 66.8 4.1 482:58.94 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 14.0 4.1 482:59.08 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 40.9 4.1 482:59.49 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 32.9 4.1 482:59.82 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 2.0 4.1 482:59.84 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 86.4 4.1 483:00.71 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 79.3 4.1 483:01.53 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 75.8 4.1 483:02.29 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 59.0 4.1 483:02.91 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 44.9 4.1 483:03.36 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 77.9 4.1 483:04.14 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 48.9 4.1 483:04.63 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 56.0 4.1 483:05.23 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 2.0 4.1 483:05.25 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 11.9 4.1 483:05.37 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 23.9 4.1 483:05.61 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 84.8 4.1 483:06.46 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 99.6 4.1 483:07.46 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 97.8 4.1 483:08.46 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 22.0 4.1 483:08.68 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 24.0 4.1 483:08.92 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 24.0 4.1 483:09.16 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 40.9 4.1 483:09.57 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 73.6 4.1 483:10.31 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 75.7 4.1 483:11.07 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 56.3 4.1 483:11.64 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 63.9 4.1 483:12.28 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 59.2 4.1 483:12.88 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 58.8 4.1 483:13.47 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 65.8 4.1 483:14.13 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 43.9 4.1 483:14.57 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 32.9 4.1 483:14.90 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 34.9 4.1 483:15.26 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 54.1 4.1 483:15.81 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 78.2 4.1 483:16.61 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 98.0 4.1 483:17.63 ts3server_linux

  6. #6
    Join Date
    July 2012
    Posts
    3
    Same issue here.
    When like 20-30 people are on our server, there are CPU usage spikes and users get lag.. mostly happening when 3-4 people talk at once.

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1832 root 20 0 203m 20m 5864 S 59.2 4.1 483:12.88 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 58.8 4.1 483:13.47 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 65.8 4.1 483:14.13 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 43.9 4.1 483:14.57 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 32.9 4.1 483:14.90 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 34.9 4.1 483:15.26 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 54.1 4.1 483:15.81 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 78.2 4.1 483:16.61 ts3server_linux
    1832 root 20 0 203m 20m 5864 S 98.0 4.1 483:17.63 ts3server_linux

  7. #7
    Join Date
    October 2014
    Posts
    4
    We have the same problem. Do you guys use debian 7+?

  8. #8
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,616
    First: I'm just a mere user of the TeamSpeak3, a fan. I have no other relationship with TeamSpeak systems or contractors.
    Usually they request steps to reproduce the problem.

    Second: I could spent some time trying to came up with way to make it reproducible, however that would mean that it would be beneficial to have your teamspeak3 server files. Do not attach them in here! If then me or dante696 can arrange it in PM if there is will.
    And to know what was used to install your debian8 linux box.(Did you selected some groups in tasksel, what packages you have installed...). What are your firewall rules if any?


    What is your server like? Does it use file transfers a lot? Problem with replication of your problem is to know when it happens, that said I know you said when X amount of people talks. What is server connection info showing(ping, latency etc)? Are they in single channel(screen shot)?

    I've believe I've said it before somewhere on forums, I'm running older version of server on debian8 and my monitoring didn't yell CPU load at me yet.

    Have you considered the possibility that problem is elsewhere? IE: your VPS hosting provider? I kind of find it hard to go against load on that process with this question, but...

    xH4wK: those outputs will be easier to read in [code] block. Assuming your output is from ps and is showing multiple threads right?
    Last edited by Tomas; February 9th, 2015 at 08:02 AM. Reason: typo

  9. #9
    Join Date
    August 2013
    Location
    Germany
    Posts
    55

    High CPU usage (Server, Debian 7)

    i rent a new server a couple of days ago.

    The Teamspeak 3 Server CPU usage on my old system was ~1-5%.
    Currently, the server uses ~27-70% (!!) of the CPU.

    I concluded that this causes a packet loss of around 3-12%, which massivley disrupts the experience.

    The Server CPUs are the same, I am running the server on Debian 7 64Bit
    Last edited by HerrAusragend; February 17th, 2015 at 01:32 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. High CPU Usage
    By Chuck in forum Linux
    Replies: 1
    Last Post: April 3rd, 2012, 08:41 AM
  2. High CPU usage with TS3.
    By DarkWolfDK in forum Bug Reports [EN/DE]
    Replies: 4
    Last Post: September 13th, 2011, 11:36 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •