A
arnevt
Hi
I'm writing a small getcounter script, and due to growing pains, I want it
to fork all it's queries (to a max of 5 forks, and then waiting to start a
new one until someone get's free).
I had a small issue with Net::SNMP being defined before it was forked, and
all sessions were using the same src-port (with the well known
consequenses). Now there is 1 socket opened to a mysql-server. I was
wondering: all forks have to update the database with their
particular result. Would it cause problems if 2 or more forks were doing
an update through the same $socket (at the same time)?
thx
Arne
I'm writing a small getcounter script, and due to growing pains, I want it
to fork all it's queries (to a max of 5 forks, and then waiting to start a
new one until someone get's free).
I had a small issue with Net::SNMP being defined before it was forked, and
all sessions were using the same src-port (with the well known
consequenses). Now there is 1 socket opened to a mysql-server. I was
wondering: all forks have to update the database with their
particular result. Would it cause problems if 2 or more forks were doing
an update through the same $socket (at the same time)?
thx
Arne