Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2004
    Posts
    347

    Default /usr/local/apache/bin/httpd -t

    Hello,

    I noticed today strange procesess most intensive in my system:

    root 2.19 7.39 2.0
    Top Process %CPU 46.0 /usr/local/apache/bin/httpd -t
    Top Process %CPU 30.0 /usr/local/apache/bin/httpd -t
    Top Process %CPU 21.0 /usr/local/apache/bin/httpd -t

    Can somebody explain me what is this?

    Thanks a lot!
    Tom

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It could be a php exploit. You really need to identify the PID of one of those processes, then run:

    lsof | grep PID

    It will likely spew out a load of normal apache files, but if it's an exploit, one of them won't be right. Likely, it will have a file open in /tmp or /var/tmp of /dev/shm
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2004
    Posts
    347

    Default

    Do you have any idea how to identyfi the pid of this process? There is nothing strange when I do ps -aux, but today I had a kernel panic about some zombie who eat all memory (as a tech form DC said).

    Thanks

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Oh, I see, you're looking at the stats within cPanel. I guess that could be innocent. You really need to monitor the server from shell using top

    You can usually tell if you've got problem services by running the following and seeing if any unexpected ports are open:

    netstat -lpn
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Did u ever run a httpd -t for syntax check?

    Anup

  6. #6
    Member
    Join Date
    Oct 2004
    Location
    New Jersey, USA
    Posts
    160

    Default

    Try ps -u nobody

    and ps -axfu

    And post your results. That could be apache, as Cpanel's process list is slow, and a joke really, or it could be a hanging around process running from a spawned apache process.
    -Kris
    HostMerit
    'Web Hosting on Your Terms'

  7. #7
    Member
    Join Date
    Feb 2005
    Posts
    22

    Default

    I do something like this every time I get on one of my servers (there always seem to be some rogue nobody processes with psybnc's running in them)

    Code:
    ps auxw | grep nobody
    I find the pid of the most-suspicious looking httpd process (sometimes they even have extra characters or arguments padded at the end of them), and do this:

    Code:
    ls -la /proc/pid
    So, if the process id was something like 1533, then I would type
    Code:
    ls -la /proc/1533
    You should be able to tell just by looking at that whether it's legitimate. You might also be able to get further information from
    Code:
    cat /proc/pid/environ
    Good luck!

Similar Threads & Tags
Similar threads

  1. too many /usr/local/apache/bin/httpd-DSSL ?
    By jimjoe in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-13-2003, 10:57 PM
  2. /usr/local/apache/bin/httpd-DSSL
    By NorthwindHost in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-02-2003, 04:06 AM
  3. /usr/local/apache/bin/httpd -DSSL
    By mitul in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-31-2003, 06:11 AM
  4. /usr/local/apache/bin/httpd-DSSL
    By cheapo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-19-2003, 01:55 PM
  5. /usr/local/apache/bin/httpd-DSSL help
    By shann in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-05-2003, 03:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube