Sysctl VM settings spontaneously return to their default values

I am pretty clueless about this issue.
In my workstation's /etc/sysctl.conf I have the following variables:
vm.dirty_writeback_centisecs = 1500
vm.laptop_mode = 5
which are set correctly (according to /proc/sys/vm/* files) on boot. However, after some uptime (usually several days) and moderate swap activity the above settings return to their defaults, namely 500 and 0. I have to login as root and run sysctl -p, but later the situation repeats itself...
Any ideas as to why this happens are greatly appreciated.

Would it be possible or practical for you to use the method I described over here?
https://social.technet.microsoft.com/Forums/en-US/52aebe59-80c9-4aac-8911-5f737e848111/unattendxml-settings-contained-within-a-revised-image?forum=mdt
If this post is helpful please vote it as Helpful or click Mark for answer.

Similar Messages

  • I can not change setting of history in privacy tab page of options. after i click ok , they return to their default!

    in option , privacy page , when i choose history setting to "use special setting" and click ok , next time when i open options i see they are returned to their default automatically " always remember history". it was good at beginning , but i dont know why it changes like this!

    You already may have set all choices to their default values.
    The "Use custom settings for history" setting allows to see the current history and cookie settings, but selecting that setting doesn't make changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" selection as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />
    If you do not keep changes after a restart then see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • The global variable panel has a menu item under OPERATE called REINITIALI​ZE ALL TO DEFAULT. How can all global variables be reinitiali​zed at to their default values at program startup?

    Each time I restart my application, I would like all global variables to be reset to their default values without having to reset each one individually. Can I do this? If so, how?

    Sure you can do it. Enclosed is a VI which checks all VIs in memory and reinitializes any that are of type Global VI.
    Attachments:
    Reinit_Globals.vi ‏22 KB

  • Array elements keep returning to their initial value after being replaced

    Hello,
    This is my first post here, but this looks like a great place to discuss labview.
    I have a strange problem that probably has a simple answer.
    Basically, I have initialized an array outside of a "for loop" that contains a "flat sequence structure."  I use the array inside the flat seq structure, replacing elements within the array, incrementaly by 1 starting with index 0, so i have run a wire through the "for loop" barrier and then through the "flat seq structure box".
    However when I step through my VI what happens is this.
    On the first run through, it succesfully changes the element at index 0.  On the next iteration it succesfully replaces the element at index 1, however, now index 0 has returned to its initial value!   .... This continues.... say im up to my 100th iteration, all the previous indexes have all returned to their initialized value but index 99 (its the 100th iteration) now has the value it should...however on the next iteration, index 99 will return to its initialized value.... its a vicious cycle..
    Can anybody tell me what I've screwed up?
    Thanks a Million,
    Nick

    Are you using a shift register on your loop or a tunnel?  If you are using a tunnel, then the orginal value is always passed into the loop.  If you use a shift register, then each iteration of the loop has the value passed in the last iteration of the loop.  I'm not at work, so can't setup a perfect example, but this is from an example I showed someone else.  The first two examples I show here are using shift registers and a 2-D array.  The second example uses an element only available in later versions of LV, but is supposed to be more efficient memory wise.

  • Dynamic List of Checkboxes and their Default Values

    Hello,
    I have spent more than five hours feebly attempting to figure out how to make a dynamic list of checkboxes (using an LOV) adhere to the values in the database which those checkboxes represent. The LOV itself works; I can get a nice list of checkboxes with the appropriate names, but I can't get HTML DB to check the boxes that have a value of 'Y' in the database. The code for my LOV follows:
    SELECT mesg_name n, mesg_id r
    FROM notifications
    WHERE mesg_id = (SELECT mesg_id
                      FROM subscriptions
                      WHERE upper(network_id) = upper(:APP_USER))Since this is a dynamic list of checkboxes, I obviously cannot use the "Label" property to set the labels of each checkbox. That is what n is in the query above. r is the unique ID of the message (a varchar2) that I will need to pass back to the program after the page is submitted by the user for processing. I cannot take up the value field of the checkbox with a "Y" or something as equally vague. The ID of the subscription that the user is subscribing to or unsubscribing to must be passed back to the program so the appropriate modifications to the database table can be made.
    I would most appreciate it if anyone could lend assistance.
    Thank you,
    Marc Weil

    Marc,
    I think I see what you're trying to do. You'll have to separate process that renders the LOV as a series of check boxes from the process that sets the checked values for each user.
    Before the LOV is rendered on a page, make sure you set the session state value of the LOV item to a colon separated set of IDs based on your query:
    SELECT mesg_id
    FROM subscriptions
    WHERE upper(network_id) = upper(:APP_USER)
    If you have trouble, let me know, I'll try to come up with an example.
    Sergio

  • JDBC returning default values !! Help Required

    There are certain fields in a particular table which are of type integer and these fields in teh database have a value of null ( database null)
    Even, When I try to retreive the value of the field using getString method of the ResultSet, the value returned is the default value (0) , is there any way to get the
    actual value ( null) ? . Is there any way to avoid getting the default values ?
    Regards,
    Harsha

    You meant getInt(), not getString(), right?
    The getInt() method has to return an int, and since that isn't an object, Java doesn't have the concept of "null" for it. So what you do is, after you call getInt() on the ResultSet, you call wasNull() and that returns true if the zero was really a null.

  • Svg charts - size and default value

    is there any way to make svg chart size smaller? i want to fit 6 graphs onto a page and even with the 350x315 setting, they are still too big
    also, when i have a query like this:
    select null, c.nodes, count (*)
    from customers c, country_region_mapping m
    where system_status='Production'
    and c.country = m.country
    and decode(:P4_REGION, '%', 1, m.region, 1, 0)=1
    and decode(:P4_COUNTRY, '%', 1, m.country, 1, 0) =1
    and decode(:P4_INDUSTRY, '%', 1, c.industry, 1, 0) =1
    group by nodes
    the page initially comes up empty. in other words, the charts have no data.
    is there anyway to default to all

    i'm currently checking on your question about the chart sizes, but the second part of your question sounds easy enough. it looks like your query will return all the rows "from customers c, country_region_mapping m where system_status='Production' and c.country = m.country" when the default values of :P4_REGION, :P4_COUNTRY, and :P4_INDUSTRY are '%'. if that's how you're going about things, you can simply set your defaults for these items to the percent sign in those items' respective definition screens. this way, even before your items get a session state value, they'll be assigned their default "%" values and your query will return rows.
    i'll get back to you soonish re the svg chart sizes,
    raj

  • Static Parameters - Default Values Not Showing On Crystal Server

    First, I create a basic report with static parameters.  Then I assign default values to the parameters.  When I run the report in the Crystal Developer, a window pops up and I see my parameters with the default values assigned.  At this point, if I run the report, it runs as expected and uses the default parameter values.
    However... if I install this same report on the Crystal Server, select 'Properties' > 'Default Settings' > 'Parameters', I see my parameters but I don't see their default values, yet if I select 'View', then a window pops up and I see my parameters and their default values.
    I guess I have the following questions:
    1. What's the difference between 'Viewing' and 'Running' a report on the Crystal Server?
    2. Why don't I see the parameter default values when I select 'Properties' > 'Default Settings' > 'Parameters' in the Crystal Server?
    I see the same behavior whether I use CR Developer XI or 2008.  The reports are being run on Crystal Server 2008.

    Hi,
    There are two modes of saving a report. 1 save your report with data (to do this go in File-- Save Report with Data check this option) 2. Save your report without data (uncheck the above said option)
    I think you are saving your report without saving the data with your report.  Try to save the report with saved data this will keep your parameter default values.
    Viewing is just looking at your report data which was saved along with your report.  'Running' is nothing but you are refreshing your report which will give you current data.
    Thanks,
    Sastry

  • How-To populate SELECT LIST default value from SQL Query

    OK, I've done my homework, and did not find my answer in the Forum, so here it is.
    I have a Page that displays fields from a SQL Query. The Page also has below that radiogroups, checkboxes, and Select Lists to allow the user to change values in the fields that are displayed at the top of the Region. I am able to pre-populate the radiogroups and checkboxes by performing a SELECT in the 'Source value or expression' of the Source area of the Page Item.
    However, I am unable to do the same for the Select List fields. Their default value ends up being the first value in the LOV ('-- None --' for NULL values). Source Used: Only when current value in session state is null. Source Type: SQL Query. Also, when I first go into the Page when running it, and check the Session State values, they are all null, so I don't understand why the field is not populated by the SQL Query statement as the radiogroups and checkboxes are.
    Any suggestions??? I've tried all sorts of combinations.

    Thank you for the suggestion.
    I had considered that, but cannot do so, because we are using Oracle Application Express more for development than for data containment.
    We have all our data in an Oracle 10.g DB which is separate from the OAEX server, and the OAEX app will reference that data via VIEWs and DB LINKs. We are doing so primarily as an added data security layer, where the data is housed separate from the app, in case the Web site is ever compromised. The data that can be viewed is restricted to a subset of the actual data that is available.
    Since the data is on a separate server, (I assume) we will not be able to set the source type to Database column, because (I asume) that is dependent upon the data being housed by the OAEX server.
    That still leaves me with having to populate the field with a SELECT statement from the Oracle DB. This unfortuneately is almost a show-stopper for me because of down-stream processing data requirements. Have not been able to come up with contingencies yet.

  • Javascript to access a field default value?

    Hi,
    I'm working on a 'enter' event for text fields such that if the field contents are still on their default value, it will immediate (hence the enter) clear out, but if the contents have already been changed it will let the user simply edit their changes.
    For example, I'm using the caption as the To: line on a form, then the default value of the text field says "type name here". I'd like to compare the field contents to the default upon 'enter' of the field.
    Got this far:
    if (this.rawValue == {default}) {
    this.rawValue = "";}
    and it aint working. the {default} is the only thing I can find in the scripting reference that comes close. Maybe there's a way with xfa.event.reenter??
    thanks.

    Paul, maybe I'm misreading the docs on event.reenter, but it looked like it was a flag about whether or not the user had ever entered that field before. Which is exactly what I'm hoping to test.
    I have about 100 of these fields, so am hoping to do a simple if test, with 'relative' statements. Testing against the known default value certainly would work, but I have to write the 100 custom tests, rather than copy/paste the same thing into each field...
    Do you know a way to access the value stored in the Default field in the properties tab?
    thanks,
    -jamie

  • Default Value Type

    Hi! All,
    I'am using Oracle portal
    In the form wizard there is an option for using 'defalt value' for any text fiels along with 'defult value type'. I want to know how effectively I can use sql query function written by me or any sql query .And from where can I get the details about this.
    till now I can only used #sysdate in the default value.Also what # denotes.
    Please do help me
    Thakns in advance.
    Regards
    Anil Rath

    Try these:
    1)Default Value = select schema_name.your_function from dual
    Default Value Type = Expression that returns Date
    2)Default Value = select sysdate from dual
    Default Value Type = Expression that returns Date
    3) #Sysdate
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Swati Kale ( ):
    do you mean to say that, if my function name is returnDate and the owner of the function is xyz.
    Then in defualt value,I shd give,
    xyz.returnDate
    and in Default value type,I shd select
    Function returns date.
    advise<HR></BLOCKQUOTE>
    null

  • How to get column default value define on table?

    Hi,
    I am trying to get a table column default value with no success. I am using the Oracle Data Provider for .NET 10g Release 2 (10.2.0.2)
    1). OracleConnection.GetSchema( "Columns", New System.String() {"<Owner>", "<Table_Name>"} returns everything BUT default value.
    2). I tried querying oracle directly (sample below) but the default value comes back blank even though the column has one defined.
    Dim oracleConnection As Oracle.DataAccess.Client.OracleConnection = factory.CreateConnection
    Dim oracleCommand As New Oracle.DataAccess.Client.OracleCommand( _
    "SELECT data_default FROM DBA_TAB_COLUMNS WHERE OWNER = 'TEST_SCHEMA' AND UPPER( TABLE_NAME ) = 'TEST' AND UPPER(COLUMN_NAM) = 'TESTCOL'")
    oracleConnection.Open()
    oracleCommand.Connection = oracleConnection
    Dim oracleReader As Oracle.DataAccess.Client.OracleDataReader = oracleCommand.ExecuteReader
    oracleReader.GetValue(0) 'This will return blank rather than default value for the column.
    oracleReader.Read()
    oracleReader.Close()
    oracleConnection.Close()
    Any help would be appreciated.
    Thanks,
    Rob Panosh
    Advanced Software Designs

    Hi Rob,
    I just ran up a quick test and I can't duplicate the behavior you describe.
    I created a simple table as "scott":
    SQL> create table def_test(c varchar2(32) default 'hello, world');
    Table created.In my simple test I used the following C# code:
    NOTE: There is an error in this code if using ODP.NET (see my post below for details on this)
    using System;
    using System.Data;
    using System.Data.OracleClient;
    class Program
      static void Main(string[] args)
        string constr = "user id=scott;" +
                        "password=tiger;" +
                        "data source=orademo;" +
                        "pooling=false;" +
                        "enlist=false";
        OracleConnection con = new OracleConnection(constr);
        con.Open();
        OracleCommand cmd = con.CreateCommand();
        cmd.CommandText = "select   data_default " +
                          "from     all_tab_columns " +
                          "where    owner='SCOTT' " +
                          "and      table_name='DEF_TEST' " +
                          "and      column_name='C'";
        OracleDataReader dr = cmd.ExecuteReader();
        dr.Read();
        string defaultValue = (string) dr.GetValue(0);
        Console.WriteLine("Default value is: {0}", defaultValue);
        dr.Dispose();
        cmd.Dispose();
        con.Dispose();
    }Since the GetValue method returns an "object" I cast the value to a string and got the correct result.
    However, I don't have a 10.2 ODP.NET environment right now so I was using 11.1 for this.
    In your real code I suspect that you assign "oracleReader.GetValue(0)" to something - when you say "blank" do you mean zero length or a space or something else?
    Regards,
    Mark
    Edited by: Mark Williams on Jul 31, 2009 10:02 AM

  • How to make a numeric indicator not show 0 as default value

    I use Labview 8.0.
    I need several numeric indicators to show some calculated results, but before I get the calculation results, thoes indicator will always show "0"  as their default value. So, how can I make these indicator just be blank before I get the result that I want to display?
    Thanks!

    You can also right click the indicator and go to data operations and than click "make current value Default"
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    value.jpg ‏78 KB

  • Rich text default values not appearing in content entry template

    Hello all,
    Sorry for the repost, but no one seems to have an answer for me in the other forum and I thought I might be able to reach more people here.
    I have created a base text item and would like to include default values in some of the attributes. The problem is the default value I set in the rich text field is not appearing when I try to create an instance of my item type.
    Is this a bug, or am I not doing something right? All of my other attributes show their default values.
    Thanks in advance,
    Jim

    bug 3221058
    Patch 4021971 for 9.0.4.1
    (only available on http://metalink.oracle.com site)
    Patrick.

  • Know default values of Lexer punctuation and endjoins

    I am using Oracle Text 11.2.0.2.0. I have a CTXCAT index with prefix on.
    I am creating lexer as
    ctx_ddl.create_preference ('MY_LEXER', 'BASIC_LEXER');
    ctx_ddl.set_attribute ('MY_LEXER', 'PRINTJOINS', ',.-''()/^&"');
    in my ctxcat index.
    However if period comes at the end of a word I cannot to prefix search in it.
    select * from mytab where catsearch
    (SRCH_NM, 'b.b.*','') >0
    Is period (.) being treated as punctuation or endjoins.
    How can I know whats are the default values used for punctuations, endjoins? and how can I can so that punctuation is empty?
    Thanks.
    Have a happy holiday.

    As you suspected, the period is a default punctuation. You can view the attributes for the basic_lexer, followed by their default values here:
    http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#CIHHBAAD
    So, if you reset the attributes for punctuations for your lexer to just the question mark and exclamation point, then it works as you want, as demonstrated below. You can see the tokens that are created as a result of indexing by select the dr$token column from the dr$your_index_name$i domain index table. Bear in mind that, if you are searching for any word that is the last word in a sentence, followed by a period, you will now have to either include that period or a wildcard in your search.
    SCOTT@orcl_11gR2> create table mytab
      2    (srch_nm  varchar2 (30))
      3  /
    Table created.
    SCOTT@orcl_11gR2> insert all
      2  into mytab values ('B.B. HEMPHIL')
      3  select * from dual
      4  /
    1 row created.
    SCOTT@orcl_11gR2> begin
      2    ctx_ddl.create_preference ('MY_LEXER', 'BASIC_LEXER');
      3    ctx_ddl.set_attribute ('MY_LEXER', 'PRINTJOINS', ',.-''()/^&"');
      4    ctx_ddl.set_attribute ('MY_LEXER', 'PUNCTUATIONS', '?!');
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> create index my_index
      2  on mytab (srch_nm)
      3  indextype is ctxsys.ctxcat
      4  parameters ('lexer my_lexer')
      5  /
    Index created.
    SCOTT@orcl_11gR2> -- tokens created by indexing:
    SCOTT@orcl_11gR2> select dr$token from dr$my_index$i
      2  /
    DR$TOKEN
    B.B.
    HEMPHIL
    2 rows selected.
    SCOTT@orcl_11gR2> select * from mytab where catsearch
      2  (SRCH_NM, 'b.b.*', '') > 0
      3  /
    SRCH_NM
    B.B. HEMPHIL
    1 row selected.

Maybe you are looking for