Results 1 to 2 of 2

Thread: regarding apache

  1. #1

    regarding apache

    I have apache configuration file in which i had the following lines unhashed.
    Listen 80
    Listen 8080
    When i hashed the second line that is 0f 8080 and then restart my apache my load on server starts increasing.when i view this using top command i see httpd daemon responsible for it.Then i run tcpdump on port 8080 but i am not getting any packets output thru port 8080.It means i have rightly closed my port 8080.But then why is the load increasing.I even used strace and lsof on pid's that i received thru top command related to httpd.lsof reported me the files related to apache and my strace output was following.
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
    accept(3, 0x95a235c, [28]) = -1 EAGAIN (Resource temporarily unavailable)

    When i open my port 8080 for httpd i get my load normal on server.
    Kindly help regarding the same.

    Regards
    Love Wadhwa

  2. #2
    Are you sure you don't have another application running on port 8080 like tomcat? This could be the cause of the "Resource temporarily unavailable" message.

    What does it say in /var/log/messages and /var/log/httpd/error_log?

Similar Threads

  1. is apache in fedora core3??!!
    By khafanus in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 02-24-2005, 02:49 PM
  2. Problem recving HTTP requests when Apache listens on port 80
    By hecter in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-30-2004, 05:27 AM
  3. Problem starting Apache 2.0
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-14-2003, 02:15 AM
  4. Apache bug found - CERT advisory
    By ph34r in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 07-09-2002, 02:09 PM
  5. apache update
    By elovkoff in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 02-28-2002, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •