Comments (7)
From honglilai on April 16, 2008 08:40:57
This is intended, in order to speed up startup time as well as to reduce memory usage
if there are a multiple Rails applications.
We could provide a config option in the future. But as a temporary workaround, you
can vendor your Rails framework. That'll make Passenger skip the framework spawner.
By the way, I'm curious as to what code conflicts with ActionWebService.
from passenger.
From honglilai on May 07, 2008 14:32:16
The latest development version (git repository) should solve your problem. By setting
"RailsSpawnMethod" to "conservative", your application should work fine.
But we recommend you to read the manual (in which RailsSpawnMethod is documented).
There are significant benefits to using the default "smart" spawning method (i.e. as
opposed to "conservative"), namely as lower startup time and reduced memory usage.
Although you don't have to, you should consider making your application compatible.
Status: Fixed
Labels: Milestone-1.1.0
from passenger.
From mazdakr on May 10, 2008 18:24:10
Perhaps we can have a RailsExcludeComponents a, b, c option.
SOAP4r conflicts.
from passenger.
From honglilai on May 11, 2008 01:01:51
You can use conservative spawning. That option solves your problem completely.
from passenger.
From mazdakr on May 12, 2008 06:39:39
I realize that. However, to take advantage of the "optimized" mode, it would be nice to add that option. I realize
adding one more option means having to maintain that option, but since it's a feature that Rails already offers in
its environment.rb, it would be a nice addition to ModRails. I can help with coming up with a spec if you wish.
from passenger.
From honglilai on May 12, 2008 07:08:40
I don't know, this sounds too much like a corner case. Wouldn't it be easier for you
to adapt your custom code appropriately?
from passenger.
From mazdakr on May 13, 2008 07:26:01
It's no problem. Most people don't need ActiveResource for example and it would save a bunch of memory
not to have to load it.
from passenger.
Related Issues (20)
- Unknown directive: "passenger_enabled" in nginx.conf server block HOT 6
- Security update fails and Ubuntu APT ignores the APT link HOT 2
- IOError: stream closed in another thread HOT 2
- Would be great to have a 6.0.19 release! HOT 2
- DeprecationWarning in wsgi-loader.py: imp module is deprecated in favor of importlib HOT 1
- Issues with cookies when using latest Passenger and Rack 3 (w/ Ruby on Rails 7.1) HOT 20
- mod_passenger dependency issues HOT 1
- Feature Request - Log crashes to stderr instead of files HOT 2
- Fails to recognise Nestjs app start HOT 2
- Uninitialized constant Rackup::Handler::Rack (NameError) [Rack 3] HOT 1
- Error loading libssl.so.1.1 when starting Phusion Passenger Standalone HOT 1
- Bad Signing Key for Debian Bullseye HOT 3
- Restarting doesn't remove deleted environment variables in rbenv-vars HOT 1
- Hooks not being registered HOT 4
- String conversion while handling native Ruby support lib LoadErrors can cause errors HOT 1
- Feature request: Ability to configure path to error renderer template
- Deprecation warning with ActiveRecord 7.1.2
- passenger-install-nginx-module is running after installation as a dynamic module HOT 8
- Security update without published advisory HOT 2
- Memory leak HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passenger.