I can sure that connection didn't overflow. But I don't 
know how to check running out of socket and locking.
Can you tell me how I can check that status?

And I think the socket is right. Because the program 
has no problem most of time. The problem does not
usually happen, but if happen it is critical. 

So, answer of your question.

Have you run out of sockets ? I don't know
Max connections ? Maybe Yes
Is the server there ? Yes
Is this the right socket ? I think yes
Is the socket locked up ? I don't know

How can I check first and last of the question? 
I am using Red-Hat Linux 7.2 now.


-----Original Message-----
From: Andrew Rich [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 3:20 PM
To: °í¼ø¹Î; [EMAIL PROTECTED]
Subject: RE: Connection Failed.


Have you run out of sockets ?
Max connections ?
Is the server there ?
Is this the right socket ?
Is the socket locked up ?

Andrew


-----Original Message-----
From: °í¼ø¹Î [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 25 April 2002 2:09 PM
To: [EMAIL PROTECTED]
Subject: Connection Failed.


I made program using mysql C api, And every two minute my program
connects to mysql-server. But from time to time some error occur
accidently.
In the mysql.err file, this message was written.

020424 15:18:44  Aborted connection 2127 to db: 'dcmdb' user: 'dcmuser'
host: `10.1.10.27' (Got an error reading communication packets)

This error message is made by server. And there is another message made
by my program.

Error(2004) : Can't create TCP/IP socket (23)

I can't understand why this happen. Does anyone know about this?
If you know anything suspected, please tell me.

Thank you

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to