cancel
Showing results for 
Search instead for 
Did you mean: 

XSERVER Connect request: connection closed (read:ECONNRESET)

Former Member
0 Kudos

Hi,

i checked at my linux box that we have many vserver process running, i used the command ps -aux | grep vserver that shows me:

sdb       9574  0.0  0.0 13456 1128 ?        S    Jul17  10:42 /pex/opt/sdb/programs/pgm/vserver -F start
sdb       7574  0.0  0.0 29732  860 ?        S    12:09   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb       7705  0.0  0.0 29732  860 ?        S    12:10   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb       8914  0.0  0.0 29732  864 ?        S    12:20   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      13227  0.0  0.0 29732  860 ?        S    12:51   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      18226  0.0  0.0 29732  864 ?        S    13:35   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      18333  0.0  0.0 29732  860 ?        S    13:36   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      19127  0.0  0.0 29732  864 ?        S    13:40   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      19218  0.0  0.0 29732  864 ?        S    13:41   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      19219  0.0  0.0 29732  860 ?        S    13:41   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      19220  0.0  0.0 29732  860 ?        S    13:41   0:00 /pex/opt/sdb/programs/pgm/vserver -F start
sdb      19221  0.0  0.0 29732  864 ?        S    13:41   0:00 /pex/opt/sdb/programs/pgm/vserver -F start

and this was increasing, i checked the file xserver_myserver.prt and see many lines with:


...
2008-08-08 13:41:28 19193 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:41:33 19194 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:41:38 19210 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:41:43 19214 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:41:48 19216 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:41:53 19227 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:41:58 19231 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:42:03 19239 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:42:08 19244 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:42:13 19254 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
2008-08-08 13:42:18 19276 ERR 11934  XSERVER  Connect request: connection closed (read:ECONNRESET)
...

i'm dont get any error at application side, just an alert from my system monitor that detects the too much vserver process running.

any idea about this problem?

regards

Clóvis

Accepted Solutions (1)

Accepted Solutions (1)

Melanie
Advisor
Advisor
0 Kudos

Hello Clovis,

a new vserver process is started for each remote application process connecting to the database. So I'm not sure if you actually have too many vserver processes. When you count the number of vserver processes - does it correspond to the number of application processes connected to the database? With the following dbmcli command you can also check the connected tasks:

dbmcli -d <dbname> -u <user>,<password> show task us

Regarding the error messages in the x_server log file: is it possible that a timeout cancels the connections?

Please also check if you can find any errors regarding connections in file knldiag.

Further information about the MaxDB processes and the x_server can also be found here:

http://maxdb.sap.com/training/internals_7.6/introduction_EN_76.pdf

Best regards,

Melanie

Answers (0)