Re: respawn-like behaviour ?

2013-07-17 Thread Marc Peters
On 07/17/13 04:44, Илья Шипицин wrote: well, vnc repeater (which I'd like to run that way) crashes about once a week. I'm already debugging it (-ggdb + core dump settings). I need some way to respawn it until I'll find out the reason it crashes. You can try monit. It's in ports.

Re: respawn-like behaviour ?

2013-07-17 Thread Stuart Henderson
On 2013-07-17, Илья Шипицин chipits...@gmail.com wrote: well, vnc repeater (which I'd like to run that way) crashes about once a week. I'm already debugging it (-ggdb + core dump settings). try ln -s S /etc/malloc.conf, it might make it easier to trigger. see malloc(3) for more information.

Re: respawn-like behaviour ?

2013-07-17 Thread Alexander Hall
On 07/17/13 03:45, Илья Шипицин wrote: Hello! I used to run crashy daemons under respawn inittab capability on Linux. Is there similar thing on OpenBSD ? No, OpenBSD does not have anything similar to crashy daemons. ;-) But if we had (like in ports or so), I'd just set up a cron job.

Re: respawn-like behaviour ?

2013-07-17 Thread Alexander Hall
On 07/17/13 11:16, Alexander Hall wrote: On 07/17/13 03:45, Илья Шипицин wrote: Hello! I used to run crashy daemons under respawn inittab capability on Linux. Is there similar thing on OpenBSD ? No, OpenBSD does not have anything similar to crashy daemons. ;-) But if we had (like in ports

Re: respawn-like behaviour ?

2013-07-17 Thread Jan Stary
On Jul 17 07:45:58, chipits...@gmail.com wrote: Hello! I used to run crashy daemons under respawn inittab capability on Linux. Is there similar thing on OpenBSD ? Sorry, we don't have crashy daemons here, you need to go back to linux for that.

Re: respawn-like behaviour ?

2013-07-17 Thread Илья Шипицин
hmm, I never had that crashy linux daemon becomes stable when it is started under OpenBSD. can you tell me how to enable that feature ? 2013/7/17 Jan Stary h...@stare.cz: On Jul 17 07:45:58, chipits...@gmail.com wrote: Hello! I used to run crashy daemons under respawn inittab capability on

respawn-like behaviour ?

2013-07-16 Thread Илья Шипицин
Hello! I used to run crashy daemons under respawn inittab capability on Linux. Is there similar thing on OpenBSD ? Cheers, Ilya Shipitsin

Re: respawn-like behaviour ?

2013-07-16 Thread Theo de Raadt
I used to run crashy daemons under respawn inittab capability on Linux. Is there similar thing on OpenBSD ? I try to attack a hole you've got... Oh damn I can't guess the propolice cookie or random addressing... But it crashes and restarts! I try to attack a hole you've got... Oh damn I can't

Re: respawn-like behaviour ?

2013-07-16 Thread Nick Holland
On 07/16/13 21:45, éÌØÑ ûÉÐÉÃÉÎ wrote: Hello! I used to run crashy daemons under respawn inittab capability on Linux. Is there similar thing on OpenBSD ? Cheers, Ilya Shipitsin In addition to Theo's extremely valid point, might not a better question be, I used to run this crashy daemon

Re: respawn-like behaviour ?

2013-07-16 Thread Илья Шипицин
well, vnc repeater (which I'd like to run that way) crashes about once a week. I'm already debugging it (-ggdb + core dump settings). I need some way to respawn it until I'll find out the reason it crashes. 2013/7/17 Theo de Raadt dera...@cvs.openbsd.org: I used to run crashy daemons under

Re: respawn-like behaviour ?

2013-07-16 Thread Martin Brandenburg
I need some way to respawn it until I'll find out the reason it crashes. I don't know about VNC software, but I used to run ssh in foreground mode over a bad network connection in a script as while true; do ssh -Nn -L... host done Of course that doesn't background properly, but that