The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[case 45136] Roundcube 0.4.2 Hanging Processes in cPanel 11.28.45

Discussion in 'E-mail Discussions' started by VeZoZ, Nov 24, 2010.

  1. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    The roundcube hanging process problem went away a while ago and seems to be back in 11.28.


    Code:
    32006    10628 96.8  0.1 164720 17176 ?        R    04:03 470:05 /var/cpanel/3rdparty/bin/php -c /usr/local/cpanel/3rdparty/etc/roundcube /usr/local/cpanel/base/3rdparty/roundcube/index.php
    32006    12879 97.4  0.1 164712 17184 ?        R    04:32 444:30 /var/cpanel/3rdparty/bin/php -c /usr/local/cpanel/3rdparty/etc/roundcube /usr/local/cpanel/base/3rdparty/roundcube/index.php
    

    So any plans to address this?
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    To address the issue it must be diagnosed and investigated. To facilitate this process, we will need to obtain more detailed information. Have you submitted a support request or bug report? If yes, please post your ticket ID number as this will help immensely to expedite discovery.

    Please provide the full cPanel version (11.28.x?) and Roundcube version used when the issue is experienced. The following command will obtain the versions and system environment type:
    Code:
    # grep -H '' /usr/local/cpanel/version /var/cpanel/roundcube/version /var/cpanel/envtype
    Please let us know if Roundcube is using MySQL or SQLite for database storage. The following command will verify which database storage engine Roundcube is using:
    Code:
    # grep roundcube_db /var/cpanel/cpanel.config
    I see that the cPanel PHP installation was recompiled, evident by PHP running from "/var/cpanel/3rdparty/bin/" instead of the stock-default path at "/usr/local/cpanel/3rdparty/bin/" -- was there something specific that necessitated rebuilding the PHP installation for cPanel? If you are not aware of any customizations to this PHP installation, please try recompiling once more using the following script:
    Code:
    # /scripts/makecpphp
     
  3. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    same problem here

    Roundcube eat the processors.


    /usr/local/cpanel/version:11.28.45-RELEASE_50618
    /var/cpanel/roundcube/version:0.4.2.cp2
    /var/cpanel/envtype:standard


    roundcube_db=mysql


    Thank you
    Konrath
     
  4. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    /usr/local/cpanel/version:11.28.45-RELEASE_50618
    /var/cpanel/roundcube/version:0.4.2.cp2
    /var/cpanel/envtype:standard

    roundcube_db=mysql


    As for recompiling cPanel PHP always do that when we switch to MySQL 5.1 on new systems. Compile line:

    Code:
    './configure' '--disable-pdo' '--enable-ftp' '--enable-libxml' '--enable-mbstring' '--enable-sockets' '--enable-sta tic' '--enable-zip' '--prefix=/var/cpanel/3rdparty/' '--with-config-file-path=/usr/local/cpanel/3rdparty/etc/' '--with-curl=/opt/curlssl/' '--with-gd' '--with-gettext'  '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/op t/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pgsql=/usr& #039; '--with-pic' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' 
    
    Code:
    COMMAND   PID            USER   FD   TYPE             DEVICE     SIZE      NODE NAME
    php     25905 cpanelroundcube  cwd    DIR                8,3     4096   2867618 /usr/local/cpanel/base/3rdparty/roundcube
    php     25905 cpanelroundcube  rtd    DIR                8,5     4096         2 /
    php     25905 cpanelroundcube  txt    REG                8,2 20860438   6914198 /var/cpanel/3rdparty/bin/php
    php     25905 cpanelroundcube  mem    REG                8,5    46800    164061 /lib64/libpam.so.0.81.5
    php     25905 cpanelroundcube  mem    REG                8,5    10000    163853 /lib64/libcom_err.so.2.1
    php     25905 cpanelroundcube  mem    REG                8,3   190976   1174205 /usr/lib64/libgssapi_krb5.so.2.2
    php     25905 cpanelroundcube  mem    REG                8,3   613896   1173647 /usr/lib64/libkrb5.so.3.3
    php     25905 cpanelroundcube  mem    REG                8,5   315032    163869 /lib64/libssl.so.0.9.8e
    php     25905 cpanelroundcube  mem    REG                8,3   142824   1174206 /usr/lib64/libpq.so.4.1
    php     25905 cpanelroundcube  mem    REG                8,3   241392   1174208 /usr/lib64/libldap-2.3.so.0.2.31
    php     25905 cpanelroundcube  mem    REG                8,5   139416    163846 /lib64/ld-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5  1718120    163852 /lib64/libc-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5    23360    163868 /lib64/libdl-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5   145824    164221 /lib64/libpthread-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5   615136    163871 /lib64/libm-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,3    85608   1174595 /usr/lib64/libz.so.1.2.3
    php     25905 cpanelroundcube  mem    REG                8,5    53448    165343 /lib64/librt-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5    95464    165357 /lib64/libselinux.so.1
    php     25905 cpanelroundcube  mem    REG                8,5   247496    165356 /lib64/libsepol.so.1
    php     25905 cpanelroundcube  mem    REG                8,5   114352    165349 /lib64/libnsl-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5    48600    165363 /lib64/libcrypt-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,5    92736    165359 /lib64/libresolv-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,3   105464   1174721 /usr/lib64/libsasl2.so.2.0.22
    php     25905 cpanelroundcube  mem    REG                8,3    22032   1173802 /usr/lib64/libXdmcp.so.6.0.0
    php     25905 cpanelroundcube  mem    REG                8,3    12040   1173758 /usr/lib64/libXau.so.6.0.0
    php     25905 cpanelroundcube  mem    REG                8,5     9472    165358 /lib64/libkeyutils-1.2.so
    php     25905 cpanelroundcube  mem    REG                8,3  1099816   1173803 /usr/lib64/libX11.so.6.2.0
    php     25905 cpanelroundcube  mem    REG                8,5  1366272    165361 /lib64/libcrypto.so.0.9.8e
    php     25905 cpanelroundcube  mem    REG                8,5    58400    164200 /lib64/libgcc_s-4.1.2-20080825.so.1
    php     25905 cpanelroundcube  mem    REG                8,3   153624   1174683 /usr/lib64/libk5crypto.so.3.1
    php     25905 cpanelroundcube  mem    REG                8,3    71608   1174464 /usr/lib64/libXpm.so.4.11.0
    php     25905 cpanelroundcube  mem    REG                8,3    35728   1173038 /usr/lib64/libkrb5support.so.0.1
    php     25905 cpanelroundcube  mem    REG                8,5    98920    165364 /lib64/libaudit.so.0.0.0
    php     25905 cpanelroundcube  mem    REG                8,3    59040   1174690 /usr/lib64/liblber-2.3.so.0.2.31
    php     25905 cpanelroundcube  mem    REG                8,3   204600   1174447 /usr/lib64/libidn.so.11.5.19
    php     25905 cpanelroundcube  mem    REG                8,3    29952   1174624 /usr/lib64/libltdl.so.3.1.4
    php     25905 cpanelroundcube  mem    REG                8,3  5410473   1174001 /usr/lib64/libmysqlclient.so.16.0.0
    php     25905 cpanelroundcube  mem    REG                8,3   976312   1174033 /usr/lib64/libstdc++.so.6.0.8
    php     25905 cpanelroundcube  mem    REG                8,3   138936   1173594 /usr/lib64/libjpeg.so.62.0.0
    php     25905 cpanelroundcube  mem    REG                8,3   149344   1174431 /usr/lib64/libpng12.so.0.10.0
    php     25905 cpanelroundcube  mem    REG                8,5   491348    197211 /opt/libmcrypt/lib/libmcrypt.so.4.4.8
    php     25905 cpanelroundcube  mem    REG                8,5   210897    196612 /opt/pcre/lib/libpcre.so.0.0.1
    php     25905 cpanelroundcube  mem    REG                8,5   383483    197120 /opt/curlssl/lib/libcurl.so.4.2.0
    php     25905 cpanelroundcube  mem    REG                8,5  4150222    196877 /opt/xml2/lib/libxml2.so.2.7.6
    php     25905 cpanelroundcube  mem    REG                8,3   895032   1824257 /usr/local/IonCube/ioncube_loader_lin_5.2.so
    php     25905 cpanelroundcube  mem    REG                8,5    53880    164199 /lib64/libnss_files-2.5.so
    php     25905 cpanelroundcube  mem    REG                8,3 56470944   4462915 /usr/lib/locale/locale-archive
    php     25905 cpanelroundcube  mem    REG                8,3    25464   1172984 /usr/lib64/gconv/gconv-modules.cache
    php     25905 cpanelroundcube  mem    REG                8,3    10184   1172752 /usr/lib64/gconv/CP1252.so
    php     25905 cpanelroundcube    0r  FIFO                0,6          508072452 pipe
    php     25905 cpanelroundcube    1w  FIFO                0,6          508072453 pipe
    php     25905 cpanelroundcube    2w   REG                8,3 38379959   1564797 /usr/local/cpanel/logs/error_log
    php     25905 cpanelroundcube    3u  unix 0xffff8101d9ef8180          508072459 socket
    php     25905 cpanelroundcube    4r   DIR                8,3     4096   2867629 /usr/local/cpanel/base/3rdparty/roundcube/plugins
    php     25905 cpanelroundcube    5u  IPv4          508072462                TCP localhost.localdomain:42768->localhost.localdomain:imap (CLOSE_WAIT)
    
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please do open a ticket as soon as you see this happen.

    If you could save an strace of the process that would be immensely helpful.
    Code:
    strace -o /root/roundcube_hang.[PID] -s 4096 -f -p [PID]
    
    (replace [PID] with the pid of the stalled process)
     
  6. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    my server is working fine now. The roundcube was disable.

    Iam wait the roundcube fix.

    Thank you
    Konrath
     
    #6 konrath, Dec 2, 2010
    Last edited: Dec 2, 2010
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Thank you for the ticket submissions. We have found the problem and will be patching it in the next set of builds.
     
  8. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    This patch did not make it into tonight's RELEASE because it wasn't discovered into after our QA cutoff today. It should go into the next one however.
     
  9. txspaderz

    txspaderz Active Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    This doesn't look to have made it into release yet, can you let us know when this is going?
     
  10. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Yes; we will update this thread as soon as availability is confirmed in a new maintenance release for cPanel 11.28. At the present time the case has undergone further Quality Assurance testing after being fixed in the latest nightly development builds, of version 11.29, and is now queued to be back-merged into cPanel 11.28 for an upcoming maintenance release.
     
  11. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This case has been addressed in version 11.28.56. Is this version available for your update tier yet? Find out at Downloads - cPanel Inc.
     
  12. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    This still appears to happen.


    /usr/local/cpanel/version:11.28.64-RELEASE_51024
    /var/cpanel/roundcube/version:0.4.2.cp3
    /var/cpanel/envtype:standard

    roundcube_db=mysql


    /var/cpanel/3rdparty/bin/php -c /usr/local/cpanel/3rdparty/etc/roundcube /usr/local/cpanel/base/3rdparty/roundcube/index.php


    strace provides nothing and then just this when someone kills it:
    11241 --- SIGTERM (Terminated) @ 0 (0) ---



    Same thing as always imap close wait php proc hanging there doing nothing until killed.
     
  13. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    this problem is fixed ?

    Thank you
    Konrath
     
  14. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If anyone is still experiencing difficulty with long-running Roundcube processes that appear to hang please submit a support ticket so that we can determine the full scope of circumstances that may be involved on the affected system. By investigating and reproducing the issue from an affected system we can more accurately diagnose the specific cause that may be involved and work towards a resolution and or escalate as needed. When available, please post your ticket ID number so that we may follow-up internally. Thank you.
     
  15. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Opened a ticket: 1149229
     
  16. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Thank you for the ticket submission; this is greatly appreciated. :)

    If anyone else is running the latest cPanel version but still experiences similar difficulty it will help immensely to submit a support request, mentioning this forums thread, so that we can gather more information about any other potential causes and varying circumstances that may be involved. With the information discovered we will have a better chance at reproducing the issue and determining an appropriate resolution. Upon submitting a ticket, please post your support ticket ID number in this thread so that we may follow-up internally.
     
Loading...

Share This Page