Unrecognized option: processManagement.fork

I’m trying to run the config files to create the replicateset .

running the command mongod -f r0.cfg

I’ve the mongo installed in my windows10 machine.

After checking some discussions i did add the below lines to mongo.cfg

processManagement:
fork: true

But still the same .Please help me in this.

Thanks.

Actually, Windows doesn’t support fork.

Hi @ramya_80655,

Right, the --fork option is not available for MongoDB windows user ad it is actually a Linux command. One workaround around this is to start mongod on one terminal window and then do all other operations like running mongo shell or starting different mongod processes on other terminal windows.

You can also refer to the links below for alternatives:

Let me know, if these links are helpful to you.
Please get back if you have any questions.

Thanks,
Sonali