Comments (3)
I commented on this by email, but it doesn't appear to have made it. Apologies if it does eventually make it and this comment appears twice.
I've used recluster with passport just fine in the past. What debugging have you done? Have you pinpointed the problem to a recluster problem? It seems unlikely to be recluster since that's just a wrapper around Node's cluster module. Are you using in-memory sessions? If so, each HTTP request has a chance of being handled by a different cluster worker, so unless it happens to be handled by the worker that created the session, then you'll have problems.
from recluster.
Thanks for quick response. Yes I am using in memory session, and that's probably the cause of it. I'll figure it out.
from recluster.
You're welcome. It's worth remembering that each (re-)cluster worker is a separate process and they don't share memory with each other. You either need a single worker (if you're just using recluster for it's restart features) or else an out-of-process session store such as Redis.
On 5 Sep 2014, at 17:46, Ashish Thakwani [email protected] wrote:
Thanks for quick response. Yes I am using in memory session, and that's probably the cause of it. I'll figure it out.
—
Reply to this email directly or view it on GitHub.
from recluster.
Related Issues (20)
- Multiple calls support HOT 6
- Backoff configuration may not guarantee the max time between respawns when workers die? HOT 4
- Maybe emit() function can become more clear? HOT 2
- recluster.terminate() accepts a callback as argument HOT 2
- Question: what's the correct way to gracefully shutdown a cluster and its children? HOT 3
- respawn and backoff with multiple workers HOT 2
- Daemon option HOT 2
- Respawn issue with two instances HOT 2
- Windows Support ?
- Catch Error on Cluster.reload()
- Question: How to know when all workers are ready/active? HOT 1
- Documentation for return type of activeWorkers() function is invalid
- Processes stack up on concurrent restarts HOT 5
- timeout does not work as documented HOT 5
- Add support for cwd?
- Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed on node 9.2.1 HOT 1
- recluster and nodemon on Mac OS X
- Push latest to NPM HOT 1
- Is this mondule still maintained? HOT 3
- Why execArgv is by default not process.execArgv ?
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 recluster.