changeset:   4641:a92300b6ad9a
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:44 2013 +0100
summary:     amf: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4642:7fcf75f71f95
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:44 2013 +0100
summary:     ckpt: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4643:f36aab6557af
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:45 2013 +0100
summary:     clm: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4644:da1a348c7123
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:46 2013 +0100
summary:     dtm: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4645:6ea2deecb13d
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:47 2013 +0100
summary:     evt: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4646:2b4a0fcd5b25
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:47 2013 +0100
summary:     imm: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4647:3782831655b3
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:48 2013 +0100
summary:     lck: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4648:20daacbf615e
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:49 2013 +0100
summary:     log: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4649:1f1036629fcf
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:49 2013 +0100
summary:     mds: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4650:c9de1b89000b
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:50 2013 +0100
summary:     msg: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4651:90fb68c56c9e
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:50 2013 +0100
summary:     nid: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4652:5950864ac8c8
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:51 2013 +0100
summary:     ntf: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4653:a496faaabd8d
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:52 2013 +0100
summary:     plm: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4654:4dbd02ccf4c7
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:52 2013 +0100
summary:     rde: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

changeset:   4655:7f468a420a3f
tag:         tip
user:        Anders Widell <anders.wid...@ericsson.com>
date:        Sun Dec 01 20:59:53 2013 +0100
summary:     base: Replace select() with osaf_poll() to avoid 1024 fd limit 
[#452]

Node ID a92300b6ad9a8bade8e9213b7870592b902793b9
Node ID 7fcf75f71f9512839f99c5120d5b175d9d06cdd5
Node ID f36aab6557afd7937399b35b59baebf230fbe18c
Node ID da1a348c7123447acca6fb479c15e0152bede7bb
Node ID 6ea2deecb13df313b94586f1500579dd3879d929
Node ID 2b4a0fcd5b256a8b165d3e661dbe6fa3fca16823
Node ID 3782831655b3cef5b700ced7e59002a87edee01e
Node ID 20daacbf615e0b0ae761400131881a1d79ae47d2
Node ID 1f1036629fcf3cfbec3526d77c96d7742b6ca1c0
Node ID c9de1b89000b16e1a281c439b9e579f3a49e5bab
Node ID 90fb68c56c9e19d172b6324099fc51b4db1c4c86
Node ID 5950864ac8c830e07e4a488250e344be2c8965fd
Node ID a496faaabd8d60f100046fb84cd9bc8848a86424
Node ID 4dbd02ccf4c7216c432309541bb9df32b78f53f6
Node ID 7f468a420a3f4cfa8b1d47a982bac1a8e41b90f7



---

** [tickets:#452] osaf: Allow us to use more than 1024 file descriptors**

**Status:** review
**Created:** Wed Jun 12, 2013 10:49 AM UTC by Anders Widell
**Last Updated:** Thu Oct 31, 2013 01:47 PM UTC
**Owner:** Anders Widell

Migrated from <http://devel.opensaf.org/ticket/695>

When I invoke saImmOmInitialize the first time, a few threads are created. At 
least two of these threads are using **select** (ncs_sel_obj_select and 
ncs_tmr_wait). This is very unfortunate as the usage of select implies a 
superflous limitation of the maximum number of open file descriptors in our 
processes. If you use **poll** in your agent libraries, you will enable us to 
use more than 1024 file descriptors.

It may be the case that there are other functions (than these mentioned above) 
that also are using select in OpenSAF agent libraries. See the stack trace from 
gdb below for details.

/Håkan
—
Håkan Mattsson, Erlang/OTP, Ericsson AB

    (gdb) thr 2
    [Switching to thread 2 (process 15689)]#0 0x00002b0d895a29a2 in select () 
from /lib64/libc.so.6
    (gdb) bt
    #0 0x00002b0d895a29a2 in select () from /lib64/libc.so.6
    #1 0x00002aaaab174a05 in ncs_sel_obj_select (highest_sel_obj={raise_obj = 
15, rmv_obj = 16}, rfds=0x420684b0, wfds=0x0, efds=0x0, timeout_in_10ms=0x0) at 
src/os_defs.c:2818
    #2 0x00002aaaab149d23 in ncs_ipc_recv_common (mbx=0x2aaaab2e2580, block=1) 
at src/sysf_ipc.c:447
    #3 0x00002aaaab149bf5 in ncs_ipc_recv (mbx=0x2aaaab2e2580) at 
src/sysf_ipc.c:394
    #4 0x00002aaaab1b736b in dta_do_evts (mbx=0x2aaaab2e2580) at dta_api.c:1260
    #5 0x00002b0d892cb143 in start_thread () from /lib64/libpthread.so.0
    #6 0x00002b0d895a8b8d in clone () from /lib64/libc.so.6
    #7 0x0000000000000000 in ?? ()
    (gdb) thr 3
    [Switching to thread 3 (process 15688)]#0 0x00002b0d895a08b6 in poll () 
from /lib64/libc.so.6
    (gdb) bt
    #0 0x00002b0d895a08b6 in poll () from /lib64/libc.so.6
    #1 0x00002aaaab17d39e in mdtm_process_recv_events () at 
src/mds_dt_tipc.c:640
    #2 0x00002b0d892cb143 in start_thread () from /lib64/libpthread.so.0
    #3 0x00002b0d895a8b8d in clone () from /lib64/libc.so.6
    #4 0x0000000000000000 in ?? ()
    (gdb) thr 4
    [Switching to thread 4 (process 15687)]#0 0x00002b0d895a29a2 in select () 
from /lib64/libc.so.6
    (gdb) bt
    #0 0x00002b0d895a29a2 in select () from /lib64/libc.so.6
    #1 0x00002aaaab14e4d6 in ncs_tmr_wait () at src/sysf_tmr.c:541
    #2 0x00002b0d892cb143 in start_thread () from /lib64/libpthread.so.0
    #3 0x00002b0d895a8b8d in clone () from /lib64/libc.so.6
    #4 0x0000000000000000 in ?? ()


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to