Skip to Content.
Sympa Menu

freetds - [freetds] how to increase minumal number of connexion (error Can't connect to freetds)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <loic.cloatre AT orange.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] how to increase minumal number of connexion (error Can't connect to freetds)
  • Date: Wed, 4 Jan 2012 08:55:55 +0100

Hi,

I am using mod_dbd of apache to create a pool connexion with freetds as
driver (Sybase).

I get error in my error_log of apache when I am increasing DBDMin connexion
(only 10)

[Tue Jan 03 20:54:44 2012] [error] (20014)Internal error: DBD: Can't connect
to freetds:
[Tue Jan 03 20:54:44 2012] [error] (20014)Internal error: DBD: failed to
initialise
[Tue Jan 03 20:54:44 2012] [crit] (20014)Internal error: DBD: child init
failed!
[Tue Jan 03 20:54:45 2012] [error] (20014)Internal error: DBD: Can't connect
to freetds:
[Tue Jan 03 20:54:45 2012] [error] (20014)Internal error: DBD: failed to
initialise
[Tue Jan 03 20:54:45 2012] [notice] child pid 23721 exit signal Segmentation
fault (11)


I try to see in freetds log what happened but I don't realy understand...
I see the error " dblib.c:7981:20017: "Unexpected EOF from the server"


If anyone has an idea it will help me!


Thanks,



A part of log freetds-->

net.c:205:Connecting to 192.168.131.52 port 5000 (TDS version 5.0)
net.c:270:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:310:tds_open_socket() succeeded
util.c:156:Changed query state from DEAD to IDLE
net.c:741:Sending packet
0000 02 00 02 00 00 00 00 00-6d 73 70 66 74 2d 74 65 |........ mspft-te|
0010 73 74 30 31 00 00 00 00-00 00 00 00 00 00 00 00 |st01.... ........|
0020 00 00 00 00 00 00 0c 73-61 00 00 00 00 00 00 00 |.......s a.......|
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0040 00 00 00 00 00 02 70 61-73 73 77 6f 72 64 00 00 |......pa ssword..|
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0060 00 00 00 00 08 31 39 37-39 32 00 00 00 00 00 00 |.....197 92......|
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0080 00 00 00 05 03 01 06 0a-09 01 00 00 00 00 00 00 |........ ........|
0090 00 00 00 00 67 69 00 00-00 00 00 00 00 00 00 00 |....gi.. ........|
00a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00b0 00 00 02 6d 73 70 69 64-5f 65 00 00 00 00 00 00 |...mspid _e......|
00c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00d0 00 07 00 08 70 61 73 73-77 6f 72 64 00 00 00 00 |....pass word....|
00e0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
00f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0140 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0170 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0180 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
0190 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01b0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |........ ........|
01d0 00 0a 05 00 00 00 44 42-2d 4c 69 62 72 61 72 79 |......DB -Library|
01e0 0a 05 00 00 00 00 0d 11-75 73 5f 65 6e 67 6c 69 |........ us_engli|
01f0 73 68 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |sh...... ........|

net.c:741:Sending packet
0000 02 01 00 64 00 00 00 00-00 00 00 00 00 00 0a 00 |...d.... ........|
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 69 73 6f |........ .....iso|
0020 5f 31 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |_1...... ........|
0030 00 00 00 00 00 00 00 00-00 00 00 05 01 35 31 32 |........ .....512|
0040 00 00 00 03 00 00 00 00-e2 19 00 01 0c 07 cd ff |........ ........|
0050 00 08 0e 6d 7f ff ff ff-fe 02 09 00 00 00 00 02 |...m.... ........|
0060 68 00 00 00 - |h...|

token.c:328:tds_process_login_tokens()
util.c:331:tdserror(0x62f5c0, 0xace000, 20017, 115)
dblib.c:7929:dbperror(0xab8a50, 20017, 115)
dblib.c:8002:"Unexpected EOF from the server", client returns 2 (INT_CANCEL)
util.c:361:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:384:tdserror: returning TDS_INT_CANCEL(2)
util.c:156:Changed query state from IDLE to DEAD
token.c:337:looking for login token, got 0()
token.c:122:tds_process_default_tokens() marker is 0()
token.c:125:leaving tds_process_default_tokens() connection dead
login.c:466:login packet accepted
util.c:331:tdserror(0x62f5c0, 0xace000, 20002, 0)
dblib.c:7929:dbperror(0xab8a50, 20002, 0)
dblib.c:7981:20002: "Adaptive Server connection failed"
dblib.c:8002:"Adaptive Server connection failed", client returns 2
(INT_CANCEL)
util.c:361:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:384:tdserror: returning TDS_INT_CANCEL(2)
dblib.c:1443:dbclose(0xab8a50)
dblib.c:258:dblib_del_connection(0x2a95e872e0, 0xace000)
mem.c:615:tds_free_all_results()
dblib.c:305:dblib_release_tds_ctx(1)
dblib.c:5882:dbfreebuf(0xab8a50)
dblib.c:739:dbloginfree(0x69b600)
dblib.c:1443:dbclose(0xab8070)
dblib.c:258:dblib_del_connection(0x2a95e872e0, 0xaa3230)
mem.c:615:tds_free_all_results()
util.c:156:Changed query state from IDLE to DEAD
dblib.c:305:dblib_release_tds_ctx(1)
dblib.c:5882:dbfreebuf(0xab8070)
dblib.c:1443:dbclose(0xa8d810)
dblib.c:258:dblib_del_connection(0x2a95e872e0, 0xaa2dc0)
mem.c:615:tds_free_all_results()
util.c:156:Changed query state from IDLE to DEAD
dblib.c:305:dblib_release_tds_ctx(1)
dblib.c:5882:dbfreebuf(0xa8d810)..

..x300

dblib.c:5882:dbfreebuf(0x6a4a10)
dblib.c:1443:dbclose(0x69a090)
dblib.c:258:dblib_del_connection(0x2a95e872e0, 0x69aa70)
mem.c:615:tds_free_all_results()
util.c:156:Changed query state from IDLE to DEAD
dblib.c:305:dblib_release_tds_ctx(1)
dblib.c:5882:dbfreebuf(0x69a090)

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu
ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete
altere, deforme ou falsifie. Merci

This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorization.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, France Telecom - Orange shall not be liable if this
message was modified, changed or falsified.
Thank you.





Archive powered by MHonArc 2.6.24.

Top of Page