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
Bookmarks