Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Default cPanel gone crazy and quering apache every second

    One of the cPanel processes (maybe chkservd?) is hitting my apache hard with GET requests, once every second! This started after the level 2 upgrade of cPanel v11 STABLE.

    take a look at this:

    Code:
    127.0.0.1 - - [19/Dec/2007:09:13:23 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:24 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:25 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:26 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:27 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:28 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:29 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:36 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:37 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:38 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:40 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:41 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:42 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:43 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:44 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:45 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:46 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:47 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:48 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:49 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:50 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:51 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:52 +0000] "GET / HTTP/1.0" 200 114
    127.0.0.1 - - [19/Dec/2007:09:13:53 +0000] "GET / HTTP/1.0" 200 114
    Can someone please help trace which process is doing that?

  2. #2
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Default

    nobody has any ideas why this is happening?

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by sehh View Post
    nobody has any ideas why this is happening?
    I'd recommend submitting a support ticket regarding this issue:http://tickets.cpanel.net/submit

    Note, chkservd usually only checks services once every 8 minutes.

  4. #4
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Default

    I've stopped "chkservd" and the log file continues to grow with those "GET / HTTP/1.0" requests.

    Is there another cPanel component which performs such a GET request?

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by sehh View Post
    I've stopped "chkservd" and the log file continues to grow with those "GET / HTTP/1.0" requests.

    Is there another cPanel component which performs such a GET request?
    Not that I am aware of.

  6. #6
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Lightbulb

    I found out what the problem is:

    EA3 adds the following configuration lines:

    Code:
    NameVirtualHost *
    and...

    Code:
    <VirtualHost *>
        ServerName server.domain.com
        DocumentRoot /usr/local/apache/htdocs
        ServerAdmin webmaster@domain.com
    </VirtualHost>
    the problem is the asterisk, which causes the dummy_connection function to open and close a connection every second.

    if the above lines are commented out, then the dummy connection stops.

    PS:
    this is with apache 2.2.
    Last edited by sehh; 12-21-2007 at 05:29 AM.

  7. #7
    Member
    Join Date
    Jul 2005
    Posts
    23

    Default

    I guess also i have the same problem, i just caught it at apache status, last records were like that

    91-1 - 0/0/95 . 0.12 248 0 0.0 0.00 6.10 127.0.0.1 server.xx.com GET / HTTP/1.0
    92-1 - 0/0/114 . 0.14 253 0 0.0 0.00 7.68 127.0.0.1 server.xx.com GET / HTTP/1.0
    93-1 - 0/0/165 . 0.00 1501 0 0.0 0.00 0.57 127.0.0.1 server.xx.com GET / HTTP/1.0
    94-1 - 0/0/116 . 0.12 1456 0 0.0 0.00 3.84 127.0.0.1 server.xx.com GET / HTTP/1.0
    95-1 - 0/0/86 . 0.14 1419 0 0.0 0.00 1.63 127.0.0.1 server.xx.com GET / HTTP/1.0
    96-1 - 0/0/205 . 0.02 1494 0 0.0 0.00 4.08 127.0.0.1 server.xx.com GET / HTTP/1.0
    97-1 - 0/0/171 . 0.53 2331 0 0.0 0.00 2.00 127.0.0.1 server.xx.com GET / HTTP/1.0
    98-1 - 0/0/83 . 0.02 2491 0 0.0 0.00 4.52 127.0.0.1 server.xx.com GET / HTTP/1.0
    99-1 - 0/0/95 . 0.14 2501 0 0.0 0.00 6.90 127.0.0.1 server.xx.com GET / HTTP/1.0
    100-1 - 0/0/223 . 0.15 2437 0 0.0 0.00 2.42 127.0.0.1 server.xx.com GET / HTTP/1.0
    101-1 - 0/0/13 . 0.00 2512 0 0.0 0.00 3.35 127.0.0.1 server.xx.com GET / HTTP/1.0
    102-1 - 0/0/75 . 0.04 2420 0 0.0 0.00 5.78 127.0.0.1 server.xx.com GET / HTTP/1.0
    103-1 - 0/0/174 . 0.00 2449 0 0.0 0.00 4.32 127.0.0.1 server.xx.com GET / HTTP/1.0
    104-1 - 0/0/254 . 0.25 2407 0 0.0 0.00 12.63 127.0.0.1 server.xx.com GET / HTTP/1.0
    105-1 - 0/0/63 . 0.05 2483 0 0.0 0.00 0.59 127.0.0.1 server.xx.com GET / HTTP/1.0
    106-1 - 0/0/372 . 1.36 2118 0 0.0 0.00 2.27 127.0.0.1 server.xx.com GET / HTTP/1.0
    107-1 - 0/0/247 . 0.19 2420 0 0.0 0.00 4.61 127.0.0.1 server.xx.com GET / HTTP/1.0
    108-1 - 0/0/130 . 0.10 2412 0 0.0 0.00 5.23 127.0.0.1 server.xx.com GET / HTTP/1.0
    109-1 - 0/0/19 . 0.00 2494 0 0.0 0.00 0.08 127.0.0.1 server.xx.com GET / HTTP/1.0
    110-1 - 0/0/207 . 1.17 2058 0 0.0 0.00 1.51 127.0.0.1 server.xx.com GET / HTTP/1.0
    111-1 - 0/0/25 . 0.00 2485 0 0.0 0.00 1.34 127.0.0.1 server.xx.com GET / HTTP/1.0
    112-1 - 0/0/194 . 0.08 2431 0 0.0 0.00 9.42 127.0.0.1 server.xx.com GET / HTTP/1.0
    113-1 - 0/0/85 . 0.34 2403 0 0.0 0.00 4.09 127.0.0.1 server.xx.com GET / HTTP/1.0
    114-1 - 0/0/163 . 0.44 2252 0 0.0 0.00 3.79 127.0.0.1 server.xx.com GET / HTTP/1.0
    115-1 - 0/0/114 . 0.00 2517 0 0.0 0.00 4.43 127.0.0.1 server.xx.com GET / HTTP/1.0
    116-1 - 0/0/47 . 0.18 2380 0 0.0 0.00 0.74 127.0.0.1 server.xx.com GET / HTTP/1.0
    117-1 - 0/0/102 . 0.23 2286 0 0.0 0.00 2.38 127.0.0.1 server.xx.com GET / HTTP/1.0
    118-1 - 0/0/128 . 0.00 2487 0 0.0 0.00 4.90 127.0.0.1 server.xx.com GET / HTTP/1.0
    119-1 - 0/0/30 . 0.06 2467 0 0.0 0.00 3.68 127.0.0.1 server.xx.com GET / HTTP/1.0
    120-1 - 0/0/103 . 0.27 2279 0 0.0 0.00 2.41 127.0.0.1 server.xx.com GET / HTTP/1.0
    121-1 - 0/0/156 . 1.13 2265 0 0.0 0.00 8.93 127.0.0.1 server.xx.com GET / HTTP/1.0
    122-1 - 0/0/11 . 0.00 2457 0 0.0 0.00 3.16 127.0.0.1 server.xx.com GET / HTTP/1.0
    123-1 - 0/0/14 . 0.00 2523 0 0.0 0.00 1.19 127.0.0.1 server.xx.com GET / HTTP/1.0
    124-1 - 0/0/9 . 0.00 6497 0 0.0 0.00 0.04 127.0.0.1 server.xx.com GET / HTTP/1.0
    125-1 - 0/0/10 . 0.00 6518 0 0.0 0.00 0.78 127.0.0.1 server.xx.com GET / HTTP/1.0
    126-1 - 0/0/8 . 0.06 6501 0 0.0 0.00 0.07 127.0.0.1 server.xx.com GET / HTTP/1.0
    127-1 - 0/0/14 . 0.06 6480 0 0.0 0.00 0.15 127.0.0.1 server.xx.com GET / HTTP/1.0
    128-1 - 0/0/11 . 0.00 6509 0 0.0 0.00 0.19 127.0.0.1 server.xx.com GET / HTTP/1.0
    129-1 - 0/0/33 . 0.21 6153 0 0.0 0.00 0.47 127.0.0.1 server.xx.com GET / HTTP/1.0
    130-1 - 0/0/2 . 0.00 6529 0 0.0 0.00 0.02 127.0.0.1 server.xx.com GET / HTTP/1.0
    131-1 - 0/0/112 . 0.22 6436 0 0.0 0.00 6.39 127.0.0.1 server.xx.com GET / HTTP/1.0
    132-1 - 0/0/23 . 0.00 6495 0 0.0 0.00 0.02 127.0.0.1 server.xx.com GET / HTTP/1.0
    133-1 - 0/0/20 . 0.00 6512 0 0.0 0.00 0.02 127.0.0.1 server.xx.com GET / HTTP/1.0
    134-1 - 0/0/9 . 0.25 6483 0 0.0 0.00 0.75 127.0.0.1 server.xx.com GET / HTTP/1.0
    135-1 - 0/0/30 . 0.29 6429 0 0.0 0.00 0.37 127.0.0.1 server.xx.com GET / HTTP/1.0
    136-1 - 0/0/15 . 0.00 6491 0 0.0 0.00 4.11 127.0.0.1 server.xx.com GET / HTTP/1.0



    So do i need to comment out all 4 rows you said?

  8. #8
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Default

    Yes, thats correct, you have to comment out all 4 lines.

  9. #9
    Member
    Join Date
    Jul 2005
    Posts
    23

    Default

    now when i start or stop apache it shows this warning

    [Fri Dec 21 13:01:35 2007] [warn] NameVirtualHost *:0 has no VirtualHosts

    is it ok?

  10. #10
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Default

    I'm sorry, i forgot to mention that you also need to comment out the following line:

    Code:
    NameVirtualHost *
    edit: i also edited my solution above to include this line as well.
    Last edited by sehh; 12-21-2007 at 05:30 AM.

Similar Threads & Tags
Similar threads

  1. Cpanel has gone crazy?
    By ibrothers in forum New User Questions
    Replies: 1
    Last Post: 11-18-2008, 03:38 AM
  2. Crazy apache error 1)Operation not permitted: setrlimit(RLIMIT_AS):
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-22-2005, 04:02 AM
  3. httpd/apache going crazy, loads up to 40 and higher.
    By DrGreen in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-14-2005, 10:15 AM
  4. apache crazy, please help!
    By mike_r in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-25-2004, 10:30 PM
  5. cPanel going crazy with CHMODS
    By Kyuss9 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-27-2003, 03:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube