top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Is there any way to debug httpd process with Windbg

+1 vote
456 views

We have Apache installed on Windows x64 OS , when I can see two processes in the Task Manager. I want to debug the child process because it is actually handles all the requests .

But Windbg cannot connected to the apache child process when I am trying to attach to the process.

Does anybody succeed to debug it with WinDbg ? Or what is the suggested way to debug apache ?

posted Aug 3, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

But Windbg cannot connected to the apache child process when I am trying to attach to the process.
Lack of permission, such as httpd running as administrator/service and windbg not?Â

Does anybody succeed to debug it with WinDbg ? Or what is the suggested way to debug apache ?
If I start httpd in the console, I am able to attach with WinDbg or with Visual Studio. I dont know what happens when trying to debug a service.

answer Aug 5, 2014 by Kumar Mitrasen
Similar Questions
0 votes

We are currently using HTTP connector in tomcat 7.42 and planning to switch to AJP NIO connector. When I was reading through the docs I found "WARNING: The NIO connector for AJP is experimental."

This made me think that NIO connector might not be mature at this point. Can somebody who had experience with NIO connector let me know if it is stable and any pitfalls I should be aware of?

Stable enough to be used on enterprise apps which is expected to get thousands of requests in a hour?

Any information would be helpful.

0 votes

I have the following modules installed on my linux computer:

openldap-2.2.13-12.el4_8.2 
nss_ldap-253-7.el4 

According to the documentation Apache can work with more than one LDAP module:
https://httpd.apache.org/docs/current/mod/mod_authnz_ldap.html [1]

How can I ensure Apache HTTPD server works with OpenLDap installed on my computer? Where I configure it?

+2 votes

Please tell us about the apache settings so that we can set the Proxytimeout to "each URL"?

example
URL1:
timeout = 60

URL2:
timeout = 300

+6 votes

Is there any way to kill the process which went to uninterruptible sleep (D) state due of some reason without rebooting machine??

I observed one of the process went to D-state during performance runs. Now, not able to kill the process using pkill or kill commands? Finally, we have to reboot the Linux machine.

Can anyone helps me out for this situation?? I don't want to reboot the machine.

We can kill the Zombie (Z) process but not able to kill process which is in D-state.

+2 votes

I start httpd.exe from a PHP script, using this command string on Win7:

 start /b  /d ...httpd.exe -f myhttpd.conf

This appears to work OK. However, when it comes to stopping it I have an error message. I'm trying initially from the console prompt:

 httpd.exe -k stop -f pathtomyhttpd.conf

and the message is:

 (OS 5)Access is denied. : failed to open the Apache2.2 Service

What is the right way to do this?

...