Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello
We have upgraded from Perl 5.6.1 to 5.8.7 . The OS is HP UX 11.11. The Oracle database has also been upgraded from 10i to 11G.
We are continuously receiving "Interrupted System Call" in the new version of Perl (5.8.7). Is there a differnce in the amount of time to perform the accept system call (or timeout) in the two version of Perl.
If so does any have an suggestion to resolve the same?
  • Comment on Issue with timeout on accept system call

Replies are listed 'Best First'.
Re: Issue with timeout on accept system call
by cdarke (Prior) on Sep 15, 2006 at 15:29 UTC
    Where is your "Interrupted System Call" occuring? Is this on a call to accept, 4-arg select, or Oracle? Showing the code connected with the error message might help.
    I believe "Interrupted System Call" is usally EINTR (on HPUX), which means a system operation recieved a signal which you are handling, and was interrupted. Are you trapping signals yourself? For example, are you using alarm to timeout an accept, when maybe you should be using a non-blocking socket with (4-arg) select?
"Interrupted system call"
by Anonymous Monk on Sep 15, 2006 at 13:33 UTC
    Hi
    After upgrading the perl from 5.6.1 to 5.8.7., accept() function in one of server is failing many times with the error message "Interrupted system call".
    Could anyone explain the reason for receiving this error signal continuously.
    Please help us out from this problem
    Thanks in Advance
    Anju.

    Edited by ysth to move this question under newer question with different info.

      Are you running on Win32?

      If so, this and/or this may help you.

      If not, you'd best post some code plus information about your set-up: Perl version, OS etc.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.