Usually, database drivers don't like fork(), or rather, you should create the database connection after forking.
If you move creating the database connection into your fork loop (or maybe into run_on_start), maybe things start working?
In reply to Re: Can't get multiple Parallel::ForkManager threads connecting to DBD::Pg database
by Corion
in thread Can't get multiple Parallel::ForkManager threads connecting to DBD::Pg database
by perlygapes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |