Resource limit
i want to set the limits for cpu_per_session and cpu_per_call in profile.
how much should i need to set the values for the above two resources so that it's not too low or too high.
suggestions from experts are appreciated...
thankx....
Hi,
Well, on the documentation:
Before creating profiles and setting the resource limits associated with them, determine appropriate values for each resource limit. You can base these values on the type of operations a typical user performs. Usually, the best way to determine the appropriate resource limit values for a given user profile is to gather historical information about each type of resource usage. You can gather statistics for other limits using the Monitor feature of Oracle Enterprise Manager (or SQL*Plus), specifically the Statistics monitor.
For more information, you can take a look on this link below:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2740
Cheers
Similar Messages
-
PI 7.11 - SXI_CACHE Issue - SQL 0904 - Resource Limit Exceeded
Hi PI & IBM I Gurus,
We are having the SXI_CACHE issue in our PI 7.11 SPS04 system. When we try to do the delta cache refresh through SXI_CACHE, it is returning the error SQL 0904 - Resource limit exceeded. When we try to do the full cache refresh, it is getting the issue 'Application issue during request processing'.
We have cleaned up the SQL Packages with DLTR3PKG command, which did not resolve the issue. We recently performed a system copy to build the QA instance and I observed that the adapter engine cache for the development is presented in the QA instance and removed that cache from there.
I am not seeing the adapter engine connection data cache in our PI system. The adapter engine cache is working fine.
All the caches are working fine from the PI Administration page. The cache connectivity test is failing with the same error as I mentioned for the SXI_CACHE.
Please let me know if you have encountered any issue like this on IBM I 6.1 Platform.
Your help is highly appreciated.
Thanks
KalyanHi Kalyan,
SQL0904 has different reason codes ...
Which one are you seeing ?
Is the SQL pack really at its boundary of 1GB ?
... otherwise, it is perhaps a totally different issue ... then DLTR3PKG cannot help at all ...
If you should see this big SQL Package, you should use PRTSQLINF in order to see if there is more or less over and over the same SQL in, just with different host variables or so ...
If the last point should be the case, I would open a message with BC-DB-DB4 so that they can check how to help here or to talk to the application people to behave a bit different ...
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de -
PI 7.11 - SXI_CACHE Issue - SQL0904 - Resource limit exceeded
Hi IBM I Gurus,
We are having the SXI_CACHE issue in our PI 7.11 SPS04 system. When we try to do the delta cache refresh through SXI_CACHE, it is returning the error SQL 0904 - Resource limit exceeded. When we try to do the full cache refresh, it is getting the issue 'Application issue during request processing'.
We have cleaned up the SQL Packages with DLTR3PKG command, which did not resolve the issue. We recently performed a system copy to build the QA instance and I observed that the adapter engine cache for the development is presented in the QA instance and removed that cache from there.
I am not seeing the adapter engine connection data cache in our PI system. The adapter engine cache is working fine.
All the caches are working fine from the PI Administration page. The cache connectivity test is failing with the same error as I mentioned for the SXI_CACHE.
Please let me know if you have encountered any issue like this on IBM I 6.1 Platform.
Your help is highly appreciated.
Thanks
KalyanHi Kalyan,
SQL0904 has different reason codes ...
Which one are you seeing ?
Is the SQL pack really at its boundary of 1GB ?
... otherwise, it is perhaps a totally different issue ... then DLTR3PKG cannot help at all ...
If you should see this big SQL Package, you should use PRTSQLINF in order to see if there is more or less over and over the same SQL in, just with different host variables or so ...
If the last point should be the case, I would open a message with BC-DB-DB4 so that they can check how to help here or to talk to the application people to behave a bit different ...
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de -
Hello All,
We are getting below runtime errors
Runtime Errors DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Short text
SQL error in the database when accessing a table.
What can you do?
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
How to correct the error
Database error text........: "Resource limit exceeded. MSGID= Job=753531/IBPADM/WP05""
Internal call code.........: "[RSQL/OPEN/PRPS ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPLCATL2" or "LCATL2U17"
"CATS_SELECT_PRPS"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "SAPIBP0"
Network address...... "3.14.226.140"
Operating system..... "OS400"
Release.............. "7.1"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 5
Shortdump setting.... "full"
Database server... "SAPIBP0"
Database type..... "DB400"
Database name..... "IBP"
Database user ID.. "R3IBPDATA"
Terminal................. "KRSNBRB032"
Char.set.... "C"
SAP kernel....... 721
created (date)... "May 15 2013 01:29:20"
create on........ "AIX 1 6 00CFADC14C00 (IBM i with OS400)"
Database version. "DB4_71"
Patch level. 118
Patch text.. " "
Database............. "V7R1"
SAP database version. 721
Operating system..... "OS400 1 7"
Memory consumption
Roll.... 0
EM...... 12569376
Heap.... 0
Page.... 2351104
MM Used. 5210400
MM Free. 3166288
Information on where terminated
Termination occurred in the ABAP program "SAPLCATL2" - in "CATS_SELECT_PRPS".
The main program was "CATSSHOW ".
In the source code you have the termination point in line 67
of the (Include) program "LCATL2U17".
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
procedure "CATS_SELECT_PRPS" "(FUNCTION)", but it was neither handled locally
nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLCATL2 "; its source code begins in line
1 of the (Include program "LCATL2U17 ".
The exception must either be prevented, caught within proedure
"CATS_SELECT_PRPS" "(FUNCTION)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
To prevent the exception, note the following:
SM21: Log
Database error -904 at PRE access to table PRPS
> Resource limit exceeded. MSGID= Job=871896/VGPADM/WP05
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
Please help
Regards,
UshaHi Usha
Could you check this SAP Notes
1930962 - IBM i: Size restriction of database tables
1966949 - IBM i: Runtime error DBIF_DSQL2_SQL_ERROR in RSDB4UPD
BR
SS -
I have the ipad 4g and it is displaying the message "resource limit reached" only had it for two days
Are restrictions turned on? I suspect the "resource limit" is something that is set there.
Settings > General > Restrictions -
Error 1074388947 at CAN Open Object, Exceed resource limit
Dear All,
Basically, I'm listening to 5 frames from NI-CAN, and I can't listen to the sixth...
To be more precise, I'm listening to STAT1, STAT2, EXT1, EXT2 and I'm sending commands to CMD.
When I try to add a "hearing" on the BITE frame, I obtain the error:
"1074388947 occured at NI-CAN Open Object (ncOpen.vi)
NI-CAN: Exceeded resource limit for queues in shared memory between firmware/driver. The ncReadmult function is not allowed. Solutions: Decrease queue lengths in objects; Set read queue length to at least 2; Decrease number of CAN Objects."
I can't see any significative parameter to change...
I'm doing a ncConfigCANNET + ncOpen + ncSetAttr, then for each frames: ncConfigCANObj + ncOpen + ncSetAttr + ncCreateOccur.
That's when I'm adding the sixth frame's part, I get the error at the output of the ncOpen.
Does someone knows what's happening ?
Thanks for any help you could give me, even if it's just a thought... Thanks in advance ! I'm quite desperate actually...
LaurentHi,
This is a KB wich could help.
http://digital.ni.com/public.nsf/allkb/CC36BA1DD421EC23862569060054F6E2?OpenDocument
.NIDays2008 {font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #065fa3; font-weight: bold; text-decoration: none; text-align: right;} .NIDays2008 a, a:hover {text-decoration: none;} .NIDays2008 a img {height: 0; width: 0; border-width: 0;} .NIDays2008 a:hover img {position: absolute; height: 90px; width: 728px; margin-left: -728px; margin-top:-12px;}
>> Avez-vous entendu parler de NI Days ? -
Hi ,
We are using FAST search in our SharePoint 2010 environment. I am encountering an issue while navigating to 21st page or Query string value 200 and above (
URL -> /Pages/results.aspx?k=1&s=All&start1=201
) in search core result web part. The error message is UI is "
The search request was unable to execute on FAST Search Server".
I have found the below log in the ULS .
SearchServiceApplication::Execute--Exception: Microsoft.Office.Server.Search.Query.FASTSearchQueryException: Unable to complete query on backend Resource limit temporarily
exceeded Code: 1013
at Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.GetQueryResult(IQuery query)
at Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.ExecuteSearch(SearchRequest request, String queryString)
at Microsoft.Office.Server.Search.Query.Gateway.AbstractSearchGateway.Search(SearchRequest request)
at Microsoft.Office.Server.Search.Query.FASTQueryInternal.ExecuteSearch(SearchRequest request, ResultTableCollection rtc)
at Microsoft.Office.Server.Search.Query.FASTQueryInternal.Execute(QueryProperties properties)
at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties)
Please share your thoughts or advise if some has come across this issue. Thanks!Hi ,
We are using FAST search in our SharePoint 2010 environment. I am encountering an issue while navigating to 21st page or Query string value 200 and above (
URL -> /Pages/results.aspx?k=1&s=All&start1=201
) in search core result web part. The error message is UI is "
The search request was unable to execute on FAST Search Server".
I have found the below log in the ULS .
SearchServiceApplication::Execute--Exception: Microsoft.Office.Server.Search.Query.FASTSearchQueryException: Unable to complete query on backend Resource limit temporarily
exceeded Code: 1013
at Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.GetQueryResult(IQuery query)
at Microsoft.Office.Server.Search.Query.Gateway.FastSearchGateway.ExecuteSearch(SearchRequest request, String queryString)
at Microsoft.Office.Server.Search.Query.Gateway.AbstractSearchGateway.Search(SearchRequest request)
at Microsoft.Office.Server.Search.Query.FASTQueryInternal.ExecuteSearch(SearchRequest request, ResultTableCollection rtc)
at Microsoft.Office.Server.Search.Query.FASTQueryInternal.Execute(QueryProperties properties)
at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties)
Please share your thoughts or advise if some has come across this issue. Thanks! -
ERROR 5133 - Resource Limit at slapd start
Following a disordely shutdown (reset) of the server, we get the following message in the error log of directory server.
Message:
"[15/Nov/2004:08:49:22 -0500] - ERROR<5133> - Resource Limit - conn=-1 op=-1 msgI
d=-1 - Memory allocation error cannot calloc 0 bytes; trying to allocate 0 or a negative number of bytes is not portable and gives different results on different platforms. Please check the code and change it to avoid the attempt to allocate 0 bytes."
- fsck (ok)
- the config server on the same server is ok
- Solaris 2.9 SunOne 5.2 directory
- no custom plugin
- we have reload the database (ok) from an ldif
Has anybody encounter this error? Any sugestions on how to restore the service.Thank you, your were absolutely right !
Looking at the logs folder we saw that the access.rotationinfo was corrupted. By removing that file (not all) the service started OK
As my first visit to this forum this realy makes my day. -
Is any solution to [SQL0904] Resource limit exceeded.
I got the below error while connecting with DB2
java.sql.SQLException: [SQL0904] Resource limit exceeded.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:650)
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:621)
at com.ibm.as400.access.AS400JDBCStatement.commonPrepare(AS400JDBCStatement.java:1506)
at com.ibm.as400.access.AS400JDBCPreparedStatement.<init>(AS400JDBCPreparedStatement.java:185)
at com.ibm.as400.access.AS400JDBCConnection.prepareStatement(AS400JDBCConnection.java:1903)
at com.ibm.as400.access.AS400JDBCConnection.prepareStatement(AS400JDBCConnection.java:1726)
at com.dst.hps.mhsbenefits.DBLoader.getMappingCount(DBLoader.java:1135)
at com.dst.hps.mhsbenefits.DBLoader.countAllItems(DBLoader.java:772)
at com.dst.hps.mhsbenefits.DBLoader.doLoadWorker(DBLoader.java:432)
at com.dst.hps.mhsbenefits.DBLoader.access$1(DBLoader.java:357)
at com.dst.hps.mhsbenefits.DBLoader$1.run(DBLoader.java:2996)
Database connection closed.
Is there any solution from java programming side to resolve this issue.Check your code to make sure that you're closing your Connections, Statements, and ResultSets properly. My guess is that you are not, so your application has exhausted these scarce resources.
If you don't know what "closing properly" looks like, here's a decent link:
http://sdnshare.sun.com/view.jsp?id=538
This class does it right:
package jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class ConnectionTester
private static final String DEFAULT_DRIVER = "oracle.jdbc.OracleDriver";
private static final String DEFAULT_URL = "jdbc:oracle:thin:@host:1521:SID";
private static final String DEFAULT_USERNAME = "username";
private static final String DEFAULT_PASSWORD = "password";
public static void main(String[] args)
String sql = ((args.length > 0) ? args[0] : "");
String driver = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
String url = ((args.length > 2) ? args[2] : DEFAULT_URL);
String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
Connection connection = null;
try
connection = connect(driver, url, username, password);
if (!"".equals(sql.trim()))
List result = executeQuery(connection, sql);
for (int i = 0; i < result.size(); i++)
Object o = result.get(i);
System.out.println(o);
else
System.out.println("sql cannot be blank");
catch (ClassNotFoundException e)
e.printStackTrace();
catch (SQLException e)
e.printStackTrace();
finally
close(connection);
public static Connection connect(String driver, String url, String username, String password) throws ClassNotFoundException, SQLException
Class.forName(driver);
return DriverManager.getConnection(url, username, password);
public static void close(Connection connection)
try
if (connection != null)
connection.close();
catch (SQLException e)
e.printStackTrace();
public static void close(Statement statement)
try
if (statement != null)
statement.close();
catch (SQLException e)
e.printStackTrace();
public static void close(ResultSet resultSet)
try
if (resultSet != null)
resultSet.close();
catch (SQLException e)
e.printStackTrace();
public static void rollback(Connection connection)
try
if (connection != null)
connection.rollback();
catch (SQLException e)
e.printStackTrace();
public static List executeQuery(Connection connection, String sql) throws SQLException
List result = new ArrayList();
Statement statement = null;
ResultSet resultSet = null;
try
statement = connection.createStatement();
resultSet = statement.executeQuery(sql);
ResultSetMetaData metaData = resultSet.getMetaData();
int numColumns = metaData.getColumnCount();
while (resultSet.next())
Map row = new LinkedHashMap();
for (int i = 0; i < numColumns; ++i)
String columnName = metaData.getColumnName(i+1);
row.put(columnName, resultSet.getObject(i+1));
result.add(row);
finally
close(resultSet);
close(statement);
return result;
}% -
Change 'Soft Resource Limit file descriptor' value
Hi,
How do I change 'Soft Resource Limit file descriptor; value in Solaris 10
Is there any conditions to change this?
Ashraf.There are 2 values. The default and the maximum.
It starts at the default and can be increased up the maximum.
If you want change the value persistently and machine wide, you can put a config option
in /etc/system. Something like
set rlim_fd_cur = 8129
set rlim_fd_max = 8129
If you want to do it for your account only then, just put those lines into your profile.
But you'll still be only able to increase it up to the max.
The max can only be increased by root or in /etc/system. -
hail all
our company use oracle database 10hr2 and oracle 6i as application server
in the default profile i put some limites
like
LIMIT IDLE_TIME 60
thats mean any inactive session for 60min will be killed automatic
but the problem when user work in the system and any screen reach the limited time
when user come bake to the killed session and try to do any thing system closed not the session only
anu ideasaid ahmed wrote:
hail all
our company use oracle database 10hr2 and oracle 6i as application server
in the default profile i put some limites
like
LIMIT IDLE_TIME 60
thats mean any inactive session for 60min will be killed automatic IDLE_TIME Specify the permitted periods of continuous inactive time during a session, expressed in minutes.
Later it is no more able to execute in the same session.
but the problem when user work in the system and any screen reach the limited time
when user come bake to the killed session and try to do any thing system closed not the session only
anu idea
I think you are not sure about exact idle time of that user. It might already reached. -
Where dose the "resource limit" come from?
hello everybody!
i am new here!
i've recently read about the document of fp11(beta). The difference between the beta and alpha version in the document confused me a lot.
In the Context3D item, the beta version list the resouce limit of all the buffers:
And the alpha one said "The maximum number of vertices in a single buffer is 65535." & "The maximum number of 32 bit data per vertex is 64 (or 256 bytes)."
So we can calculate the max size of a vertex buffer,that is 65535 X 256 = 16 776 960 bytes.
Acording to the beta version document, there are 4096 vertex buffers allowed, if each of the vertex size is maximum, the total memory is obviously out of the limit 256MB.
My question is how the total memeory 256MB(vertex buffers) and the 4096 number allowed are derived. Or are they just the limit decided by molehill instead of being derived.If a car has a payload of 500kg and has seats for 4 persons, and there are 4 persons with 150kg each, they are not allowed to use it at the same time. But, for example, 3 of them are allowed, also 2 people with 200 or 4 people with 100kg each.
Both limits have their justification.
"max. number of X" are addressing limits, 256MB is a memory limit. All derived from the lowest target system I guess. -
Is there way to limit / throttle resources (time/data size) for a Query?
Hello Gurus,
Is there way in SAP BI to limit the resources consumed by a query for a group of users.
Specifically, I want to be able to say that queries generated by users
Will be stopped if they exceed more than 5 minutes of run time
Will be stopped if they return more than 500,000 recoreds
Regards,
ShahHello,
you can restrict the dialog runtime with the parameter
rdisp/max_wprun_time
This will affect all dialog processes and is not user specific, so setting it to 5 minutes is probably not feasible.
The result set of a query can be restricted with the safety belt (see note 1127156), but again the setting is not user specific.
Another possibility is to restrict the memory per session (parameter ztta/roll_extension etc.), but again this is a global parameter.
As far as I know there is no way to have a resource limit for some users but not for others. Your best possibilty is to restrict the access to the 'dangerous' queries.
ztta/roll_extension and rdisp/max_wprun_time can be different on different servers, so it might be possible to set them to small values on one server and force the users on this server. This could be difficult if webreporting is used and it is also important that no other processes are running on this server as they might fail due to the restrictive settings.
Best regards,
Ralf -
Cisco ASA xlate limit resource
Hi!
I have the problem with resource limitation on Cisco ASA.
I want to set the limit for xlates as a percentage, not as an absolute value. But I can't do it.
As I can see the output of command syntax, then this feature should be maintained:
ASA(config-class)# limit-resource xlates ?
class mode commands/options:
WORD Value of resource limit (in <value> or <value>%)
But I'm getting error when try to set value in %:
ASA(config-class)# limit-resource xlates 50%
ERROR: Capacity unknown for this resource type
ASA(config-class)# limit-resource xlates 50.00%
ERROR: Capacity unknown for this resource type
Is it possible to limit xlates as a percentage?
What should I do to set this value as limit of default xlate?
Thanks in advanceHi Igor,
The percentage can only be used for resources which have a hardcoded system limit. For resources that do not have a system limit, you cannot set the percentage (%); you can only set an absolute value.
The xlates can be created upon how much memory you have, you might be able to see the option for it, but it is only for resources, which have a definite number.
Thanks,
Varun -
System error: resource shortage nsslapd-groupevalsize limit
Hello there,
We see the following error message...
[16/Nov/2012:10:46:12 -0500] - ERROR<34848> - Resource Limit - conn=-1 op=-1 msgId=-1 - System error: resource shortage nsslapd-groupevalsize limit (5000) reached while evaluating group cn=group1,ou=Groups,o=company.com .
I see this above error message quite often and high etime for other operations as well.
Any idea what is the error?
DS version: 11.1.1.5.1 on SLES
Thanks!Hi,
See the below links
http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
Intermittant Jco connection error
SAP XI: Error in Log Viewer JCO_ERROR_FUNCTION_NOT_FOUND
JCO Connection Pool ERROR- Urgent
See the SAP Note 831162 for increasing the no of connection.
Regards
Chilla
Maybe you are looking for
-
sSafari shortcut is not showing on my IPad since I did iOS 8.1.3 update. I can't find Safari in App Store or my settings to get it back on my screen. How can I get my Safari icon back?
-
Hi, I have an ASA firewall with three interfaces, inside, outside and Link. I have a situation where I need the ASA to perform the following nat rules: from "Inside" to "Link" - any source to destination 192.168.51.0/24 - translate source to 10.0.0.1
-
Compare two pdfs in javascript.
Hi Friends, I am using the following code to open two pdfs and call "Compare documents" menu item after. But it is not working out.kindly help me with the correct code. All replies are appreciated. function comparePdf() { var previouDoc = app.openD
-
Usage of deleted material master code
Hello, I have one query related to material masters (MM01, MM02). A material is marked for deletion using T-code MM06 some time back. Now due to some reason this material is required to manufacture a batch. So can u please tell me - How to unblock th
-
Numbering in Pages on iPad will not continue
Numbering on iPad continues automatically when hitting return, but when I leave a space after the numbering and then use numbering again, it does not continue from the previous number. Is there anywhere/way to continue numbering like there is in Page