Broken pipe - Sun T2000, Solaris 10

Hi,
I have some problems..
So, there's one system I'm working with. It's made of 2 parts (both written in Java):
- "normal" application, that works as a business logic server,
- web application (build on Turbine framework, running on a Resin Application Server) - it works as a presentation layer,
These 2 parts are connected via TCP/IP socket connection - we use an ObjectOutputStream.
It normally works just fine (it's running on several different systems), but recenlty it has been installed on a new server machine and it's started to throw strange exceptions. Below there are informations about server machine, exceptions and code making connections.
We think, that It may be a problem with configuration of Solaris kernel or TCP/IP stack, but have no idea how to fix it.
SERVER CONFIGURATION:
Machine: Sun T2000
System: Solaris 10
JVM: 1.4 or 1.5 (both were tested)
EXCEPTION:
ERROR 2006-11-28 11:28:59,377 [pl.com.ttsoft.vixen.currentday.server.ClientServiceThread] - IOException while sending data to the client. Closing output stream.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1591)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1401)
at java.io.ObjectOutputStream.writeUnshared(ObjectOutputStream.java:371)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendMessageToClient(ClientServiceThread.java:679)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendModificationData(ClientServiceThread.java:432)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.serveDataModification(ClientServiceThread.java:308)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.run(ClientServiceThread.java:185)
ERROR 2006-11-28 11:28:59,400 [pl.com.ttsoft.vixen.currentday.server.ClientServiceThread] - IOException while closing client connection.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1627)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
at java.io.ObjectOutputStream.close(ObjectOutputStream.java:687)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.closeClientConnection(ClientServiceThread.java:706)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendMessageToClient(ClientServiceThread.java:691)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendModificationData(ClientServiceThread.java:432)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.serveDataModification(ClientServiceThread.java:308)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.run(ClientServiceThread.java:185)
STANDALONE APPLICATION CODE:
/* i've simplified it */
/* OPENING CONNECITON */
          Socket socket = = new Socket(hostName, hostPort);
          ObjectOutputStream outStream = new ObjectOutputStream( socket.getOutputStream() );
          ClientDescriptor clientDescriptor =
            new ClientDescriptor(socket, outStream, info.getLogin(), info.getSystem(),
                info.getDay(), info.getCurrentDaySessionId());
/* SENDING DATA */
     private boolean sendMessageToClient( MessageDTO messageDTO, ClientDescriptor clientDescriptor )
          throws CurrentDayException {
          logger.info( "sendMessageToClient " + messageDTO.getClientId() );
          ObjectOutputStream outputStream = clientDescriptor.getOutputStream();
          try {
              outputStream.writeUnshared( messageDTO ); // THIS WRITE THROWS EXCEPTIONS
              outputStream.flush();
          } catch ( IOException exc ) {
            logger.error( " IOException while sending data to the client. Closing output stream. ", exc );
            // close client connection
            closeClientConnection( clientDescriptor );
            return false;
        return true;       
    private void closeClientConnection( ClientDescriptor clientDescriptor ) {
        try {
            synchronized ( clientDescriptorMap ) {
                clientDescriptor.setState( ClientDescriptor.TO_REMOVE );           
                clientDescriptor.getOutputStream().close();
                clientDescriptor.getSocket().close();
        } catch ( IOException exc ) {
            logger.error( " IOException while closing client connection. ", exc );
/* WEB APPLICATION */
/* RECIEVING DATA */
/* it routes this data to 3-rd party applet */
        SocketChannel vixenSocket = (SocketChannel)key.channel();
        Socket clientSocket = (Socket)objClientServers.get(key);
        // read the information from the socket....
        ByteBuffer buffer = ByteBuffer.allocate(16 * 1024);
        while (vixenSocket.read(buffer) > 0) {
            buffer.flip();
            byte[] bytespassed = new byte[buffer.remaining()];
            logger.debug("buffer.remaining() (1)=" + buffer.remaining());
            buffer.get(bytespassed, 0, bytespassed.length);
            clientSocket.getOutputStream().write(bytespassed);
            buffer.compact();
        buffer.flip();
        while (buffer.hasRemaining()) { // make sure the buffer is fully readed.
            byte[] bytespassed = new byte[buffer.remaining()];
            logger.debug("buffer.remaining() (2)=" + buffer.remaining());
            buffer.get(bytespassed, 0, bytespassed.length);
            clientSocket.getOutputStream().write(bytespassed);
        buffer.clear();We think, that It may be a problem with configuration of Solaris kernel or TCP/IP stack, but have no idea how to fix it.
Thanks for help,
Ziemek Obel.

Hi,
well I'm not sure if it isn't a hardware problem - you see, this system works just fine on a Solaris 10 working on the other servers, but tends to throw exceptions on Sun T2000 machine - so I guess It may be hardware issue and someone here could help me.
Ziemek.

Similar Messages

  • Broken pipe - Solaris 10, Sun T2000

    Hi,
    I have some problems..
    So, there's one system I'm working with. It's made of 2 parts (both written in Java):
    - "normal" application, that works as a business logic server,
    - web application (build on Turbine framework, running on a Resin Application Server) - it works as a presentation layer,
    These 2 parts are connected via TCP/IP socket connection - we use an ObjectOutputStream.
    It normally works just fine (it's running on several different systems), but recenlty it has been installed on a new server machine and it's started to throw strange exceptions. Below there are informations about server machine, exceptions and code making connections.
    We think, that It may be a problem with configuration of Solaris kernel or TCP/IP stack, but have no idea how to fix it.
    SERVER CONFIGURATION:
    Machine: Sun T2000
    System: Solaris 10
    JVM: 1.4 or 1.5 (both were tested)
    EXCEPTION:
    ERROR 2006-11-28 11:28:59,377 [pl.com.ttsoft.vixen.currentday.server.ClientServiceThread] - IOException while sending data to the client. Closing output stream.
    java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
    at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1591)
    at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1401)
    at java.io.ObjectOutputStream.writeUnshared(ObjectOutputStream.java:371)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendMessageToClient(ClientServiceThread.java:679)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendModificationData(ClientServiceThread.java:432)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.serveDataModification(ClientServiceThread.java:308)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.run(ClientServiceThread.java:185)
    ERROR 2006-11-28 11:28:59,400 [pl.com.ttsoft.vixen.currentday.server.ClientServiceThread] - IOException while closing client connection.
    java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
    at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1627)
    at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
    at java.io.ObjectOutputStream.close(ObjectOutputStream.java:687)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.closeClientConnection(ClientServiceThread.java:706)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendMessageToClient(ClientServiceThread.java:691)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendModificationData(ClientServiceThread.java:432)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.serveDataModification(ClientServiceThread.java:308)
    at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.run(ClientServiceThread.java:185)
    STANDALONE APPLICATION CODE:
    /* i've simplified it */
    /* OPENING CONNECITON */
              Socket socket = = new Socket(hostName, hostPort);
              ObjectOutputStream outStream = new ObjectOutputStream( socket.getOutputStream() );
              ClientDescriptor clientDescriptor =
                new ClientDescriptor(socket, outStream, info.getLogin(), info.getSystem(),
                    info.getDay(), info.getCurrentDaySessionId());
    /* SENDING DATA */
         private boolean sendMessageToClient( MessageDTO messageDTO, ClientDescriptor clientDescriptor )
              throws CurrentDayException {
              logger.info( "sendMessageToClient " + messageDTO.getClientId() );
              ObjectOutputStream outputStream = clientDescriptor.getOutputStream();
              try {
                  outputStream.writeUnshared( messageDTO ); // THIS WRITE THROWS EXCEPTIONS
                  outputStream.flush();
              } catch ( IOException exc ) {
                logger.error( " IOException while sending data to the client. Closing output stream. ", exc );
                // close client connection
                closeClientConnection( clientDescriptor );
                return false;
            return true;       
        private void closeClientConnection( ClientDescriptor clientDescriptor ) {
            try {
                synchronized ( clientDescriptorMap ) {
                    clientDescriptor.setState( ClientDescriptor.TO_REMOVE );           
                    clientDescriptor.getOutputStream().close();
                    clientDescriptor.getSocket().close();
            } catch ( IOException exc ) {
                logger.error( " IOException while closing client connection. ", exc );
    /* WEB APPLICATION */
    /* RECIEVING DATA */
    /* it routes this data to 3-rd party applet */
            SocketChannel vixenSocket = (SocketChannel)key.channel();
            Socket clientSocket = (Socket)objClientServers.get(key);
            // read the information from the socket....
            ByteBuffer buffer = ByteBuffer.allocate(16 * 1024);
            while (vixenSocket.read(buffer) > 0) {
                buffer.flip();
                byte[] bytespassed = new byte[buffer.remaining()];
                logger.debug("buffer.remaining() (1)=" + buffer.remaining());
                buffer.get(bytespassed, 0, bytespassed.length);
                clientSocket.getOutputStream().write(bytespassed);
                buffer.compact();
            buffer.flip();
            while (buffer.hasRemaining()) { // make sure the buffer is fully readed.
                byte[] bytespassed = new byte[buffer.remaining()];
                logger.debug("buffer.remaining() (2)=" + buffer.remaining());
                buffer.get(bytespassed, 0, bytespassed.length);
                clientSocket.getOutputStream().write(bytespassed);
            buffer.clear();We think, that It may be a problem with configuration of Solaris kernel or TCP/IP stack, but have no idea how to fix it.
    Thanks for help,
    Ziemek Obel.

    We solve problem changing tcp/ip window parameters on T2000 server:
    ndd -set /dev/tcp tcp_xmit_hiwat 400000
    ndd -set /dev/tcp tcp_recv_hiwat 400000
    ndd -set /dev/tcp tcp_conn_req_max_q 81920
    ndd -set /dev/tcp tcp_conn_req_max_q0 81920
    ndd -set /dev/tcp tcp_time_wait_interval 60000
    Arkadiusz Malinowski

  • Solaris Error: 32: Broken pipe

    Dear sir,
    Yesterday I found in alert log file bellows warning.
    and In that time some clients inform us they are cannot log on
    to the application. after few times they could log on to
    database automatically.
    Oracle Database 10g
    Version:- 10.2.0.4
    OS :- Sun Solaries spark
    and
    It is dedicated environment .
    In parameter file
    processes = 4000
    Content of alert log file.
    ===================
    Mon Dec 6 16:03:00 2010
    Thread 1 advanced to log sequence 67690 (LGWR switch)
    Current log# 3 seq# 67690 mem# 0: /d01/oracle/oradata/stlbas/redo03.log
    Mon Dec 6 16:20:39 2010
    Process J000 died, see its trace file
    Mon Dec 6 16:20:39 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:20:39 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Process J000 died, see its trace file
    Mon Dec 6 16:20:45 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:20:45 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Mon Dec 6 16:21:01 2010
    Process J000 died, see its trace file
    Mon Dec 6 16:21:01 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:21:01 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Mon Dec 6 16:21:17 2010
    Process J000 died, see its trace file
    Mon Dec 6 16:21:17 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:21:17 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Mon Dec 6 16:36:24 2010
    Process J000 died, see its trace file
    Mon Dec 6 16:36:24 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:36:24 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Process J000 died, see its trace file
    Mon Dec 6 16:36:30 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:36:30 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Mon Dec 6 16:36:41 2010
    Process J000 died, see its trace file
    Mon Dec 6 16:36:41 2010
    kkjcre1p: unable to spawn jobq slave process
    Mon Dec 6 16:36:41 2010
    Errors in file /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc:
    Mon Dec 6 16:38:18 2010
    Thread 1 advanced to log sequence 67691 (LGWR switch)
    Current log# 4 seq# 67691 mem# 0: /d01/oracle/oradata/stlbas/redo04.log
    contents in the trace file are -
    ==========================
    /d04/admin/stlbas/bdump/stlbas_cjq0_1885.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining Scoring Engine
    and Real Application Testing options
    ORACLE_HOME = /d04/oracle/ora102
    System name:     SunOS
    Node name:     badb1
    Release:     5.10
    Version:     Generic_142900-07
    Machine:     sun4v
    Instance name: stlbas
    Redo thread mounted by this instance: 1
    Oracle process number: 26
    Unix process pid: 1885, image: oracle@badb1 (CJQ0)
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-12-01 13:24:30.248
    *** SESSION ID:(2191.1) 2010-12-01 13:24:30.248
    *** 2010-12-01 13:24:30.248
    Process J000 is dead (pid=25006, state=3):
    *** 2010-12-01 13:24:37.277
    Process J000 is dead (pid=25012, state=3):
    *** 2010-12-01 13:59:56.397
    Process J000 is dead (pid=1185, state=3):
    *** 2010-12-01 15:55:42.277
    Process J000 is dead (pid=15686, state=3):
    *** 2010-12-06 16:20:39.526
    Process J000 is dead (pid=9458, state=3):
    *** 2010-12-06 16:20:45.565
    Process J000 is dead (pid=9480, state=3):
    *** 2010-12-06 16:21:01.641
    Process J000 is dead (pid=9518, state=3):
    *** 2010-12-06 16:21:17.712
    Process J000 is dead (pid=9550, state=3):
    *** 2010-12-06 16:36:24.213
    Process J000 is dead (pid=11942, state=3):
    *** 2010-12-06 16:36:30.238
    Process J000 is dead (pid=11970, state=3):
    *** 2010-12-06 16:36:41.289
    Process J000 is dead (pid=11998, state=3):
    content of listener log file like bellows (in that time only)
    =====================================
    06-DEC-2010 16:16:21 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=001zohur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1771)) * establish * STLBAS * 0
    06-DEC-2010 16:16:21 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\RWRBE60.exe)(HOST=APPLICATION-02)(USER=154shahadat))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.32)(PORT=1528)) * establish * STLBAS * 0
    06-DEC-2010 16:16:21 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\RWRBE60.exe)(HOST=APPLICATION-07)(USER=043sathekur))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1758)) * establish * STLBAS * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    06-DEC-2010 16:16:21 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=038alfee))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1772)) * establish * STLBAS * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    06-DEC-2010 16:16:22 * service_update * stlbas * 0
    06-DEC-2010 16:16:24 * service_update * stlbas * 0
    06-DEC-2010 16:16:25 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=003aftab))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1794)) * establish * STLBAS * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    06-DEC-2010 16:16:25 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\RWRBE60.exe)(HOST=NEW-SUN-APP)(USER=023sohel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.37)(PORT=4291)) * establish * STLBAS * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    06-DEC-2010 16:16:27 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=038alfee))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1796)) * establish * STLBAS * 0
    06-DEC-2010 16:16:27 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=038alfee))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1797)) * establish * STLBAS * 0
    06-DEC-2010 16:16:28 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\RWRBE60.exe)(HOST=APPLICATION-11)(USER=030salah))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.33)(PORT=3982)) * establish * STLBAS * 0
    06-DEC-2010 16:16:29 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stlbas)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=REPORTS_APP)(USER=504refayet))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.233)(PORT=4995)) * establish * stlbas * 0
    06-DEC-2010 16:16:29 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=019aporna))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1800)) * establish * STLBAS * 0
    06-DEC-2010 16:16:29 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stlbas)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=REPORTS_APP)(USER=504refayet))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.233)(PORT=4996)) * establish * stlbas * 0
    06-DEC-2010 16:16:30 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=003aftab))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1801)) * establish * STLBAS * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    06-DEC-2010 16:16:30 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=STLBAS)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=APPLICATION-07)(USER=019aporna))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.36)(PORT=1802)) * establish * STLBAS * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12547: TNS:lost contact
    TNS-12560: TNS:protocol adapter error
    TNS-00517: Lost contact
    Solaris Error: 32: Broken pipe
    06-DEC-2010 16:16:30 * service_update * stlbas * 0
    06-DEC-2010 16:16:30 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stlbas)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=REPORTS_APP)(USER=501azad))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.233)(PORT=4997)) * establish * stlbas * 0
    06-DEC-2010 16:16:31 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=stlbas)(CID=(PROGRAM=D:\OraNT\BIN\ifrun60.EXE)(HOST=REPORTS_APP)(USER=501azad))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.233)(PORT=4999)) * establish * stlbas * 0
    06-DEC-2010 16:16:32 * service_update * stlbas * 0
    What is the cause ?
    and
    why it shown "Solaris Error: 32: Broken pipe" ? please
    Best Regards
    Halim

    Thanks
    Sorry for not Formatting .
    Actually I don't know how format code here.
    SQL>
    SQL>
    SQL> select * from v$resource_limit ;
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL LIMIT_VALU
    processes                                     1607            4000       4000       4000
    sessions                                      1596            4005       4405       4405
    enqueue_locks                                 1380            6280      57390      57390
    enqueue_resources                              563            2901      19600  UNLIMITED
    ges_procs                                        0               0          0          0
    ges_ress                                         0               0          0  UNLIMITED
    ges_locks                                        0               0          0  UNLIMITED
    ges_cache_ress                                   0               0          0  UNLIMITED
    ges_reg_msgs                                     0               0          0  UNLIMITED
    ges_big_msgs                                     0               0          0  UNLIMITED
    ges_rsv_msgs                                     0               0          0          0
    gcs_resources                                    0               0          0          0
    gcs_shadows                                      0               0          0          0
    dml_locks                                       43             718      19380  UNLIMITED
    temporary_table_locks                            0               3  UNLIMITED  UNLIMITED
    transactions                                   306             722       4845  UNLIMITED
    branches                                         1              13       4845  UNLIMITED
    cmtcallbk                                        2               4       4845  UNLIMITED
    sort_segment_locks                            1594            4451  UNLIMITED  UNLIMITED
    max_rollback_segments                          136             361       4845      65535
    max_shared_servers                               0               0  UNLIMITED  UNLIMITED
    parallel_max_servers                          1324            3600       2560       3600
    22 rows selected.
    SQL>Regards
    Halim
    Edited by: Abdul Halim on Dec 7, 2010 4:04 PM
    Edited by: Abdul Halim on Dec 7, 2010 4:04 PM

  • Broken pipe / timeout during slow SQL statement in servlet

    I have a servlet which supplies the client with quite a large block of data from an SQL query.
    This works fine in a local test environment but I get problems running it under a fully fledged application server environment.
    I find a "Broken Pipe" exception on the application log and the client side application gets an application error status code.
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
    07/07/16 09:32:30.86 lapSycWebsite: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.j
    ava:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
    :309)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
    :190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    :q
    We're looking for ways to get the SQL execution time down, but even if we succeed in this case it's a source of instability that will trip us up in the future.
    This SQL statment can take up to about 8 minutes to return the first row.
    The client is a Java swing program, by the way, not a browser as such.
    Later:
    We've got the SQL execution time down and it's working for the time being but it's a problem that's going to hit us again sooner or later. Still looking for a solution.
    Message was edited by:
    IronChicken

    Refer this url for inserting blob datatype to database.
    See the LOBDatatype sample. This sample uses java application but same works for a servlet too.
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.htm
    You can refer source to see how the lob data is inserted.
    Chandar

  • Experiences with Sun T2000 servers on SAP systems

    Hello,
    We are currently involved in a project to migrate our SAP systems from a Windows 2003 to a Solaris 10 platform.  Our application server layer will be based on Sun T2000 servers for both ABAP and Java stacks.
    I would be interested in hearing from anyone using T2000s in the application server layer to understand their perception of the performance of these systems.
    Thanks in advance,
    Brendan Byrne

    We have actually solved the issues sourrounding performance on sun multi threaded servers.
    What you need to do is create a 'Zone' on the solaris server and then allocate resources to the zone.
    Then sap seems to fly.
    This is fully supported by the way.
    Just set this up with NW7 on a T2000 and some T5120's
    Basically what occurs is that you setup SAP on one zone.
    You then allocate the full 64cpus to this zone, as well as the 32/64gb of ram.
    SAP runs as one thread within the zone, but the zone then allocates this thread across all the cpus.
    Works like a dream,
    Regards
    James
    Edited by: James Ibbotson on Sep 5, 2008 1:58 PM

  • Java.io.IOException: Broken pipe error in R12 oacore log

    All,
    Very frequently my R12 login page is going to blank screen at the same time oacore application log has below,
    20:02:27.606 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:41)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:71)
    at java.nio.channels.Channels.access$000(Channels.java:58)
    at java.nio.channels.Channels$1.write(Channels.java:145)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:735)
    Application - 12.1.3
    DB - 11.2.0.3
    OS - AIX 6.1
    Has anyone faced this before ? Any note-id/suggestions pls ?

    Hi;
    Very frequently my R12 login page is going to blank screen at the same time oacore application log has below,
    20:02:27.606 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)Please review:
         How to resolve Broken Pipe errors in E-Business Suite R12 ? [ID 1480156.1]
    Regard
    Helios

  • Java.rmi.MarshalException:....Broken pipe (plz help)

    Hi,
    I tried to run one simple RMI application..
    I got the RMI Server running...
    But While running the client I got the following Exception...
    java.rmi.MarshalException: error marshalling arguments; nested exception is:
    java.net.SocketException: Broken pipe
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
    at engine.ServerMain_Stub.addTask(Unknown Source)
    at client.ClientMain.initCompute(ClientMain.java:38)
    at client.ClientMain.main(ClientMain.java:17)
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1639)
    at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1548)
    at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1146)
    at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1100)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1241)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1355)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:281)
    at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
    ... 3 more
    I am not able to understand the problem...
    Plz help..
    Regerds
    Jijo Vincent

    Hi, I got same stack trace within RMIConnector.
    MBean Server (= RIM Server) has bean alive, but a MBean client may get following Exception.
    I'm guessing that a port on server side was closed, cause rmi object on server side was unbinded from the rmi registory by some trigger.
    But I don't know what was the trigger for this...
    Caused by: java.rmi.MarshalException: error marshalling arguments; nested exception is:
    java.net.SocketException: Broken pipe
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
    at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
    ... 7 more
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1847)
    at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1885)
    at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1546)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:333)
    at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:274)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
    ... 11 more
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.6.0_24-b07
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.6
    os.arch = amd64
    os.name = Linux
    os.version = 2.6.18-194.el5

  • Broken Pipe + JDeveloper 10.1.3.1

    Hi,
    I have successfully deployed web application to oracle 10g application server. Applications works fine but sometimes it throws the following error
    javax.servlet.jsp.JspException: Broken pipe
    at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:223)
    What is this error and why? let me know what kind of error is it and how to resolve?
    Thanks,
    -

    we are getting the same exception, and our application stays unavailable for several minutes, and sometimes gets restarted by opmn.
    Here is what we have in the app log file located under j2ee/../application-deployment
    java.io.IOException: An existing connection was forcibly closed by the remote host
         at sun.nio.ch.SocketDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
         at java.nio.channels.Channels.write(Channels.java:60)
         at java.nio.channels.Channels.access$000(Channels.java:47)
         at java.nio.channels.Channels$1.write(Channels.java:134)
         at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:306)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Does anybody has the same in that log file?
    thank you

  • SQL BROKEN PIPE IN 6.0SP1

    Hi .
    I am using weblogic 6.0 sp1 running in a Cluster,
    jdk 1,3
    solaris 2.8
    Oracle 8.1.7
    Classes12.zip thin driver for Oracle
    I have been getting the following error very regularly now..
    javax.ejb.EJBException
    - with nested exception:
    [java.sql.SQLException: Io exception: Broken pipe]
    at com.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_RDBMS.getAccountNumber(NameAddressBean_WebLogic_CMP_RDBMS.java:440)
    at com.symphoni.bofa.business.entity.nameaddress.NameAddressBean.getNameAddressData(NameAddressBean.java:61)
    at com.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_RDBMS.getNameAddressData(NameAddressBean_WebLogic_CMP_RDBMS.java:378)
    at com.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl.getNameAddressData(NameAddressBeanEOImpl.java:382)
    at com.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLSkel.invoke(NameAddressBeanEOImpl_WLSkel.java:64)
    at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
    at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
    at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
    at weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher.java:115)
    at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
    at com.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLStub.getNameAddressData(NameAddressBeanEOImpl_WLStub.java:218)
    at com.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getNameAddress(BaseCoreInfoHelper.java:247)
    at com.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.populateCoreInfo(BaseCoreInfoHelper.java:164)
    at com.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getLogicalData(BaseCoreInfoHelper.java:84)
    at com.symphoni.bofa.business.session.accountmgr.SubmitHelper.getLogicalData(SubmitHelper.java:66)
    at com.symphoni.bofa.business.session.accountmgr.AccountBean.getCoreInfo(AccountBean.java:207)
    at com.symphoni.bofa.business.session.accountmgr.AccountBeanImpl.getCoreInfo(AccountBeanImpl.java:830)
    at com.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl.getCoreInfo(AccountBeanEOImpl.java:1344)
    at com.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl_WLSkel.invoke(AccountBeanEOImpl_WLSkel.java:126)
    at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
    at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
    at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Itz happening in production and the only way this gets resolved is if I restart any
    of the managed servers...
    which is leading to downtime...
    It is happening very intermittently..
    Any help is greatly appreciated...
    Thanx,
    Krish.

    That property is already set to true..
    Before shifting to the oracle thin classes12.zip , I want to make sure that the oracle
    drivers shipped with weblogic are causing problems...coz unknowingly I have been
    using the weblogic oracle drivers for almost 8 months now...and it was not a problem
    till now..!
    Thanx,
    Krish
    "Sree Bodapati" <[email protected]> wrote:
    This could be a network connection lost or database bounce. Try to set the
    TestConnectionsOnReserve=true in the connection pool from the console. Also
    try to use the latest classes12.zip file from oracle for 817.
    sree
    "KRISHNAN VENKATARAMAN" <[email protected]> wrote in message
    news:[email protected]...
    Hi .
    I am using weblogic 6.0 sp1 running in a Cluster,
    jdk 1,3
    solaris 2.8
    Oracle 8.1.7
    Classes12.zip thin driver for Oracle
    I have been getting the following error very regularly now..
    javax.ejb.EJBException
    - with nested exception:
    [java.sql.SQLException: Io exception: Broken pipe]
    atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_R
    DBMS.getAccountNumber(NameAddressBean_WebLogic_CMP_RDBMS.java:440)
    atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBean.getNameAddress
    Data(NameAddressBean.java:61)
    atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_R
    DBMS.getNameAddressData(NameAddressBean_WebLogic_CMP_RDBMS.java:378)
    atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl.getNameA
    ddressData(NameAddressBeanEOImpl.java:382)
    atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLSkel.i
    nvoke(NameAddressBeanEOImpl_WLSkel.java:64)
    atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
    atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
    atweblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
    java:118)
    atweblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher
    ..java:115)
    atweblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
    atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
    atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLStub.g
    etNameAddressData(NameAddressBeanEOImpl_WLStub.java:218)
    atcom.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getN
    ameAddress(BaseCoreInfoHelper.java:247)
    atcom.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.popu
    lateCoreInfo(BaseCoreInfoHelper.java:164)
    atcom.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getL
    ogicalData(BaseCoreInfoHelper.java:84)
    atcom.symphoni.bofa.business.session.accountmgr.SubmitHelper.getLogicalData(Su
    bmitHelper.java:66)
    atcom.symphoni.bofa.business.session.accountmgr.AccountBean.getCoreInfo(Accoun
    tBean.java:207)
    atcom.symphoni.bofa.business.session.accountmgr.AccountBeanImpl.getCoreInfo(Ac
    countBeanImpl.java:830)
    atcom.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl.getCoreInfo(
    AccountBeanEOImpl.java:1344)
    atcom.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl_WLSkel.invok
    e(AccountBeanEOImpl_WLSkel.java:126)
    atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
    atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
    atweblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
    java:118)
    atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    7)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Itz happening in production and the only way this gets resolved is ifI
    restart any
    of the managed servers...
    which is leading to downtime...
    It is happening very intermittently..
    Any help is greatly appreciated...
    Thanx,
    Krish.

  • Connection reset by peer:/Broken pipe using JTurbo JDBC Driver

    I am using the JTurbo JDBC driver to connect to a SQL Server 7.0 database. I am using Connection Pooling. After roughly an hour or so, I am no longer to get connections from the pool. Exceptions thrown are "connection reset by peer", followed by "Broken pipe" exceptions on every subsequent getConnection call.
    Has anyone found a successfull resolution to this problem using the JTurbo JDBC driver for SQL Server 7.0? I have tried the "autoReconnection=true" option on the URL string for the driver, but this has had no effect.
    I am running the Resin app server, version 1.2.7, on Solaris 8 and connecting to a SQL Server database running on NT 4.0. The JVM on Solaris where the servlet is running is 1.3.1.
    Any help is greatly appreciated!
    Mark Crouch
    Lead Developer
    accessKent

    I do not have an idea about your application server but i do know how i solved it in weblogic. Just see whether this is helpful to you.
    Points to be sure of........
    1) Make sure that when ever you request a connection from a pool, after you are done with it return it. If you are not returning it and trying to use that reference again, this problem will occur.
    2) Look at the capabilities of your app server. Set the connection pool such that
    a) All the connections are checked at regular interval with some default select statement from any table in the database.
    b) Connections are check when the connection is checked out and returned to the pool.
    I the connection object is not ready , close it and create a new one. The app server which manages the pool should implement these feature so that when you get the connection - its the tested and working object.
    If your app server does not support - then think of ways you testing it before you using it(Anyway this is not the good solution).

  • Performance Analyzer crashes with "java.io.IOException: Broken pipe"

    Hi,
    I profile a distributed application using collect and Performance Analyzer. Till now, the Performance Analyzer really worked out nicely (thanks for that tool).
    However, since a couple of days, I work on a modified sideline of the code which crashes Performance Analyzer reliably when selecting a specific function in the "Function" tab.
    Has anyone of you experienced a similar problem or can give advice on how to work around this problem?
    (BTW: There is a bug report on broken pipes when multiple writers access a pipe - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4028322 - but I'm not sure if this is the case here)
    I get the following error message:
    Exception in thread "AWT-EventQueue-0" com.sun.forte.st.mpmt.IPC$AnIPCException: java.io.IOException: Broken pipe
    at com.sun.forte.st.mpmt.IPC.sendByte(IPC.java:410)
    at com.sun.forte.st.mpmt.IPC.send(IPC.java:559)
    at com.sun.forte.st.mpmt.SummaryDisp.getSummary(SummaryDisp.java:430)
    at com.sun.forte.st.mpmt.SummaryDisp.doCompute(SummaryDisp.java:156)
    at com.sun.forte.st.mpmt.AnWindow.updateSummary(AnWindow.java:1366)
    at com.sun.forte.st.mpmt.FuncListDisp.updateSummary(FuncListDisp.java:223)
    at com.sun.forte.st.mpmt.FuncListDisp.access$400(FuncListDisp.java:11)
    at com.sun.forte.st.mpmt.FuncListDisp$TableHandler.valueChanged(FuncListDisp.java:405)
    at com.sun.forte.st.mpmt.AnTable.fireAnEvent(AnTable.java:827)
    at com.sun.forte.st.mpmt.AnTable.access$2700(AnTable.java:20)
    at com.sun.forte.st.mpmt.AnTable$CellHandler.valueChanged(AnTable.java:869)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442)
    at javax.swing.JTable.changeSelectionModel(JTable.java:2294)
    at javax.swing.JTable.changeSelection(JTable.java:2363)
    at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:532)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2844)
    at javax.swing.JTable.processKeyBinding(JTable.java:5196)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2890)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2807)
    at java.awt.Component.processEvent(Component.java:5815)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:958)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:830)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
    at java.awt.Component.dispatchEventImpl(Component.java:4282)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.io.IOException: Broken pipe
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:260)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at com.sun.forte.st.mpmt.IPC.sendByte(IPC.java:407)
    ... 45 more
    Exception in thread "AWT-EventQueue-0" com.sun.forte.st.mpmt.IPC$AnIPCException: java.io.IOException: Broken pipe
    at com.sun.forte.st.mpmt.IPC.sendByte(IPC.java:410)
    at com.sun.forte.st.mpmt.IPC.send(IPC.java:559)
    at com.sun.forte.st.mpmt.AnWindow.setSelObj(AnWindow.java:2315)
    at com.sun.forte.st.mpmt.FuncListDisp$TableHandler.valueChanged(FuncListDisp.java:404)
    at com.sun.forte.st.mpmt.AnTable.fireAnEvent(AnTable.java:827)
    at com.sun.forte.st.mpmt.AnTable.access$2700(AnTable.java:20)
    at com.sun.forte.st.mpmt.AnTable$CellHandler.valueChanged(AnTable.java:869)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442)
    at javax.swing.JTable.changeSelectionModel(JTable.java:2294)
    at javax.swing.JTable.changeSelection(JTable.java:2363)
    at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:532)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2844)
    at javax.swing.JTable.processKeyBinding(JTable.java:5196)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2890)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2807)
    at java.awt.Component.processEvent(Component.java:5815)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:958)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:830)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
    at java.awt.Component.dispatchEventImpl(Component.java:4282)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.io.IOException: Broken pipe
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:260)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at com.sun.forte.st.mpmt.IPC.sendByte(IPC.java:407)
    ... 41 more
    Thanks for your ideas, Manfred

    Which version of the Analyzer are you using? What OS, and
    what compiler did you use? Which version of Java are you using?
    (I doubt that the problem is related to the bug you cited; only
    one thread reads the pipe, and the bug concerns thread-safety
    reading from a pipe.)
    The most likely explanation is that er_print, the backend
    server that does the work for the GUI crashed. Is there a core
    dump from er_print in the directory?
    I'd suggest that if you're not using Sun Studio 12, patch_01,
    you upgrade to that and see if it still reproduces the problem.
    If it still crashes, we'll need more information to pursue it.
    You can send me email at marty dot itzkowitz at sun dot com
    We will need the experiment, and the a.out and .o containing the
    problematic function, and, of course, specific instructions for
    how to reproduce the problem.
    Marty Itzkowitz, project lead, Analyzer

  • LDAP Broken Pipe exception when deploying processes via ant task

    Hi,
    Has anyone experienced this and can offer a fix? We are publishing/deploying our processes using the fuego:publish task in Fuego 5.7 (we are migrating our system from 5.1) and one of the publish tasks for a large project always fails with the following exception:
    Caused by: fuego.directory.CommunicationException: Cannot connect to the Directory Service at: [iplanet://zion:28899/o=nexagent.com].
    Detail:The Directory Service could not be reached. Either the Directory Service is down, the host where it resides is unavailable, a network problem exists, or there is no Directory Service at the specified location.
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:465)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:489)
    at fuego.directory.provider.ldap.LDAPProjectAccessor.createCatalogJar(LDAPProjectAccessor.java:160)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:257)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:46)
    at fuego.mami.CatalogPublisher.store(CatalogPublisher.java:369)
    at fuego.mami.ProjectPublisher.storeCatalog(ProjectPublisher.java:1631)
    at fuego.mami.ProjectPublisher.storeProject(ProjectPublisher.java:1653)
    at fuego.mami.ProjectPublisher.publish(ProjectPublisher.java:854)
    at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(PublishProjectTaskImpl.java:377)
    ... 23 more
    Caused by: javax.naming.CommunicationException: Broken pipe [Root exception is java.net.SocketException: Broken pipe]; remaining name 'cn=catalogJar-3,cn=fuego-dirCatalogJars,cn=fuego-directoryRoot'
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:803)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
    at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
    at fuego.jndi.FaultTolerantDirContext.createSubcontext(FaultTolerantDirContext.java:413)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createNestedEntry(LDAPPersistenceManager.java:1744)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:455)
    ... 32 more
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:389)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:364)
    at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1007)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:766)
    ... 39 more
    Looking at the LDAP access log the error code is B1 which means that the client closed the connection without sending an unbind request or it could also mean that the client sent a malformed request to the server. The project being deployed is quite big and fails when storing the catalog, could the size have something to do with it (this worked in v5.1) is this a bug in 5.7?
    Any help would be greatly appreciated!
    regards,
    Mike

    Hi,
    Has anyone experienced this and can offer a fix? We are publishing/deploying our processes using the fuego:publish task in Fuego 5.7 (we are migrating our system from 5.1) and one of the publish tasks for a large project always fails with the following exception:
    Caused by: fuego.directory.CommunicationException: Cannot connect to the Directory Service at: [iplanet://zion:28899/o=nexagent.com].
    Detail:The Directory Service could not be reached. Either the Directory Service is down, the host where it resides is unavailable, a network problem exists, or there is no Directory Service at the specified location.
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:465)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:489)
    at fuego.directory.provider.ldap.LDAPProjectAccessor.createCatalogJar(LDAPProjectAccessor.java:160)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:257)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:46)
    at fuego.mami.CatalogPublisher.store(CatalogPublisher.java:369)
    at fuego.mami.ProjectPublisher.storeCatalog(ProjectPublisher.java:1631)
    at fuego.mami.ProjectPublisher.storeProject(ProjectPublisher.java:1653)
    at fuego.mami.ProjectPublisher.publish(ProjectPublisher.java:854)
    at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(PublishProjectTaskImpl.java:377)
    ... 23 more
    Caused by: javax.naming.CommunicationException: Broken pipe [Root exception is java.net.SocketException: Broken pipe]; remaining name 'cn=catalogJar-3,cn=fuego-dirCatalogJars,cn=fuego-directoryRoot'
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:803)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
    at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
    at fuego.jndi.FaultTolerantDirContext.createSubcontext(FaultTolerantDirContext.java:413)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createNestedEntry(LDAPPersistenceManager.java:1744)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:455)
    ... 32 more
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:389)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:364)
    at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1007)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:766)
    ... 39 more
    Looking at the LDAP access log the error code is B1 which means that the client closed the connection without sending an unbind request or it could also mean that the client sent a malformed request to the server. The project being deployed is quite big and fails when storing the catalog, could the size have something to do with it (this worked in v5.1) is this a bug in 5.7?
    Any help would be greatly appreciated!
    regards,
    Mike

  • Nio, broken pipe

    Hi!
    What does this error mean?
    java.io.IOException: Broken pipe
         at sun.nio.ch.FileDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)Can this error take place if a peer at the another end has closed the connection?

    What does this error mean?
    java.io.IOException: Broken pipeIt means you have tried to write to a connection whose other end is closed.
    Can this error take place if a peer at the another end has closed the connection?Yes.
    It's an application protocol error. Either the peer has closed the connection too early or you are trying to write something you shouldn't.

  • SSD in Sun T2000

    Hey all,
    I'm looking to add a couple of SSDs to a Sun T2000, so I can use Veritas Volume Manager to mirror an existing volume onto the SSDs, and set the read preference to the SSDs, to speed up a database application.
    I'd like to not have to trial and error test a variety of SSDs, and am wondering if anyone has successfully installed a 2.5 inch SSD into the 4 onboard drive slots in a T2000, and if so, what brand?
    I'm hoping that a standard SATA SSD drive fitted into a drive enclosure would work.
    I need roughly a pair of 256gb drives, and there are a number of vendors to choose from (OCZ, Samsung, Crucial, etc. etc)
    Any pointers? I can seem to find much info about 2.5 inch SSD drives in Sparcs under Solaris out on the web.

    I'm not sure if at first place 256 GB SSD (Solid State Drive) is available & supported on T2000 (searched sunsolve handbook but could not find. Only SSD available is for T5xxx platforms and its 32 GB capacity See : http://sunsolve.sun.com/handbook_private/validateUser.do?target=Systems/SE_T5140/components)
    If you want to try for any third party available disks, you may do so but for any problem, it will not be supported by Sun support, if you wish to get.
    HTH
    -Mehul

  • Jackd + guitar: "timeouts and broken pipes"

    Hi friends! I'm trying to pass my electric guitar via any rack/effects (like Guitarix or Creox) with no luck. I've got this sound card:
    01:06.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
    01:06.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
    I try with QJackCtl and invoking jackd from the terminal with any luck.
    jackd -d alsa -C -P
    jackd 0.121.3
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    could not open driver .so '/usr/lib/jack/jack_net.so': libcelt0.so.2: cannot open shared object file: No such file or directory
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 16bit little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 16bit little-endian
    ALSA: use 2 periods for playback
    jackd watchdog: timeout - killing jackd
    [gabo@machina ~]$
    This is the output from QJackCtl:
    00:12:07.126 Client deactivated.
    00:12:07.130 JACK is being forced...
    cannot read server event (Success)
    cannot continue execution of the processing graph (Bad file descriptor)
    zombified - calling shutdown handler
    cannot send request type 7 to server
    cannot read result for request type 7 from server (Broken pipe)
    cannot send request type 7 to server
    cannot read result for request type 7 from server (Broken pipe)
    00:12:07.339 JACK was stopped with exit status=1.
    I can hear my guitar and record with Audacity, but when jackd enter into the escenario everything blows up. I read that nowadays almost any sound card will work with QJackCtl with the default options. I play with the parameters and sometimes jack refuse to start. With the default options on i can make it run, but i get no sound of the racks or guitar effects processors neither the guitar tuners that use jack takes the sound from the guitar. My line input is in capture via alsamixer, but still no luck. Any clue on this? I'm skipping steps?
    Thanks in advance.
    iamgabo

    Hi!
    groups && cat /proc/asound/cards && cat ~/.asoundrc && cat '/etc/security/limits.d/audio.conf' && jackd -v
    adm disk lp wheel http network video audio optical storage power users polkitd vboxusers wireshark kismet
    0 [Live ]: EMU10K1X - Dell Sound Blaster Live!
    Dell Sound Blaster Live! at 0xcc00 irq 17
    #pcm.upmix71 {
    #type upmix
    #slave.pcm "surround71"
    #delay 15
    #channels 8
    pcm.!default {
    type hw
    card 0
    ctl.!default {
    type hw
    card 0
    # convert alsa API over jack API
    # use it with
    # % aplay foo.wav
    # use this as default
    pcm.!default {
    type plug
    slave { pcm "jack" }
    ctl.mixer0 {
    type hw
    card 1
    # pcm type jack
    pcm.jack {
    type jack
    playback_ports {
    0 system:playback_1
    1 system:playback_2
    capture_ports {
    0 system:capture_1
    1 system:capture_2
    cat: /etc/security/limits.d/audio.conf: No such file or directory
    I have a file called 99-audio.conf
    cat /etc/security/limits.d/99-audio.conf
    @audio - rtprio 99
    @audio - memlock unlimited
    Also i've seen some guys changing this file too:
    cat /etc/security/limits.conf
    # /etc/security/limits.conf
    #Each line describes a limit for a user in the form:
    #<domain> <type> <item> <value>
    #Where:
    #<domain> can be:
    # - an user name
    # - a group name, with @group syntax
    # - the wildcard *, for default entry
    # - the wildcard %, can be also used with %group syntax,
    # for maxlogin limit
    #<type> can have the two values:
    # - "soft" for enforcing the soft limits
    # - "hard" for enforcing hard limits
    #<item> can be one of the following:
    # - core - limits the core file size (KB)
    # - data - max data size (KB)
    # - fsize - maximum filesize (KB)
    # - memlock - max locked-in-memory address space (KB)
    # - nofile - max number of open files
    # - rss - max resident set size (KB)
    # - stack - max stack size (KB)
    # - cpu - max CPU time (MIN)
    # - nproc - max number of processes
    # - as - address space limit (KB)
    # - maxlogins - max number of logins for this user
    # - maxsyslogins - max number of logins on the system
    # - priority - the priority to run user process with
    # - locks - max number of file locks the user can hold
    # - sigpending - max number of pending signals
    # - msgqueue - max memory used by POSIX message queues (bytes)
    # - nice - max nice priority allowed to raise to values: [-20, 19]
    # - rtprio - max realtime priority
    #<domain> <type> <item> <value>
    #* soft core 0
    #* hard rss 10000
    #@student hard nproc 20
    #@faculty soft nproc 20
    #@faculty hard nproc 50
    #ftp hard nproc 0
    #@student - maxlogins 4
    * - rtprio 0
    * - nice 0
    @audio - rtprio 65
    @audio - nice -10
    @audio - memlock unlimited
    jackd 0.121.3
    There are the snaps for QJackCtl
    Also, checkout this stuff that i've recorded with audacity, only from the line and nothing else
    http://ompldr.org/vZ3A2eg
    Thanks!
    Last edited by iamgabo (2012-12-15 02:21:08)

Maybe you are looking for

  • Problem in DSO activation - Unicode characters

    Hi all, I am loading data to a DSO from a 02 extractor. I have the transformation in which i have a field routine for product description, which basically converts lower case to upper case, as the product description characteristic in the target acce

  • Can i see my mac on the apple tv?

    i am new to mac and apple tv.  I there a way i can see my mac through apple tv.  I am not talking about itune but more about the regular desktop?

  • Not able to run forms 10 g on windows vista

    Hi Folks, I'm trying to run forms10g (10.1.2.0.2), connecting to Oracle DB 10g (10.2.1.0) under windows vista. When i'm trying to run a form, suddenly browser is stopped working. Can anybody help ? Thanks in advance regards Sri

  • Wireless Problems with my Macbook Pro

    I recently bought an Apple Macbook Pro, and I have been experiencing wireless connection issues. I have a D-Link DIR 655, and it is running in the mixed mode (wireless n and wireless g). The problem that I am experiencing is that my Macbook Pro loses

  • How do I uninstall Quick Time Player 10 from a Mac

    I cannot find an article that explains how to uninstall Quick Time Player, version 10, from my Mac Snow Leopard.  I need to install Quick Time 7 in order to install Quick Time Pro 7.  Just moving the program to the Trash did not help. Thanks.