Results 1 to 15 of 15

Thread: cpanellogd spawning 100's of times?

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    75

    Question cpanellogd spawning 100's of times?

    With the latest release, has anyone noticed cpanellogd run 100's of processes at once? They're sleeping processes, not zombies.
    Marc Wyss - marc@mchost.com
    MCHost Inc. - Experts in Private Label Reseller Plans
    http://www.mchost.com

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    75

    Default

    That's how the processes look:

    root 24079 0.1 1.1 7188 5408 pts/0 SN 14:47 0:00 cpanellogd - upda
    root 24125 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24126 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24127 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24128 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24129 0.2 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24169 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24170 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24171 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24172 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24173 0.2 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24242 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24243 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24244 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24245 0.0 1.1 7188 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    root 24254 0.3 1.1 7184 5408 pts/0 SN 14:48 0:00 cpanellogd - upda
    Marc Wyss - marc@mchost.com
    MCHost Inc. - Experts in Private Label Reseller Plans
    http://www.mchost.com

  3. #3
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,770

    Default

    Originally posted by Kiwi
    That's how the processes look:
    ps uxawwwww | grep cpanellogd

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    75

    Default


    root@server [~]# ps uxawwwww | grep cpanellogd
    root 16801 14.0 0.8 5416 4120 pts/0 SN 15:14 0:02 cpanellogd - updating logs
    root 16994 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 16995 1.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 16999 1.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17001 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17002 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17004 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17005 0.0 0.8 5416 4124 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17006 5.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17023 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17025 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17026 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17027 1.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17028 4.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17036 1.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17039 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17040 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17041 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17042 5.0 0.8 5452 4160 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17051 0.0 0.8 5452 4160 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17052 0.0 0.8 5452 4160 pts/0 RN 15:14 0:00 cpanellogd - updating logs


    Its happening on all machines running CPanel 6.2.0 or later. Once there are 100's of processes, they almost can't be killed and the machine has to be restarted.
    Marc Wyss - marc@mchost.com
    MCHost Inc. - Experts in Private Label Reseller Plans
    http://www.mchost.com

  5. #5
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,770

    Default

    Originally posted by Kiwi

    root@server [~]# ps uxawwwww | grep cpanellogd
    root 16801 14.0 0.8 5416 4120 pts/0 SN 15:14 0:02 cpanellogd - updating logs
    root 16994 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 16995 1.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 16999 1.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17001 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17002 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17004 0.0 0.8 5416 4120 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17005 0.0 0.8 5416 4124 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17006 5.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17023 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17025 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17026 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17027 1.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17028 4.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17036 1.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17039 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17040 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17041 0.0 0.8 5436 4144 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17042 5.0 0.8 5452 4160 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17051 0.0 0.8 5452 4160 pts/0 SN 15:14 0:00 cpanellogd - updating logs
    root 17052 0.0 0.8 5452 4160 pts/0 RN 15:14 0:00 cpanellogd - updating logs


    Its happening on all machines running CPanel 6.2.0 or later. Once there are 100's of processes, they almost can't be killed and the machine has to be restarted.
    what ticket number did you have on this ?

    EDGE 29 will display more information about that cpanellogd is doing. hopefully this will help track this down.

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    75

    Default

    bug report #10466. its happening on 40+ machines, redhat 7.2/7.3, on single and dual systems.
    Marc Wyss - marc@mchost.com
    MCHost Inc. - Experts in Private Label Reseller Plans
    http://www.mchost.com

  7. #7
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,770

    Default

    Is anybody else having this problem ?

  8. #8
    Member
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    103

    Default

    Hey Kiwi,

    Which version of CPANEL you using?
    -- I live to support clients ---

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    75

    Default

    Tried all versions starting above Cpanel-6.2.0-RELEASE_12 and its happening on all of them, across Redhat 7.2 and 7.3, including different kernels and machines with and without custom software installed.
    Marc Wyss - marc@mchost.com
    MCHost Inc. - Experts in Private Label Reseller Plans
    http://www.mchost.com

  10. #10
    Member
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    103

    Default

    Hello,

    When did this start happening?
    -- I live to support clients ---

  11. #11
    Member
    Join Date
    Feb 2003
    Posts
    10

    Default

    same thing happening here its crashing my machine load is so high, i have to pull plug

  12. #12
    Member vishal's Avatar
    Join Date
    Jan 2003
    Location
    India
    Posts
    343

    Angry Same here

    Hello,

    I am on Redhat 7.3 and WHM 6.2.0,Cpanel 6.4.0-S3.

    This all started happeing when i upgraded to WHM 6.2.0. The server load goes High and yesterday ftp and cpop failed and today Apache was down (I know this is only due to CPU load which had gone up to 100% OMG )

    Help this might be the new issue as the mail() function and exim are still fighting on my machine. I did everything means everything but no use.

    Now what's up with this a New Issue and a New NEWS on WHM NEWS with a NEW upgrade and even with a NEW problem.

    When will this NEW ??? Stop.

    Regards,

    rh_linuxion

    It is very simple to be Happy but it is very difficult to be Simple.

  13. #13
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    The following may or may not help and is offered as it has helped for me.

    Last year I had read here about Edge releases being better than the other two types. After having used that type for 6 or so months now, I have noticed that I do not have a lot of problems posted by others. Not to say that using it has solved everything (how Linux and WHM/Cpanel are installed and setup makes a big difference as well), but does seem to be the best of the three types available.

    Whenever I am having problems or after changes/upgrades, there are two things I find helpful:

    1. httpd.conf test

    # /usr/local/apache/bin/httpd -t
    Syntax OK << this is all you want to see

    Amazing how easy it easy to screwup this file and the above command will state exactly where, there is a problem.

    2. checking for defunct processes

    # ps -xla
    look for any process stating: <defunct>

    I noticed for example, "/scripts/upcp" went zombie on me on the last Cpanel update and I had to kill the process -- Zombies are not a good thing for all kinds of reasons. Although a Server reboot or Apache restart should clear out these type things, always good to eyeball it first.

    HTH
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  14. #14
    Member vishal's Avatar
    Join Date
    Jan 2003
    Location
    India
    Posts
    343

    Talking Info Appreciated!!!

    Hello Rob,

    Thank you for such a good info . i'll definately follow what u have given.

    But what should be done with exim + php + mail() function.

    What i did already .

    I am on the latest stable tree
    WHM 6.2.0
    Cpanel 6.4.0-S3
    RedHat 7.3

    I have tried everything for solving this problem but Failed.

    1. The "twek settings didn't work for me"

    2. The suexec "enable" "disable" didn't work.

    3. I have tried everyscript regarding the mail problem. even /scripts/newexim didn't help.

    4. /scripts/fixvaliases -- No help!!!

    Should i try PHPSuexec. Only that remains now!!!

    What do u say ?

    Hope u have found any solutuion for it.

    Regards,
    rh_linuxion

    It is very simple to be Happy but it is very difficult to be Simple.

  15. #15
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    vishal, I would do the three things I mentioned above - and in the same order. If you want to skip switching to Edge Releases, at least do the other two.

    One other thing I should mention as well, in Update Preferences I have set "everything" to Manual Updates Only! This prevents unwanted surprizes as I only update when I have researched problems others are having from updates and I have the time to correct/troubleshoot any problems an update may cause the Server.


    Not sure what your reference to "exim + php + mail() function" is, but never run a Server without 'suexec' always being enabled. I would leave phpsuexec for now and focus on other problems first.

    It's a shame that Nick never provided some details in his other post as I would like to know just what:
    EDGE 29 will display more information about that cpanellogd is doing. hopefully this will help track this down.
    really means and where one can view this 'more information'???
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

Similar Threads

  1. Monitoring process spawning
    By nimrodx in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-09-2010, 09:02 AM
  2. MySQL restarting automagically more than 100 times a day
    By xisto in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 05-26-2009, 05:28 AM
  3. Apache Instantly Spawning
    By abusedreality in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 11-24-2004, 04:54 PM
  4. cpanellogd spawning thousands of processes (fix)
    By cPanelBilly in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 10-20-2004, 11:49 PM
  5. spamd spawning
    By miami_g in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 05-06-2004, 04:40 PM