ocount fails with "too many open files"

Henry May <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <OF0F6DF956.4423F1C7-ON87257DAB.00762035-86257DAB.0076587B@us.ibm.com>
I'm running ocount on a P8 and getting this:

/usr/local/bin/ocount -b -e 
PM_RUN_CYC,PM_RUN_INST_CMPL,PM_DATA_FROM_L2MISS,PM_DATA_FROM_L2,PM_DATA_FROM_L3,PM_RC_LIFETIME_EXC_32,PM_RC_LIFETIME_EXC_256,PM_RC_LIFETIME_EXC_1024,PM_RC_LIFETIME_EXC_2048 
-c -s -i 1000 -f /tmp/pmu_counts.csv
Starting ocount Thu Dec 11 16:26:46 EST 2014
Process ID: 154011
perf_event_open failed with Too many open files
Caught runtime error while setting up counters
Internal Error.  Perf event setup failed.
Error running ocount

If I reduce the number of counters, it works fine.  Also, I know I was 
running this same command successfully on a different P8 (now gone)


Henry May
IBM InfoSphere Streams Performance
[email protected]
720-342-8873
Tie: 963-8873

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.