Lab 2 python /shared/singelapp.py not giving any out put

vagrant@m312:~$ hostname -f
m312.mongodb.university
vagrant@m312:~$ mongod --config /shared/single.cfg
about to fork child process, waiting until server is ready for connections.
forked process: 13434
child process started successfully, parent exiting
vagrant@m312:~$ python /shared/singleapp.py
vagrant@m312:~$

why python/shared/singeleapp.py not working ?

Hi @Mahrukh_Khan

If there is no output from Python, it might be that Python was not correctly installed when your Vagrant image was provisioned. I’d suggest re-provisioning your Vagrant box to see if this resolves the issue. This thread has some similar issues which I’d suggest you review as they may be helpful.

Kindest regards,
Eoin

Actually, only when I changed number of connection to 20 ( " python /shared/singleapp.py -n 20 ") I started to see error in log file “NETWORK [thread1] connection refused because too many open connections: 10”.
With default parameter of 12 no connections were refused and I saw “NETWORK [thread1] connection accepted from 127.0.0.1:39310 #114 (11 connections now open)”