ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Do you flush ? the Linux RAM cache buffer.

    IT Discussion
    linux ram cache buffer
    7
    25
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender @JaredBusch
      last edited by

      @jaredbusch said in Do you flush ? the Linux RAM cache buffer.:

      @dashrender said in Do you flush ? the Linux RAM cache buffer.:

      @emad-r said in Do you flush ? the Linux RAM cache buffer.:

      @stacksofplates
      It really not the vendor 100% fault, our EMR manager is semi-nice looking female + expat = that what matters where I work.

      I'm also not sure how this plays into it either?

      How dense are you?

      apparently pretty.

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender @JaredBusch
        last edited by

        @jaredbusch said in Do you flush ? the Linux RAM cache buffer.:

        @dashrender said in Do you flush ? the Linux RAM cache buffer.:

        @emad-r said in Do you flush ? the Linux RAM cache buffer.:

        @stacksofplates
        It really not the vendor 100% fault, our EMR manager is semi-nice looking female + expat = that what matters where I work.

        I'm also not sure how this plays into it either?

        How dense are you?

        In reading that again - is he saying that because he's not a hot lookin' expat, that his ideas are worthless? if not, then again - I have no clue what's he's on about.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Dashrender
          last edited by

          @dashrender said in Do you flush ? the Linux RAM cache buffer.:

          @emad-r said in Do you flush ? the Linux RAM cache buffer.:

          , the linux OS is not the latest it is centos 6.7 and we can not update it (vendor specific)

          OMG - say it isn't so - you mean platforms other than Windows have this issue? I just can't believe it /sarcasm off

          The issue is the app, not the OS.

          DashrenderD 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Dashrender
            last edited by

            @dashrender said in Do you flush ? the Linux RAM cache buffer.:

            @emad-r said in Do you flush ? the Linux RAM cache buffer.:

            @stacksofplates
            It really not the vendor 100% fault, our EMR manager is semi-nice looking female + expat = that what matters where I work.

            I'm also not sure how this plays into it either?

            He's saying he works in the real world where a hot sales girl has more sway than the IT team.

            1 Reply Last reply Reply Quote 1
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by

              @scottalanmiller said in Do you flush ? the Linux RAM cache buffer.:

              @dashrender said in Do you flush ? the Linux RAM cache buffer.:

              @emad-r said in Do you flush ? the Linux RAM cache buffer.:

              , the linux OS is not the latest it is centos 6.7 and we can not update it (vendor specific)

              OMG - say it isn't so - you mean platforms other than Windows have this issue? I just can't believe it /sarcasm off

              The issue is the app, not the OS.

              Yes Scott I know... but this is generally something much more associated with Windows than other platforms. Of course this in no way implies that it never happens on other platforms...

              oh and you did see the /sarcasm off part, right?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                I never use cache dropping. Any reason you don't just reboot? I mean both are pretty awful, but if this system is critical it'd be rebooting regularly anyway. Might as well do the two together.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Dashrender
                  last edited by

                  @dashrender said in Do you flush ? the Linux RAM cache buffer.:

                  @scottalanmiller said in Do you flush ? the Linux RAM cache buffer.:

                  @dashrender said in Do you flush ? the Linux RAM cache buffer.:

                  @emad-r said in Do you flush ? the Linux RAM cache buffer.:

                  , the linux OS is not the latest it is centos 6.7 and we can not update it (vendor specific)

                  OMG - say it isn't so - you mean platforms other than Windows have this issue? I just can't believe it /sarcasm off

                  The issue is the app, not the OS.

                  Yes Scott I know... but this is generally something much more associated with Windows than other platforms. Of course this in no way implies that it never happens on other platforms...

                  oh and you did see the /sarcasm off part, right?

                  I see the sarcasm bit but don't understand it nonetheless.

                  1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1 @Emad R
                    last edited by

                    @emad-r Your flushing the kernel level block storage cache, of course there are downsides. I've not run into an issue where flushing the caches actually fixed a memory leak issue, either. All you're doing is delaying the inevitable crash.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce
                      last edited by

                      Did I understand correctly that it's a Java application? If so, how are you launching/running it? What CLI command you using?

                      Emad RE 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @travisdh1
                        last edited by

                        @travisdh1 said in Do you flush ? the Linux RAM cache buffer.:

                        @emad-r Your flushing the kernel level block storage cache, of course there are downsides. I've not run into an issue where flushing the caches actually fixed a memory leak issue, either. All you're doing is delaying the inevitable crash.

                        While impacting IO.

                        Emad RE 1 Reply Last reply Reply Quote 1
                        • Emad RE
                          Emad R @Obsolesce
                          last edited by

                          @tim_g said in Do you flush ? the Linux RAM cache buffer.:

                          Did I understand correctly that it's a Java application? If so, how are you launching/running it? What CLI command you using?

                          Oh i know they use a whole file for those arguments, ill see if i can check that and get back to you, what I can recall currently is- xms 512 and -xmx 2028

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • Emad RE
                            Emad R @scottalanmiller
                            last edited by

                            @scottalanmiller @travisdh1

                            Interesting, I can keep doing this every week or 2 weeks at time where the software is not being utilized (night time) and that will keep things going till we fix it permanently.

                            Reboot sounds smart and safe option as well, but I have noticed that the application does not automatically launch on reboots, sometimes it gets stuck and need a couple of services restarts and lib cache folder to be deleted, so I avoid reboots, especially since the web application can take up to 5 mins to start up.

                            It is good to know that flushing should not create problems.

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @Emad R
                              last edited by JaredBusch

                              @emad-r said in Do you flush ? the Linux RAM cache buffer.:

                              @scottalanmiller @travisdh1

                              Interesting, I can keep doing this every week or 2 weeks at time where the software is not being utilized (night time) and that will keep things going till we fix it permanently.

                              Reboot sounds smart and safe option as well, but I have noticed that the application does not automatically launch on reboots, sometimes it gets stuck and need a couple of services restarts and lib cache folder to be deleted, so I avoid reboots, especially since the web application can take up to 5 mins to start up.

                              It is good to know that flushing should not create problems.

                              It takes 5 minutes for the web app to load? WTF. Yeah you definitely have some issues here with the application.

                              You need to be in a mode to not worry about a reboot.

                              Write a script to check if everything came up correctly, and if not have it restart the services.

                              Have the script run every few minutes or something.

                              1 Reply Last reply Reply Quote 1
                              • ObsolesceO
                                Obsolesce @Emad R
                                last edited by

                                @emad-r said in Do you flush ? the Linux RAM cache buffer.:

                                @tim_g said in Do you flush ? the Linux RAM cache buffer.:

                                Did I understand correctly that it's a Java application? If so, how are you launching/running it? What CLI command you using?

                                Oh i know they use a whole file for those arguments, ill see if i can check that and get back to you, what I can recall currently is- xms 512 and -xmx 2028

                                Is that enough memory to start the java application? That means you are starting it with 512MB of RAM and giving it a max of 2028 MB.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post