Hans Ulrich Niedermann | 1 Apr 2009 01:51
Picon

[PATCH] Fix HAVE_SENFDILE typo in win32 build

---
 win32/mkinstaller.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/win32/mkinstaller.sh b/win32/mkinstaller.sh
index a4ede60..862682d 100755
--- a/win32/mkinstaller.sh
+++ b/win32/mkinstaller.sh
 <at>  <at>  -20,7 +20,7  <at>  <at>  test -d "$INSTALL_BUILDER" || {
 	exit 13
 }

-echo "-define(HAVE_SENFDILE, false). " > ../src/yaws_configure.hrl
+echo "-define(HAVE_SENDFILE, false). " > ../src/yaws_configure.hrl
 (cd ../src; make)

 
--

-- 
1.6.2.1

------------------------------------------------------------------------------
Hans Ulrich Niedermann | 1 Apr 2009 01:51
Picon

[PATCH] Remove last occurrence of hyphenated version nums

With CVS or SVN, yaws used release tags like yaws-1-81.
We can just use the version number now with git, though:
yaws-1.81.

Remove the last occurrence of the hyphenated version number.
---
 scripts/make-release |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/scripts/make-release b/scripts/make-release
index 551a925..6d9acbb 100755
--- a/scripts/make-release
+++ b/scripts/make-release
 <at>  <at>  -12,7 +12,6  <at>  <at>  cd "$(dirname "$0")"

 echo packing release ${YAWS_VSN} 

-Y=`echo ${YAWS_VSN} | sed 's/\./-/g'`
 TAG="yaws-${YAWS_VSN}"
 NAME_VERSION="yaws-${YAWS_VSN}"

 <at>  <at>  -33,7 +32,7  <at>  <at>  fi

 
 # Add/update release tag
-git tag -f -a -m "version ${Y}" "$TAG"
+git tag -f -a -m "version ${YAWS_VSN}" "$TAG"

 # Create release .tar.gz of sources
 # (including symlink yaws -> $NAME_VERSION)
(Continue reading)

Steve Vinoski | 1 Apr 2009 02:55
Picon
Gravatar

Re: [PATCH] Fix HAVE_SENFDILE typo in win32 build

On 3/31/09, Hans Ulrich Niedermann <hun@...> wrote:
> ---
>   win32/mkinstaller.sh |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
>  diff --git a/win32/mkinstaller.sh b/win32/mkinstaller.sh
>  index a4ede60..862682d 100755
>  --- a/win32/mkinstaller.sh
>  +++ b/win32/mkinstaller.sh
>   <at>  <at>  -20,7 +20,7  <at>  <at>  test -d "$INSTALL_BUILDER" || {
>         exit 13
>   }
>
>  -echo "-define(HAVE_SENFDILE, false). " > ../src/yaws_configure.hrl
>  +echo "-define(HAVE_SENDFILE, false). " > ../src/yaws_configure.hrl
>   (cd ../src; make)

Applied, thanks.

--steve

------------------------------------------------------------------------------
Claes Wikström | 1 Apr 2009 17:06
Favicon

Re: [PATCH] Remove last occurrence of hyphenated version nums

Hans Ulrich Niedermann wrote:
> With CVS or SVN, yaws used release tags like yaws-1-81.
> We can just use the version number now with git, though:

thanks

/klacke

------------------------------------------------------------------------------
Richard Bucker | 6 Apr 2009 04:51
Gravatar

slightly off topic - Mnesia replication

I have 3 openbsd servers; each running a single yaws instance with a Mnesia DB that is replicated (extra_db).


Today I received an error in the logfile which indicated I had a "partitioned network".  In this case I was able to set the master and the errors went away.

Now it occurs to me that there has to be a better way to rebuild the database.

Asked a different way... how do I remove a node from the replication without dropping replicated tables etc?

Thanks,
/r
------------------------------------------------------------------------------
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Richard Bucker | 7 Apr 2009 20:10
Gravatar

error with RSS

Some weeks ago I mentioned that there was a problem starting my YAWS instance with RSS enabled. I thought I would add this snip from my report.log:


=ERROR REPORT==== 7-Apr-2009::14:08:30 ===
Yaws: bad conf: No rss_id specified at line 159 terminating

I would also mention that the doc/README.rss has not been updated.

/r
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Richard Bucker | 7 Apr 2009 20:41
Gravatar

Re: error with RSS

It appears that rss_dir is also mandatory... but not documented. When both fields are included in the RSS section in the SERVER section; yaws dies during the startup.


/r

On Tue, Apr 7, 2009 at 2:10 PM, Richard Bucker <richard-OqfHlFYda3asTnJN9+BGXg@public.gmane.org> wrote:
Some weeks ago I mentioned that there was a problem starting my YAWS instance with RSS enabled. I thought I would add this snip from my report.log:

=ERROR REPORT==== 7-Apr-2009::14:08:30 ===
Yaws: bad conf: No rss_id specified at line 159 terminating

I would also mention that the doc/README.rss has not been updated.

/r

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Richard Bucker | 7 Apr 2009 20:46
Gravatar

Re: error with RSS

I launched YAWS without the daemon command option.  looks like a bug to me.


FATAL {'EXIT',{noproc,{gen_server,call,
                                  [yaws_rss,
                                   {open,mgrss,[{db_dir,"/rss"}]},
                                   infinity]}}}

=CRASH REPORT==== 7-Apr-2009::14:43:38 ===
  crasher:
    initial call: yaws_server:init/1
    pid: <0.53.0>
    registered_name: []
    exception exit: {badconf,[{yaws_server,init,1},
                              {gen_server,init_it,6},
                              {proc_lib,init_p_do_apply,3}]}
      in function  gen_server:init_it/6
    ancestors: [yaws_sup,<0.50.0>]
    messages: []
    links: [<0.51.0>]
    dictionary: [{rss,[{db_dir,"/rss"}]},
                  {start_time,{{2009,4,7},{14,43,38}}},
                  {logdir,"/opt/synaptiv/metagate/usr/bin/../../../var/log"},
                  {rss_id,mgrss},
                  {mnesiadir,"/opt/synaptiv/metagate/usr/bin/../../../var/db/Mnesia.metagate"}]
    trap_exit: true
    status: running
    heap_size: 6765
    stack_size: 24
    reductions: 40548
  neighbours:

=

On Tue, Apr 7, 2009 at 2:41 PM, Richard Bucker <richard-OqfHlFYda3asTnJN9+BGXg@public.gmane.org> wrote:
It appears that rss_dir is also mandatory... but not documented. When both fields are included in the RSS section in the SERVER section; yaws dies during the startup.

/r


On Tue, Apr 7, 2009 at 2:10 PM, Richard Bucker <richard-OqfHlFYda3asTnJN9+BGXg@public.gmane.org> wrote:
Some weeks ago I mentioned that there was a problem starting my YAWS instance with RSS enabled. I thought I would add this snip from my report.log:

=ERROR REPORT==== 7-Apr-2009::14:08:30 ===
Yaws: bad conf: No rss_id specified at line 159 terminating

I would also mention that the doc/README.rss has not been updated.

/r


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Andrey | 10 Apr 2009 19:01
Picon

new yaws heart

Last release of Yaws crashes at high load in heartbeat mode with error
"Yaws process died: {{badmatch,{error,system_limit}}, 
[{yaws_server,ut_open,1},.... "
and does not restart.
Is it due to last change related to HEART_COMMAND?
How to allow yaws to keep restarting the runtime over and over again?
(as before)

/Andrew

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
Steve Vinoski | 10 Apr 2009 19:11
Picon
Gravatar

Re: new yaws heart

On 4/10/09, Andrey <buricchio@...> wrote:
> Last release of Yaws crashes at high load in heartbeat mode with error
>  "Yaws process died: {{badmatch,{error,system_limit}},
>  [{yaws_server,ut_open,1},.... "
>  and does not restart.
>  Is it due to last change related to HEART_COMMAND?
>  How to allow yaws to keep restarting the runtime over and over again?
>  (as before)

The yaws script checks to make sure it hasn't restarted itself more
than 5 times within one minute's time -- if it has, it assumes there's
a very serious problem and it exits completely.

There's currently no way to change the restart count (5) or restart
period (60 sec) with command-line options, but I could certainly add
that fairly easily if you need it. Just let me know. If you really
want yaws to attempt heart restart forever, I could add an option for
that too.

--steve

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com

Gmane