Results 1 to 8 of 8

Thread: high cpu and memory usage

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    18

    high cpu and memory usage

    Does somebody have some hints for me. My server load is realy high. I am using the normal server.cfg file.


    top - 10:22:37 up 1 day, 20:27, 1 user, load average: 3.00, 2.93, 2.39
    Tasks: 59 total, 2 running, 57 sleeping, 0 stopped, 0 zombie
    Cpu(s): 99.7%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 3145728k total, 2084500k used, 1061228k free, 0k buffers
    Swap: 3145728k total, 740k used, 3144988k free, 0k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    9585 root 15 0 1567m 1.3g 5148 S 198 44.9 106:57.79 zarafa-server

  2. #2
    Zarafa QA
    Robin's Avatar
    Join Date
    Jul 2009
    Location
    Delft, Netherlands
    Posts
    4,671

    Re: high cpu and memory usage

    Hello MartinE,

    Can you give us a little more information? Is there are there a lot of users working on it. Any errors in the ser log?

    Greetings,
    Robin
    Zarafa IRC chat: irc.freenode.com > #zarafa
    Zarafa documentation: http://www.zarafa.com/content/documentation
    Zarafa Community webpage: http://community.zarafa.com

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    18

    Re: high cpu and memory usage

    My logfile is clean, last entry:

    Tue Jun 7 14:16:01 2011: Startup succeeded on pid 9585

    zarafa 6.40.7-26119
    ubuntu 8.04 64bit

    May I should rise the log level.
    At the moment are 16 users working with zarafa.


  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    18

    Re: high cpu and memory usage

    After restart server process the system was running fine.

    Now my system load now:

    top - 13:52:57 up 3:00, 1 user, load average: 7.22, 7.07, 6.77
    Tasks: 57 total, 1 running, 56 sleeping, 0 stopped, 0 zombie
    Cpu(s): 91.1%us, 0.9%sy, 0.0%ni, 6.5%id, 1.4%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 3145728k total, 3145728k used, 0k free, 0k buffers
    Swap: 3145728k total, 0k used, 3145728k free, 0k cached



    my serverlog says:

    Wed Jun 8 12:15:38 2011: 0x0000001e64a620: SQL Failed: Lock wait timeout exceeded; try restarting transaction, Query: "DELETE FROM outgoingqueue WHERE hierarchy_id=1840697 AND flags & 1=1"


    I have seen some other threads exist, but there are no soulution ( , , )

    my process list:


  5. #5
    Junior Member
    Join Date
    Jan 2010
    Posts
    18

    Re: high cpu and memory usage

    now the server crashed:
    Wed Jun 8 21:39:06 2011: Caught SIGSEGV (6), traceback:
    Wed Jun 8 21:39:08 2011: 0x000000004adbc7 /usr/bin/zarafa-server(_Z7sigsegvi+0x67) [0x4adbc7]
    Wed Jun 8 21:39:08 2011: 0x002ab3e312e7d0 /lib/libpthread.so.0 [0x2ab3e312e7d0]
    Wed Jun 8 21:39:08 2011: 0x002ab3e336e095 /lib/libc.so.6(gsignal+0x35) [0x2ab3e336e095]
    Wed Jun 8 21:39:08 2011: 0x002ab3e336faf0 /lib/libc.so.6(abort+0x110) [0x2ab3e336faf0]
    Wed Jun 8 21:39:08 2011: 0x0000000070ce20 /usr/bin/zarafa-server [0x70ce20]
    Wed Jun 8 21:39:08 2011: 0x0000000070cf58 /usr/bin/zarafa-server(_ZN22TCMalloc_CrashReporter12PrintfAndDieEP Kcz+0x98) [0x70cf58]
    Wed Jun 8 21:39:08 2011: 0x00000000712577 /usr/bin/zarafa-server(_ZN8tcmalloc7NewSpanEmm+0xc7) [0x712577]
    Wed Jun 8 21:39:08 2011: 0x00000000711a43 /usr/bin/zarafa-server(_ZN8tcmalloc8PageHeap5CarveEPNS_4SpanEm+0x6 3) [0x711a43]
    Wed Jun 8 21:39:08 2011: 0x000000007120b9 /usr/bin/zarafa-server(_ZN8tcmalloc8PageHeap3NewEm+0x99) [0x7120b9]
    Wed Jun 8 21:39:08 2011: 0x0000000071572c /usr/bin/zarafa-server(malloc+0x1ac) [0x71572c]
    Wed Jun 8 21:39:08 2011: 0x002ab3e130a1a3 /usr/lib/libmysqlclient.so.15(my_malloc+0x33) [0x2ab3e130a1a3]
    Wed Jun 8 21:39:08 2011: 0x002ab3e130cf37 /usr/lib/libmysqlclient.so.15(alloc_root+0x97) [0x2ab3e130cf37]
    Wed Jun 8 21:39:08 2011: 0x002ab3e132d7e9 /usr/lib/libmysqlclient.so.15(cli_read_rows+0x109) [0x2ab3e132d7e9]
    Wed Jun 8 21:39:08 2011: 0x002ab3e132bfbe /usr/lib/libmysqlclient.so.15(mysql_store_result+0x8e) [0x2ab3e132bfbe]
    Wed Jun 8 21:39:08 2011: 0x0000000054c0b1 /usr/bin/zarafa-server(_ZN15ECDatabaseMySQL8DoSelectERKSsPPvb+0x61 ) [0x54c0b1]
    Wed Jun 8 21:39:08 2011: 0x00000000577622 /usr/bin/zarafa-server(_ZN25ECGetContentChangesHelper13QueryDataba seEPPv+0x82) [0x577622]
    Wed Jun 8 21:39:08 2011: 0x00000000573039 /usr/bin/zarafa-server(_Z10GetChangesP4soapP9ECSession9SOURCEKEYjj jjP13restrictTablePjPP15icsChangesArray+0x1cb9) [0x573039]
    Wed Jun 8 21:39:08 2011: 0x000000004f6259 /usr/bin/zarafa-server(_Z14ns__getChangesP4soapm17xsd__base64Binar yjjjjP13restrictTableP17icsChangeResponse+0x2d9) [0x4f6259]
    Wed Jun 8 21:39:08 2011: 0x000000006b9add /usr/bin/zarafa-server(_Z25soap_serve_ns__getChangesP4soap+0xdd) [0x6b9add]
    Wed Jun 8 21:39:08 2011: 0x000000004b64a9 /usr/bin/zarafa-server(_ZN14ECWorkerThread4WorkEPv+0x269) [0x4b64a9]
    Wed Jun 8 21:39:08 2011: 0x002ab3e31263f7 /lib/libpthread.so.0 [0x2ab3e31263f7]
    Wed Jun 8 21:39:08 2011: 0x002ab3e3413bbd /lib/libc.so.6(clone+0x6d) [0x2ab3e3413bbd]
    Wed Jun 8 21:39:08 2011: When reporting this traceback, please include Linux distribution name, system architecture and Zarafa version.
    Wed Jun 8 21:39:08 2011: Caught SIGSEGV (11), traceback:

  6. #6
    Senior Member
    Join Date
    May 2006
    Location
    Delft
    Posts
    1,935

    Re: high cpu and memory usage

    Martin,

    Please use the latest 6.40.9.
    There are some fixes for the spooler and high load issue.

    Milo

  7. #7
    Junior Member
    Join Date
    Jan 2010
    Posts
    18

    Re: high cpu and memory usage

    I will do the update to the new version.

    The server war working fine since last two days.
    At the moment the server load is high again. Here some infomation:

    Thu Jun 16 13:19:47 2011: Session stats:
    Thu Jun 16 13:19:47 2011: Sessions: 161 (locked=0)
    Thu Jun 16 13:19:47 2011: Dumping cache stats:
    Thu Jun 16 13:19:47 2011: Object cache size: 89105 ( 2851360 bytes) (usage 54.39%)
    Thu Jun 16 13:19:47 2011: Object cache hits: 18036970 / 18133006 (99.47%)
    Thu Jun 16 13:19:47 2011: Store cache size: 5266 ( 210640 bytes) (usage 20.09%)
    Thu Jun 16 13:19:47 2011: Store cache hits: 8951103 / 8959296 (99.91%)
    Thu Jun 16 13:19:47 2011: ACL cache size: 49 ( 1568 bytes) (usage 0.15%)
    Thu Jun 16 13:19:47 2011: ACL cache hits: 5412 / 5580 (96.99%)
    Thu Jun 16 13:19:47 2011: Quota cache size: 2 ( 96 bytes) (usage 0.01%)
    Thu Jun 16 13:19:47 2011: Quota cache hits: 49514 / 65661 (75.41%)
    Thu Jun 16 13:19:47 2011: ExternID cache size: 23 ( 920 bytes) (usage 0.09%)
    Thu Jun 16 13:19:47 2011: ExternID hits: 219467 / 251622 (87.22%)
    Thu Jun 16 13:19:47 2011: User cache size: 23 ( 1104 bytes) (usage 0.11%)
    Thu Jun 16 13:19:47 2011: User hits: 710243 / 715628 (99.25%)
    Thu Jun 16 13:19:47 2011: User Details size: 23 ( 2760 bytes) (usage 0.01%)
    Thu Jun 16 13:19:47 2011: User Details hits: 528147 / 528170 (100.00%)
    Thu Jun 16 13:19:47 2011: Server cache size: 0 ( 0 bytes) (usage 0.00%)
    Thu Jun 16 13:19:47 2011: Server cache hits: 0 / 0 (nan%)
    Thu Jun 16 13:19:47 2011: Cell cache size: 86807 (68084529 bytes) (usage 6.70%)
    Thu Jun 16 13:19:47 2011: Cell cache hits: 8807019 / 10126409 (86.97%)
    Thu Jun 16 13:19:47 2011: Index1 cache size: 102252 ( 4908096 bytes) (usage 29.25%)
    Thu Jun 16 13:19:47 2011: Index1 cache hits: 2460128 / 2464031 (99.84%)
    Thu Jun 16 13:19:47 2011: Index2 cache size: 101912 ( 9407472 bytes) (usage 56.07%)
    Thu Jun 16 13:19:47 2011: Index2 cache hits: 4336920 / 4565000 (95.00%)


    Cpu(s): 99.3%us, 0.7%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 3145728k total, 3145728k used, 0k free, 0k buffers
    Swap: 3145728k total, 2296k used, 3143432k free, 0k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    23847 root 15 0 3643m 3.2g 5044 S 199 107.9 520:42.85 zarafa-server

    mysql> show full processlist;
    +-------+-------------+-----------+--------------+---------+------+-------+-----------------------+
    | Id | User | Host | db | Command | Time | State | Info |
    +-------+-------------+-----------+--------------+---------+------+-------+-----------------------+
    | 19 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 4020 | | NULL |
    | 20 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 7 | | NULL |
    | 21 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 5369 | | NULL |
    | 22 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 1324 | | NULL |
    | 23 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 7 | | NULL |
    | 24 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 7691 | | NULL |
    | 25 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 6882 | | NULL |
    | 26 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 8517 | | NULL |
    | 27 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 442 | | NULL |
    | 28 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 2340 | | NULL |
    | 29 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 1 | | NULL |
    | 30 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 7 | | NULL |
    | 31 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 7 | | NULL |
    | 32 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 3179 | | NULL |
    | 33 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 6057 | | NULL |
    | 34 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 4647 | | NULL |
    | 41 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 209 | | NULL |
    | 15178 | sql_zarafa2 | localhost | zarafa_mail2 | Sleep | 210 | | NULL |
    | 66127 | admin | localhost | NULL | Query | 0 | NULL | show full processlist |
    +-------+-------------+-----------+--------------+---------+------+-------+-----------------------+
    19 rows in set (0.00 sec)



    The log of server is clean.
    What can I ask the machine to get more information.

  8. #8
    Junior Member
    Join Date
    Jan 2010
    Posts
    18

    Re: high cpu and memory usage

    After updating the server is still under high load. :-x

Similar Threads

  1. Unexplained High Usage
    By dnwklin in forum Installation, Configuration and Maintenance
    Replies: 11
    Last Post: 16-11-2015, 04:25 PM
  2. Low Memory VPS
    By Mempity in forum Installation, Configuration and Maintenance
    Replies: 4
    Last Post: 16-11-2011, 12:06 PM
  3. Memory Problems with zarafa-gateway
    By csimolka in forum Installation and Configuration Archives
    Replies: 2
    Last Post: 30-08-2010, 04:34 PM
  4. [solved] Zarafa 6.40 RC5 Memory consumption
    By cherweg in forum Beta Feedback Archives
    Replies: 2
    Last Post: 23-04-2010, 11:58 AM
  5. email addres from memory not recognized
    By Helpdeskzandvoort in forum WebAccess usage Archives
    Replies: 4
    Last Post: 30-03-2010, 09:31 AM

Bookmarks

Posting Permissions

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