Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    320

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

    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. #2
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    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. #3
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    [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. #4
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Quote Originally Posted by Bdzzld
    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.
    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. #5
    Member
    Join Date
    Apr 2004
    Posts
    320

    Default

    @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.

Similar Threads & Tags
Similar threads

  1. Exim restarting several times a day
    By nyjimbo in forum E-mail Discussions
    Replies: 59
    Last Post: 09-10-2007, 02:58 PM
  2. PHP processes being stalled a few times a day
    By Bdzzld in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 05-16-2006, 10:36 AM
  3. crashing twice a day at same times - cron? something else?
    By hostricity in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-26-2006, 05:31 PM
  4. Server crash every day 1-3 times
    By cosmin in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-19-2004, 12:30 AM
  5. Apache fails few times a day
    By Bullet in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-21-2001, 08:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube