in reply to Wierd pipe behaviour in plperlu
Generally, after you fork things like database connections cannot be shared. In fact, it is also unsafe to call any library routine like gethostbyname() which maintains a network connection.
If you are sharing the database handle, try having the child establish its own db connection, and see if that fixes it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Wierd pipe behaviour in plperlu
by Anonymous Monk on Jun 04, 2008 at 21:27 UTC | |
by pc88mxer (Vicar) on Jun 04, 2008 at 23:30 UTC | |
by Anonymous Monk on Jun 05, 2008 at 08:24 UTC | |
by Anonymous Monk on Jun 05, 2008 at 10:32 UTC |