send email alerts creates hundreds of processes
 

I have an askbot installation running on a single box in my company. There are a slightly more than 1000 users registered. I setup a cronjob to send out email alerts to get more eyeballs on the questions and encourage people to contribute. However, this job spins up a lot of processes on the machine and everything comes to a halt.

Has anyone seen this problem? Is there a way around this?

* 6 * * * /opt/virtualenv/askbot/bin/python /opt/askbot/deploy/manage.py send_email_alerts 2>&1 >> /opt/askbot/deploy/log/askbot_email.log

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jeffm's avatar
11
jeffm
asked 10 years ago

Comments

see more comments