World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Oldes 24-Nov-2008 [3409] | The Vista can be the problem ;-) |
Dockimbel 24-Nov-2008 [3410] | Interesting pattern, I'll try to reproduce that. Strange that you can write a log file from rconsole, something wrong with filesystem writing permissions ? |
Graham 24-Nov-2008 [3411x4] | can't ? |
sudo rebol and then do %rconsole.r and there was no error when I tried to write the log file. | |
not using Vista .... except for the ssh client. | |
Cheyenne is still running, but RSP is not. Going to kill the chyenne process now as I need this server up and running. | |
Will 26-Nov-2008 [3415] | Graham: can you make sure it is not task-handlers busy due to long processyng rsp? if you run it in the console you can put "rsp-log word-to-check-here" in your rsp-code to monitor if they are still running. |
Graham 26-Nov-2008 [3416] | No long running rsp |
Oldes 28-Nov-2008 [3417x2] | How to turn off the inbuild RSP cache? |
or at least the cache should be cleaned on config reload. | |
Dockimbel 28-Nov-2008 [3419x4] | For debugging purpose, start cheyenne with the -debug command-line option, it forces RSP to reload everything at each request. |
Graham: running the rconsole with root privileges doesn't help. Once you're in the console, your code is executed by the cheyenne process, not by the rconsole process. | |
Is your Cheyenne process running as root ? | |
A possible explanation is : your RSP processes are freezing because of a file access issue. The main process wait for the RSP process to finish and launch a new one for new request. Once the max number of processes is reached, your server is no more able to execute RSP requests. | |
Graham 28-Nov-2008 [3423x4] | I have a log which notes when I call an external app, and when I return. There's no problem there so it's not 'call. |
Yes, sudo Cheyenne | |
As I mentioned, it seems to crash usually when I have IE and FF both accessing the webapp | |
If I just stick to using FF, I never see RSP fail | |
Dockimbel 28-Nov-2008 [3427] | I'm investigating the issue with Will. Not sure that's exactly the same issue as you, but its probably related in both cases to *uncatched* user script errors that freeze or kill the RSP process...which is quite odd, because RSP script execution is protected by 3 levels of TRY...The main process seems to never been notified as TCP control connections with RSP processes are probably left half-opened. |
Graham 28-Nov-2008 [3428] | *uncaught* |
Dockimbel 28-Nov-2008 [3429x3] | thanks for correcting me. |
IIRC, that's the second time you correct me on that same mistake ;-) | |
Btw, what was your CALL doing in your RSP app ? Calling ImageMagic ? | |
Will 28-Nov-2008 [3432] | if anyone has code that reproduce rsp stopping working please send me a copy, |
Graham 28-Nov-2008 [3433x2] | Yes, I call imagemagick |
and faxstat http://compkarori.no-ip.biz:8001/debug.txt | |
Will 28-Nov-2008 [3435] | nothing wrong with it |
Graham 28-Nov-2008 [3436] | Yep ... it returns okay from 'call |
Will 28-Nov-2008 [3437x2] | does it run in a webapp ? |
when rsp stop responding do the rsp (task-handlers) still exists? | |
Graham 28-Nov-2008 [3439x2] | Yes, it's a webapp |
how would i know ....? | |
Will 28-Nov-2008 [3441x2] | if the path of a request goes into a configured webapp in httpd.cfg |
do you query mysql with mysql-protocol.r at the same time ? | |
Graham 28-Nov-2008 [3443x2] | I don't use mysql.... it's all flat files |
The webapp is here if you're interested. http://rebol.wik.is/Hylafax | |
Will 28-Nov-2008 [3445] | stupid question sorry, but on what version of rebol do you run it? |
Graham 29-Nov-2008 [3446] | 2.6.2.4.2 |
Dockimbel 29-Nov-2008 [3447x2] | That's pretty old, you should upgrade to 2.7.6.4.2 |
Strange that you can run latest Cheyenne on that version, v0.9.19 relies on new natives like UNLESS. Did you backported this native at mezz level in 2.6.2 ? | |
Will 29-Nov-2008 [3449] | other problem is, 'call was still buggy on that version, it didnt' always return properly IIRC. |
Graham 29-Nov-2008 [3450] | I'm using the encapped version .... but that is the version of Rebol I have which was the question :) |
Dockimbel 29-Nov-2008 [3451] | Encapped, so it's version 0.9.18 ? |
Graham 29-Nov-2008 [3452] | It's the version from your site. |
Dockimbel 30-Nov-2008 [3453x3] | Here's my latest beta version encapped for Linux libc6 : http://cheyenne-server.org/tmp/cheyenne.tar.gz Try it, but watch out for webapps sandboxing. |
Archive just re-released with several minor fixes. Here's the changelog for all fixes in this new beta 0.9.19 : o RSP: fixed an issue with DB cached queries synchronization. o RSP: after a request, response's buffer is now correctly reset to the default buffer. o Mod-static: fixed badly formed redirection URL when parameters are present (thanks to Will). o Bug fixed in request internal forwarding clean-up code (thanks to Will). o RSP: fixed an issue with localization directories having the same path in different webapps (thanks to Will). | |
Source package is available at : http://cheyenne-server.org/tmp/cheyenne-r0919.zip | |
DideC 1-Dec-2008 [3456] | No encapped version ? |
Graham 1-Dec-2008 [3457] | see two messages above |
DideC 1-Dec-2008 [3458] | I mean, Windows one, not linux. |
older newer | first last |