in reply to Re^5: how to timeout an operation under mod_perl (looking)
in thread how to timeout an operation under mod_perl

But isn't the problem in the C client libraries that are retrying on EINTR? I don't see a lot that DBI could do about it.
  • Comment on Re^6: how to timeout an operation under mod_perl (looking)

Replies are listed 'Best First'.
Re^7: how to timeout an operation under mod_perl (EINTR)
by tye (Sage) on Sep 08, 2008 at 06:37 UTC

    Retrying on EINTR? How annoying! What is the motivation for that? A DBI call seems like the perfect place one would want to interrupt something with a signal (queries can take surprisingly long to run and long-running queries can cause problems for other users of the database so wanting to time-out queries seems an obvious desire). I'd expect such retrying to at least be optional (or to at least not retry on SIGALRM).

    - tye