I am trying to set up a RApache server on my Ubuntu 8.04. I have installed apache2, R-2.7.0, and the RApache plugin. Both Apache and R seem to work fine, but whenever i try to use the plugin i get this error: C stack usage is too close to the limit. I have tried to recompile apache2, R, and RApache, but i keep getting the error. The weird thing is, i had exactly the same problem when i installed RApache on my Debian box, but somehow that suddenly dissapeared and now it is working fine. However, i cant resolve the error on my Ubuntu machine. I have mailed the author of RApache, and he told me he thought that he actually had "turned off" c stack checking in RApache. He couldnt find the cause of any problems in my logs. I realise probably not a lot of people are using RApache, but the error seems more familiar in R when you google it. Unfortunatly i have no idea what it means. Any suggestions in which direction i should look for a solution? http://www.nabble.com/file/p17498015/2hdw8eo.png -- View this message in context: http://www.nabble.com/error%3A-C-stack-usage-is-too-close-to-the-limit.-tp17498015p17498015.html Sent from the R devel mailing list archive at Nabble.com.
Prof Brian Ripley
2008-May-28 06:53 UTC
[Rd] error: C stack usage is too close to the limit.
Please look it up in 'Writing R Extensions'. Especially in the discussion around 'There is a potential issue with the stack-checking mechanism where threads are involved.' This is an issue for the author of RApache, who it seems has not turned off C stack checking in the version you are using, and in any case the advice is to set appropriate limits, not turn it off. On Tue, 27 May 2008, jeroenooms wrote:> > I am trying to set up a RApache server on my Ubuntu 8.04. I have installed > apache2, R-2.7.0, and the RApache plugin. Both Apache and R seem to work > fine, but whenever i try to use the plugin i get this error: C stack usage > is too close to the limit. > > I have tried to recompile apache2, R, and RApache, but i keep getting the > error. The weird thing is, i had exactly the same problem when i installed > RApache on my Debian box, but somehow that suddenly dissapeared and now it > is working fine. However, i cant resolve the error on my Ubuntu machine. I > have mailed the author of RApache, and he told me he thought that he > actually had "turned off" c stack checking in RApache. He couldnt find the > cause of any problems in my logs. > > I realise probably not a lot of people are using RApache, but the error > seems more familiar in R when you google it. Unfortunatly i have no idea > what it means. Any suggestions in which direction i should look for a > solution? > > > http://www.nabble.com/file/p17498015/2hdw8eo.png > -- > View this message in context: http://www.nabble.com/error%3A-C-stack-usage-is-too-close-to-the-limit.-tp17498015p17498015.html > Sent from the R devel mailing list archive at Nabble.com. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595