World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Oldes 28-Nov-2008 [3418] | 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. |
Dockimbel 1-Dec-2008 [3459x2] | It's just a test release for users having online servers having some troubles with RSP. This release doesn't fix anything specifically related to that (maybe fix #2 may help?), it's for these users to upgrade their servers to the latest release (some are still running on 0.9.18). |
The "RSP stop responding" issue is a complex issue. It doesn't seem related to a simple bug in RSP, it looks like it's caused by some user script errors that aren't caught correctly by the RSP engine. There's some holes in error logging in RSP, I'll work on that to improve the logging system in RSP asap. I've experienced the "RSP stop responding" issue with 0.9.18, but never with the latest version. Will reported me that this issue occured several times for him recently with 0.9.19, but it seemed related to user script error (?). | |
DideC 1-Dec-2008 [3461] | OK You said "15-november" : Okay, my READ-IO emulation has been removed in the last version. I've replaced it with a safe 'cgi-read-io function. I plan to put it back soon, I think I know how to make it work reliably now. I need a cheyenne.exe with this done. Is there one somewhere or do you need to build it ? |
Dockimbel 1-Dec-2008 [3462] | Did you tried by just replacing the READ-IO occurences in your CGI with CGI-READ-IO to see if that fixes the problem ? |
DideC 1-Dec-2008 [3463] | Ah, didn't understand that it was me that must put CGI-READ-IO in my script ! |
Dockimbel 1-Dec-2008 [3464] | That was one of the options, the other is me writing a good READ-IO emulation for CGI (that won't happen soon...lack of time). |
Ashley 1-Dec-2008 [3465] | Assuming my ISP is running Linux, what do I have to get them to do to be able to run Cheyenne? (if this is all doc'ed, just point me to the URL ... thanks). |
AdrianS 1-Dec-2008 [3466] | don't many ISPs allow you to get a full VM configured as you like? |
Graham 1-Dec-2008 [3467] | Ashley .. most ISPs won't allow you to run a daemon |
older newer | first last |