![]() |
|
![]() | ||
|
Subject:
'MySQL error 11 woes
Category: Computers > Programming Asked by: daveg-ga List Price: $4.00 |
Posted:
26 Jun 2002 04:12 PDT
Expires: 26 Jul 2002 04:12 PDT Question ID: 33440 |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: 'MySQL error 11 woes
From: yruss-ga on 26 Jun 2002 04:59 PDT |
I don't know exactly what your problem might be- you might try adding some debugging to your perl script. Try and find out what the queries that are failing are... I've read that sql syntax problems can sometimes give an error like this. Also, make sure you close your connections so you don't use all your sockets. The major reasons one gets `Resource temporary unavailable` are: - You have used up all file descriptors or number of processes. - You are out of memory - You have a bug in your (g)libc library. You may try running a ps command on the remote machine when the query fails to see what is using up the resources. sticking a simple system "ssh linux990 ps -aux" each time it retries might do the trick. I don't know if this will work since it seems to be that you can't connect to the server but try `mysqladmin processlist status` or 'mysqladmin extended-status' to see what is going on in the server. For tips on increasing mysql performance see: http://www.mysql.com/information/presentations/presentation-oscon2000-20000719/index.html |
Subject:
Re: 'MySQL error 11 woes
From: tkil-ga on 26 Jun 2002 22:37 PDT |
How often is this script being called? At least one thread: http://archive.develooper.com/dbi-users@perl.org/msg00609.html Indicates that this is a common response by the "local" machine, telling you that you have simply run out of outgoing sockets, and need to wait for them to be freed up. They give the magic incantation for increasing the limit on BSD (at least I think that's where they are), but equivalent measures exist on most modern OSs. yruss's comment was very close, I'd just add "You have used up all the outgoing sockets on the machine running the script" to his list of reasons. (There is also the possible case of "Error 11" as related to flakey hardware under Linux, typically exhibiting itself under heavy loads such as repeated kernel compiles, etc. How heavily loaded are these machines (both front-end and DB server)?) |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |