Forum

Page 1 of 5 123 ... LastLast
Results 1 to 15 of 69
  1. #1
    Join Date
    December 2009
    Location
    Maryland, USA
    Posts
    100

    ToDo List OS X Server maxes CPU

    Howdy folks, been a long time since I posted. Recently upgraded to TS3 beta 28 and have noticed that the server will max out one of my CPU's cores.

    System info:
    new-host-4:~ admin$ system_profiler
    Hardware:

    Hardware Overview:

    Model Name: Mac mini
    Model Identifier: Macmini2,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 1.83 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 2 MB
    Memory: 2 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MM21.009A.B00
    SMC Version (system): 1.19f2
    Serial Number (system): XXXXXXXXXX
    Hardware UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX


    Lights out management via SSH and VNC

    Logs are as follows edited to remove ip addresses etc...

    2010-09-12 22:22:25.811213|INFO |ServerLibPriv | | Server Version: 3.0.0-beta28 [Build: 12264], MacOSX
    2010-09-12 22:22:25.811965|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2010-09-12 22:22:25.812037|INFO |DatabaseQuery | | dbPlugin version: 3.6.21
    2010-09-12 22:22:25.812364|INFO |DatabaseQuery | | checking database integrity (may take a while)
    2010-09-12 22:22:25.826016|INFO |SQL | | pruning old database log entries where timestamp is older than 90 days
    2010-09-12 22:22:26.842864|INFO |Accounting | | Licensing Information
    2010-09-12 22:22:26.844173|INFO |Accounting | | type : Non-profit
    2010-09-12 22:22:26.845622|INFO |Accounting | | starting date : Sun Dec 20 23:00:00 2009
    2010-09-12 22:22:26.846704|INFO |Accounting | | ending date : Mon Dec 20 23:00:00 2010
    2010-09-12 22:22:26.847997|INFO |Accounting | | max virtualservers: 10
    2010-09-12 22:22:26.849272|INFO |Accounting | | max slots : 512
    2010-09-12 22:22:26.879984|INFO |FileManager | | listening on 0.0.0.0:30033
    2010-09-12 22:22:27.310247|INFO |VirtualServer | 1| listening on 0.0.0.0:9987
    2010-09-12 22:22:27.311715|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
    2010-09-12 22:22:27.313227|INFO |Query | | listening on 0.0.0.0:10011
    2010-09-13 19:41:02.756738|INFO |VirtualServer | 1| client connected 'USERNAME'(id:2) from xxx.xxx.xxx.xxx:47559
    2010-09-13 19:41:18.493329|INFO |VirtualServer | 1| client disconnected 'USERNAME'(id:2) reason 'reasonmsg=leaving'
    2010-09-13 19:41:53.050965|INFO |ServerMain | | Received signal SIGINT, shutting down.
    2010-09-13 19:41:53.121713|INFO |VirtualServer | 1| stopped

    Thanks for everything y'all are doing with this great product.

    SoD

  2. #2
    Join Date
    June 2008
    Posts
    18,151
    Have you tryed to run the server under mac directly and not over the virtual machine?
    We don't support that way to run the client or software.

  3. #3
    Join Date
    June 2008
    Posts
    18,151
    Sure you can reopen this thread, when it happens on OS X

  4. #4
    Join Date
    December 2009
    Location
    Maryland, USA
    Posts
    100
    It's happening again. Included are the latest logs and top information.

    Macintosh:logs My_User_Name$ more ts3server_2010-09-30__23_45_34.129203.log
    2010-09-30 23:45:34.129608|INFO |ServerLibPriv | | Server Version: 3.0.0-beta28 [Build: 12264], MacOSX
    2010-09-30 23:45:34.153537|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2010-09-30 23:45:34.153652|INFO |DatabaseQuery | | dbPlugin version: 3.6.21
    2010-09-30 23:45:34.154288|INFO |DatabaseQuery | | checking database integrity (may take a while)
    2010-09-30 23:45:34.230691|INFO |SQL | | pruning old database log entries where timestamp is older than 90 days
    2010-09-30 23:45:35.208425|INFO |Accounting | | Licensing Information
    2010-09-30 23:45:35.210140|INFO |Accounting | | type : Non-profit
    2010-09-30 23:45:35.211896|INFO |Accounting | | starting date : Sun Dec 20 23:00:00 2009
    2010-09-30 23:45:35.212902|INFO |Accounting | | ending date : Mon Dec 20 23:00:00 2010
    2010-09-30 23:45:35.213905|INFO |Accounting | | max virtualservers: 10
    2010-09-30 23:45:35.214948|INFO |Accounting | | max slots : 512
    2010-09-30 23:45:35.278362|INFO |FileManager | | listening on 0.0.0.0:30033
    2010-09-30 23:45:35.739613|INFO |VirtualServer | 1| listening on 0.0.0.0:9987
    2010-09-30 23:45:35.744410|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
    2010-09-30 23:45:35.745991|INFO |Query | | listening on 0.0.0.0:10011
    2010-09-30 23:45:35.995572|INFO |VirtualServer | 1| client connected 'Music'(id:28) from 127.0.0.1:50124
    2010-10-01 00:45:34.264551|INFO |VirtualSvrMgr | | executing monthly interval
    2010-10-01 00:45:34.265831|INFO |VirtualSvrMgr | | reset client traffic statistics
    2010-10-01 00:45:34.619727|INFO |VirtualSvrMgr | | reset virtualserver traffic statistics



    Processes: 63 total, 3 running, 60 sleeping... 244 threads 13:14:02
    Load Avg: 1.23, 1.34, 1.30 CPU usage: 15.17% user, 44.55% sys, 40.28% idle
    SharedLibs: num = 6, resident = 47M code, 3248K data, 3728K linkedit.
    MemRegions: num = 8427, resident = 243M + 16M private, 88M shared.
    PhysMem: 293M wired, 449M active, 6564K inactive, 753M used, 1295M free.
    VM: 3204M + 375M 82546(0) pageins, 2178(0) pageouts

    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    17001 top 5.5% 0:00.29 1 19 34 1500K 188K 2096K 19M
    16979 bash 0.0% 0:00.01 1 14 18 188K 660K 848K 18M
    16977 sshd 0.0% 0:00.03 1 11 59 132K 828K 548K 22M
    16973 sshd 0.0% 0:00.09 1 17 55 140K 828K 1460K 21M
    16957 mdworker 0.0% 0:02.19 4 58 65 868K+ 2572K- 2944K 63M
    16936 mdworker 0.0% 0:00.15 3 51 32 576K 3012K 2048K 30M
    10236 ts3server_ 98.2% 57:14:36 15 47 55 2596K 188K 5680K 40M
    8195 DiskManage 0.0% 0:00.07 1 33 38 468K 2420K 1836K 29M
    8194 Software U 0.0% 0:03.50 3 90 176 2908K+ 7336K- 8612K 100M
    3255 AppleSpell 0.0% 0:00.02 1 22 29 564K 5636K 1660K 33M
    2694 ssh-agent 0.0% 0:00.03 1 23 28 516K 196K 1204K 19M
    2606 iTunes 4.7% 13:11:02 10 236 2805 116M+ 12M- 150M 273M
    2599 ts3client_ 7.6% 15:37:53 22 212 411 24M+ 9628K- 44M 254M
    2566 AppleFileS 0.0% 0:18.54 2 60 58 2864K 200K 4168K 31M
    1430 bash 0.0% 0:00.01 1 14 19 240K 660K 932K 18M
    1429 login 0.0% 0:00.01 1 17 55 284K 248K 1064K 19M
    1428 Terminal 0.0% 0:09.11 3 100 117 2384K+ 7048K- 7304K 108M
    687 vmnet-brid 0.0% 0:00.00 1 20 23 180K 184K 828K 22M
    684 vmnet-dhcp 0.0% 0:00.95 1 10 24 208K 424K 252K 22M
    681 vmnet-neti 0.0% 0:00.00 1 8 23 140K 320K 164K 22M
    678 vmnet-neti 0.0% 0:00.00 1 8 23 140K 320K 164K 22M
    676 vmnet-dhcp 0.0% 0:00.98 1 10 24 204K 424K 256K 22M
    670 vmnet-natd 0.0% 0:00.62 1 13 28 188K 184K 932K 23M
    242 usbmuxd 0.0% 0:00.00 2 21 26 204K 184K 700K 19M
    193 iTunesHelp 0.0% 0:00.08 2 52 48 520K 2532K 2452K 42M
    127 pboard 0.0% 0:00.00 1 15 23 152K 184K 588K 19M
    122 Finder 0.0% 3:55.92 6 171 191 4264K 13M 14M 120M
    121 SystemUISe 0.2% 6:03.66 7 235 295 13M+ 8792K- 18M 122M
    120 ATSServer 0.0% 0:02.15 2 89 74 860K 2484K 3116K 64M
    119 Dock 0.8% 65:21.46 3 126 248 2276K+ 13M- 10M 111M
    118 coreaudiod 0.0% 0:00.24 2 108 55 1296K 960K 2352K 20M
    116 UserEventA 0.0% 0:00.41 2 121 81 528K 1376K 2012K 20M
    115 Spotlight 0.0% 0:15.10 2 76 83 1164K 3528K 4260K 44M
    113 AppleVNCSe 0.0% 6:28.27 4 89 49 780K 2280K 8068K 50M
    110 AirPort Ba 0.0% 0:00.08 1 55 62 628K 3484K 2896K 73M
    106 launchd 0.0% 5:25.01 3 148 24 200K 296K 536K 18M
    100 VNCPrivile 0.0% 0:00.02 1 16 24 180K 188K 660K 19M
    84 blued 0.0% 0:45.70 1 52 45 11M 2356K 12M 38M
    75 WindowServ 2.5% 2:19:35 5 184+ 314 6276K+ 12M- 27M 349M
    73 coreservic 0.0% 0:05.31 2 133 107 1368K+ 8992K- 10M 28M
    72 krb5kdc 0.0% 0:00.10 1 21 46 812K 192K 1892K 18M
    67 socketfilt 0.0% 0:07.75 3 36 26 620K 200K 1584K 18M
    66 autofsd 0.0% 0:00.00 1 21 18 148K 184K 668K 18M
    62 diskarbitr 0.0% 0:04.44 1 132 19 380K 188K 1028K 18M
    60 dynamic_pa 0.0% 0:00.00 1 17 20 164K 184K 708K 18M
    58 fseventsd 0.0% 0:34.72 10 77 52 1040K 184K 1596K 23M
    57 hidd 0.0% 0:00.00 2 28 20 124K 192K 604K 18M
    55 kdcmond 0.0% 0:45.36 2 24 19 300K 184K 1036K 18M
    54 KernelEven 0.0% 0:00.00 2 20 19 160K 184K 648K 18M
    53 loginwindo 0.0% 0:01.64 3 185 119 1520K- 5228K+ 5076K 47M
    52 mds 0.0% 11:23.46 15 250 689 14M 5648K 20M 108M
    51 RFBRegiste 0.0% 0:00.01 1 16 18 192K 184K 1044K 18M
    Last edited by sonofdresa; October 3rd, 2010 at 09:15 PM. Reason: Stupidity on my part. Copied my SSH session which has my real name in it.

  5. #5
    Join Date
    October 2010
    Location
    Spain
    Posts
    6

    Unhappy Very high CPU usage - Specs inside

    Hi everybody

    First, excuse my english, I'm from spain...

    I own a PPC G5 1,8 Ghz, Uniprocessor, 2 Gb. Ram DDR 400.
    Mac OS X Server 10.5.8
    AFP, Mail, MySQL, SMB, VPN and Web services loaded
    50 Mbps / 3 Mbps cable Internet conection
    TeamSpeak Server latest beta version (29 if I recall well)
    Launchd plist for autostart, according to guides in this forum

    No clients connected and CPU time is:

    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    37753 ts3server_ 89.2% 7:10.70 15 47 55 2124K 200K 5520K 36M

    ... a higher one

    CPU load varies between 55~90 but almost anytime is at 80~90 with or without clients connected to it.

    Logs are normal, license working good (downloaded with a webmail service because Mail.app -or .dat maybe?- format's bug)

    Anyone had suffer this before?

    Any ideas would be appreciated

    Thanks in advance

  6. #6
    Join Date
    October 2010
    Location
    Bath, UK
    Posts
    14
    I've recently set up a Teamspeak server on a Mac Mini Server and get it thrashing one CPU seemingly randomly.
    Once it starts it does not let up.

    Doesn't seem to follow any pattern that I can see.
    Have tried removing banner image since saw this mentioned in a thread that they could cause issues.

    Is this being looked into?

    Regards,
    Westy

    Edit:
    Version info:
    2010-10-25 09:53:06.182332|INFO |ServerLibPriv | | Server Version: 3.0.0-beta29 [Build: 12473], MacOSX
    2010-10-25 09:53:06.182720|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2010-10-25 09:53:06.182764|INFO |DatabaseQuery | | dbPlugin version: 3.6.21

    Nothing in logs that I can see when it goes nuts.

    Am getting this, which is odd since I have a license key in the same directory as the executable:
    2010-10-25 09:53:06.266711|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality

    Edit2:
    Ok, sorted that... file had extension on twice, i.e. .dat.dat
    Last edited by westy; October 25th, 2010 at 11:08 AM.

  7. #7
    Join Date
    December 2009
    Location
    Maryland, USA
    Posts
    100
    I'm currently testing the no banner theory too. I've just let it max a CPU since it's a dual core system. I just feel bad for those who are on a single core system. More info will be posted as it becomes available.

  8. #8
    Join Date
    October 2010
    Location
    Bath, UK
    Posts
    14
    Wondering if there's anyway of using Automator or something to spot when it's gone crazy, kill it and restart it?

    Not a great fix, but my Mini is in a cabinet with not the greatest airflow in the world.

  9. #9
    Join Date
    April 2010
    Location
    Denver
    Posts
    11

    Same thing on build 29

    I just thought i'd state, I have the same experience on build 29, I posted in a different forum regarding the same issue. In my experience, the CPU pegs at 100% at the 12th hour of operation. Something that is set to rotate on schedule in teamspeak is what sets off the crazy amount of CPU consumption.

  10. #10
    Join Date
    June 2002
    Location
    Krün / Germany
    Posts
    1,638
    Quote Originally Posted by lephino View Post
    I just thought i'd state, I have the same experience on build 29, I posted in a different forum regarding the same issue. In my experience, the CPU pegs at 100% at the 12th hour of operation. Something that is set to rotate on schedule in teamspeak is what sets off the crazy amount of CPU consumption.
    so you say, after 12h of operation the process takes 100% cpu and keep this state until you shutdown ?

    questions:
    - can you still login via the client to the server ?
    - what are the ping / pl values ?
    - can you still login via serverquery to the server ?
    - can you still shutdown the server normaly? or do you have to
    terminate it ?

  11. #11
    Join Date
    October 2010
    Location
    Spain
    Posts
    6
    Woa! 4 days a 52 views and not a single shot...

    The hmmmm at the fans drives me crazy at night so PLEASE, something, anything!

  12. #12
    Join Date
    October 2010
    Location
    Bath, UK
    Posts
    14
    Can certainly still login from a client.
    I haven't used serverquery, and am trying to avoid it tbh; am never going to open the port it needs.

    As for shutting down the server; sometimes going onto box and picking 'Stop' from the icon bar thing does stop it, other times it needs to be killed from activity monitor.

    There is nothing useful in the logs. Is there some debug logging I can enable?

  13. #13
    Join Date
    April 2010
    Location
    Denver
    Posts
    11
    Same thing for me, I can still issue all the commands and people can still connect. There's nothing echo'd to the logs. Everything is functional, just normally I consume about 4-6% of the cpu when tspeak is running correctly, then around that 12hr mark, bam 100% use even when no one is logged into it.

  14. #14
    Join Date
    December 2009
    Location
    Maryland, USA
    Posts
    100
    I am able to connect to the server. I actually have a client on the system connecting via the loopback address.
    Ping is normal anywhere between 3ms and 50ms +- 15 when connecting remotely.
    Serverquery works normally too.
    Server can be stopped normally with no negative affects to the database.

    I can provide an SSH login if a developer requests it.

    I did do some testing and have taken out the banner and have not had the cpu spike yet:
    33902 ts3server_ 0.5% 14:39.22 15 47 55 2588K 188K 5500K 40M

    I will add the banner back and see what happens.

  15. #15
    Join Date
    October 2010
    Location
    USA
    Posts
    1
    Everything that the others have posted seems exactly the same so I'll note some different points:

    1. This is a private server that only 4 people outside of my LAN know of. No one uses the server query and the port is closed in any case. Very, very minimal use for the normal functions and it is almost entirely default settings.

    2. Just to see if the problem corrects itself, I closed the external ports in the firewall on the router and left the machine alone — 6 days later, the process was still run-away so I killed it and restarted.

    3. Using OS X's Activity Monitor and 'Sample Process' on the ts3server I get this, repeatedly endlessly:
    Code:
       2347 Thread_2004996
          2347 thread_start
            2347 _pthread_start
              2347 std::out_of_range::~out_of_range()
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 std::out_of_range::~out_of_range()
                      2347 kevent
        2347 Thread_2004997
          2347 thread_start
            2347 _pthread_start
              2347 std::runtime_error::runtime_error(std::runtime_error const&)
                2347 std::out_of_range::~out_of_range()
                  2347 std::out_of_range::~out_of_range()
                    2347 select$DARWIN_EXTSN
        2347 Thread_2004998
          2347 thread_start
            2347 _pthread_start
              2347 std::runtime_error::runtime_error(std::runtime_error const&)
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 std::out_of_range::~out_of_range()
                      2347 kevent
        2347 Thread_2004999
          2347 thread_start
            2347 _pthread_start
              2347 std::runtime_error::runtime_error(std::runtime_error const&)
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 _pthread_cond_wait
                      2347 __semwait_signal
        2347 Thread_2005000
          2347 thread_start
            2347 _pthread_start
              2347 std::runtime_error::runtime_error(std::runtime_error const&)
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 _pthread_cond_wait
                      2347 __semwait_signal
        2347 Thread_2005001
          2347 thread_start
            2347 _pthread_start
              2347 std::runtime_error::runtime_error(std::runtime_error const&)
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 _pthread_cond_wait
                      2347 __semwait_signal
        2347 Thread_2005002
          2347 thread_start
            2347 _pthread_start
              2347 std::runtime_error::runtime_error(std::runtime_error const&)
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 _pthread_cond_wait
                      2347 __semwait_signal
        2347 Thread_2005003
          2347 thread_start
            2347 _pthread_start
              2347 std::out_of_range::~out_of_range()
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 std::out_of_range::~out_of_range()
                      2347 kevent
        2347 Thread_2005004
          2347 thread_start
            2347 _pthread_start
              2347 std::out_of_range::~out_of_range()
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 _pthread_cond_wait
                      2347 __semwait_signal
        2347 Thread_2005005
          2347 thread_start
            2347 _pthread_start
              2347 std::out_of_range::~out_of_range()
                2347 std::runtime_error::runtime_error(std::runtime_error const&)
                  2347 std::runtime_error::runtime_error(std::runtime_error const&)
                    2347 _pthread_cond_wait
                      2347 __semwait_signal
    4. Also in the Activity Monitor, the Inspector shows this line for open ports and files:
    Code:
    my.server.com:61939->hardy.teamspeak.4players.de:pipe_server
    And I was wondering what that was about because it always shows up the instant I start the server so I'm assuming it's "official" but undocumented?

    Be back with more as soon as it breaks again.

    Hoji.

Thread Information

Users Browsing this Thread

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

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
  •