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.

PHP processes being stalled a few times a day[2]

Discussion in 'General Discussion' started by Bdzzld, May 7, 2006.

  1. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    I've got a dual opteron server with CentOS 4.3 x86_64 and the latest *stable* release of cPanel/WHM installed. PHP/Apache has been compiled with :

    PHP 4.4.2 (cli) (built: May 1 2006 10:24:36)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies

    * GD support
    * IMAP support
    * PHPsuexec support
    * Zend Optimizer

    I always notice "stall" moments in the PHP module at the time one of the clients on the server is running PHP scripts with the following custom php.ini in many directories :

    Code:
    safe_mode               =       On
    safe_mode_exec_dir = /home/xxxxxxxxxx/public_html/
    
    error_reporting =       E_ALL & ~E_NOTICE
    display_errors  =       off
    
    register_globals        =       Off
    
    [Session]
    session.save_handler      = files
    session.save_path = "/home/xxxxxxxxxx/public_html/tmp"
    session.auto_start        = 0
    session.gc_probability    = 1
    session.gc_maxlifetime    = 10000
    session.use_trans_sid     = 1
    
    Can this be the reason for the "stall" of the PHP module?

    Thanks.
     
  2. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Added : Full php.ini of the server

    My assumptions are that the issue has something to do with the user switching to safe mode each time...
     

    Attached Files:

  3. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    [UPDATE]
    Yesterday morning I upgraded cPanel/WHM from the latest *stable* version WHM 10.8.0 cPanel 10.8.1-S114 to the latest *release* version WHM 10.8.0 cPanel 10.8.2-R83 in an desperate(!) attempt to see if that would make some difference.

    After several weeks(!) of problems, several tickets to cPanel support - which did not seem to be able to replicate the error or did not think it was a cPanel problem - this seems to have solved the issue...

    During the whole day I've not experienced any "stall" moment. The account which I suspected to be responsible for the "stall" moments was putting Apache in a wait ("W") status again, but this time this was not affecting the other PHP web sites on the server, only the account itself (which it should have in the 1st place imho)...

    Now everything seems to be working as it should be, I'd like to know which change or bugfix between the *stable* and *release* version may be responsible for solving this issue... I don't want it to return again in the future after an upgrade to another version if you know what I mean... Can someone share this info with me?

    Thanks.
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    You could try looking through the changelog (http://changelog.cpanel.net/) however it's famous for it's sparse details.

    You'd be better off contacting cPanel support directly.
     
  5. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    @webignition :
    I'd already done that, but could not find anything close to it...
    And indeed they're very sparse...

    Maybe Chirpy can shed some light on this (hint hint)?

    Thanks.
     
Loading...

Share This Page