Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  yapp issue

Guest
Posted: Fri Feb 02, 2007 6:28 am Reply with quote
Guest
Well, to follow up, it's not quite dead, but does act strangely.

If I start up yaws without the "-i" flag, my CPU will peg to 100%, but
of course not spewing visible errors to my screen. The errors are
still in the log, but the spinning stops once I submit a request.

The request is answered OK as well, and I can get the yapp console.

Tim

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Mon Feb 05, 2007 9:35 pm Reply with quote
Guest
> Well, to follow up, it's not quite dead, but does act strangely.
>
> If I start up yaws without the "-i" flag, my CPU will peg to 100%, but
> of course not spewing visible errors to my screen. The errors are
> still in the log, but the spinning stops once I submit a request.
>
> The request is answered OK as well, and I can get the yapp console.
>
> Tim

If you get {error,einval} errors in the log it is probably due to the same
problem as described in another posting:

http://sourceforge.net/mailarchive/forum.php?thread_id=31173398&forum_id=12456

You will have the same problem if you change the yaws.conf file and try
to hup Yaws, then it will go into spin. (WARNING R11B users).

This was recognised by the OTP/Erlang folks as bug in R11B in the
gen_tcp module (or the driver it uses), and a fix was expected for
R11B-3. I haven't been able to verify this yet though.
Boring bug as it actually makes yapp unusable on R11B, and I need R11B
for ErlyWeb. Next phase was to try and add stuff so that one could make
yapps out of ErlyWeb applications.

Mikael


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Mon Feb 05, 2007 11:11 pm Reply with quote
Guest
Mikael Karlsson <mikael@creado.com> writes:

> If you get {error,einval} errors in the log it is probably due to the same
> problem as described in another posting:
>
> http://sourceforge.net/mailarchive/forum.php?thread_id=31173398&forum_id=12456
>
> You will have the same problem if you change the yaws.conf file and try
> to hup Yaws, then it will go into spin. (WARNING R11B users).
>
> This was recognised by the OTP/Erlang folks as bug in R11B in the
> gen_tcp module (or the driver it uses), and a fix was expected for
> R11B-3. I haven't been able to verify this yet though.
> Boring bug as it actually makes yapp unusable on R11B, and I need R11B
> for ErlyWeb. Next phase was to try and add stuff so that one could make
> yapps out of ErlyWeb applications.


Hi Mikael, thanks for the response. I do in fact have 11B installed,
as that's what comes with Debian unstable. I've been bitten by the
Yaws hup glitch as well, so tended to just not do that.

What part(s) of ErlyWeb needed R11B? I was thinking I would use the
ErlTL templates, but not necessarily the rest. Since I think yapp
would be quite helpful, maybe I'll downgrade for the time being.

Cheers,
Tim

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Feb 07, 2007 6:31 am Reply with quote
Guest
Mikael Karlsson <mikael.karlsson@creado.com> writes:

> Or you could try to compile R11B-3, where the bug seems to be gone,
> at least I have verified it on Sparc Solaris. I had some minor problems
> compiling R11B on kubuntu (which is debian I beleive). The configure
> script did not find some krb5.h file and had to be patched in order to
> get the ssl and crypto applications to be compiled.

Thanks Mikael, I'll likely give that a try. Even the Debian stable
packages were the same as what I have now, so compiling manually is my
fastest option at this point.

Cheers,
Tim

--
"The reasonable man adapts himself to the world; the unreasonable
one persists in trying to adapt the world to himself. Therefore
all progress depends on the unreasonable man." -- G.B. Shaw

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum