Question

Je veux tester quelque chose lorsque Apache se bloque. La chose que je veux tester implique que Windows me demande s'il veut envoyer un rapport d'erreur. Un moyen de faire planter Apache et de me demander d'envoyer un rapport d'erreur à ce sujet?

Était-ce utile?

La solution

Take a look at Advanced Process Termination, especially its crash options, those might do what you want (display the send error report message box), although I haven't tested it. It's worth a shot though.

Autres conseils

Just kill the apache instance running.

In windows: go to taskmanager>kill the process

In linux: pkill processname

I agree with the earlier idea that you should crash it using windows.

The basic of the apache is that for each connection request, it "fork" a new process. Since Windows don't have a built in "fork" functionality, it has to create a new process each request. As such, it can be glitchy especially if there are multiple processes running.

For me, everytime I "restart" apache on Windows while maintaining a connection, I get an "Illegal Operation" from Apache's process. Not sure that can be reproduced 100% of the time, but it does occur to me from time to time when I restart.

Alex provides a possible answer here:

Microsoft Application Verifier [...] can do fault injection (Low Resource Simulation) that makes various API calls fail, at configurable rates. [...]

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top