Hi,

I am trying to stress test my server.

I have a process under the control of monit and runit.

Here is my monit config file for the process

check process pixelServer
   with pidfile "/etc/sv/pixelServer/supervise/pid"
   start program = "/usr/bin/sv up pixelServer"
   stop program = "/usr/bin/sv kill pixelServer"
   if failed host 127.0.0.1/pixel port 80 protocol HTTP then exec "sv
up pixelServer"
   depends on nginx.

Here is the log....

I am checking process every 10 seconds.

[UTC Apr 11 18:29:37] error    : Error: Could not execute sv
[UTC Apr 11 18:29:47] error    : 'pixelServer' failed, cannot open a
connection to INET[127.0.0.1/pixel:80] via TCP
[UTC Apr 11 18:29:47] info     : 'pixelServer' exec: sv
[UTC Apr 11 18:29:47] error    : Error: Could not execute sv
[UTC Apr 11 18:29:57] error    : 'pixelServer' failed, cannot open a
connection to INET[127.0.0.1/pixel:80] via TCP
[UTC Apr 11 18:29:57] info     : 'pixelServer' exec: sv
[UTC Apr 11 18:29:57] error    : Error: Could not execute sv
[UTC Apr 11 18:30:08] error    : 'pixelServer' failed, cannot open a
connection to INET[127.0.0.1/pixel:80] via TCP
[UTC Apr 11 18:30:08] info     : 'pixelServer' exec: sv
[UTC Apr 11 18:30:08] error    : Error: Could not execute sv
[UTC Apr 11 18:30:19] error    : 'pixelServer' failed, cannot open a
connection to INET[127.0.0.1/pixel:80] via TCP
[UTC Apr 11 18:30:19] info     : 'pixelServer' exec: sv
[UTC Apr 11 18:30:19] error    : Error: Could not execute sv

Clearly 127.0.0.1/pixel:80 is not a proper path.  How do I check the
path?  Even furher..can I use query strings?

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to