what is maxcmdlen? $0 len?

2012-01-26 Thread Michael Scheidell
(followups set to ports@) I am trying to track down a persistent bug in swatch. swatch sets y $commandLineString = $0 . ' ' . join(' ', @ARGV); , and if the len of the cmdargs is (x?), then ps gets borked, rc scripts can't find it (so service status won't work), service restart won' t kill

Re: what is maxcmdlen? $0 len?

2012-01-26 Thread rflynn
ps -auxww | grep swatch root 86920 0.0 0.7 7496 6960 ?? Is9:33AM 0:00.01 /usr/local/bin/perl /tmp//.swatch_script.86918 ^^ ./swatch status 329 swatch is not running. Ruling out the obvious, command_interpreter is set?

Re: what is maxcmdlen? $0 len?

2012-01-26 Thread Michael Scheidell
On 1/26/12 12:36 PM, rfl...@acsalaska.net wrote: Also, it looks like swatch is creating a temporary script that is actually run, so the status command is not supposed to find it. It's a design issue upstream that you want them to find a better solution for. I am thinking: either do what

Re: what is maxcmdlen? $0 len?

2012-01-26 Thread Michael Scheidell
On 1/26/12 12:41 PM, Michael Scheidell wrote: On 1/26/12 12:36 PM, rfl...@acsalaska.net wrote: Also, it looks like swatch is creating a temporary script that is actually run, so the status command is not supposed to find it. It's a design issue upstream that you want them to find a better