Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some of the connections between my application server (Ubuntu, Apache, PHP) and my DB server (Ubuntu, MySQL) are failing with error code 4. According to the documentation error code 4 is:

OS error code 4: Interrupted system call

At first I thought that maybe the issue is that the DB server has too many connections and fails because there are too much open files. But it seems not to be the case because:

  1. Too many open files has different error code (24).
  2. I've checked and during peak time the server had 497 files open (checked using lsof command) while the maximum is 1024.

The TCP settings were already checked (see prior question).

Any ideas what this can be or what should I check?

share|improve this question

Check your ifconfig stats, it could be a packet drop or something like that, I already seen it.

share|improve this answer
> RX packets:250356058 errors:0 dropped:0 overruns:0 frame:0 > TX packets:195826222 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 Here's the results from one of the DB servers. Similar results on the application servers. Any other ideas? – arikfr May 5 '10 at 14:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.